This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #5F0A87,#910FCE,#139eDA,#FFFFFF,#910FCE,#FFFFFF,#0A8720,#FF0000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Theme : Dark WhatsApp Theme by Mew | |
| Version: 1.1.0 | |
| Author : vednoc | |
| Website: github.com/vednoc/rice | |
| Discord: https://discord.gg/sNywty5 | |
| */ | |
| :root { | |
| --dark: #272C35; | |
| --darker: #1F232A; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class E : VisualCommanderExt.IExtension | |
| { | |
| public void SetSite(EnvDTE80.DTE2 DTE_, Microsoft.VisualStudio.Shell.Package package) | |
| { | |
| DTE = DTE_; | |
| System.Windows.Application.Current.Deactivated += OnDeactivated; | |
| } | |
| public void Close() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Newtonsoft.Json; | |
| internal static class JsonExtensions { | |
| public static string ObjectToJson<T>(this T that) { | |
| return JsonConvert.SerializeObject(that); | |
| } | |
| public static T JsonToObject<T>(this string that) { | |
| return JsonConvert.DeserializeObject<T>(that); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public partial class App : Application | |
| { | |
| void App_DispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e) | |
| { | |
| MessageBox.Show(e.Exception.ToString()); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.IO.Compression; | |
| namespace Medicine.BusinessLayerLogic.Squeezing { | |
| public sealed class Zip { | |
| public void Extract(string zipPath, string extractPath) { | |
| if (IsFileLocked(new FileInfo(zipPath))) { | |
| throw new FileInUseException(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| .-. | |
| |U| | |
| _.-._| | | |
| | | | | | | |
| /| ` | | |
| | | | | |
| | | | |
| \ / | |
| | | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Delete Files="@(ReferenceCopyLocalPaths->'$(OutDir)%(DestinationSubDirectory)%(Filename)%(Extension)')" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Threading; | |
| public class EventAggregator : IEventAggregator { | |
| private readonly Dictionary<Type, List<WeakReference>> eventSubscribers = new Dictionary<Type, List<WeakReference>>(); | |
| private readonly object lockSubscriberDictionary = new object(); | |
| private void InvokeSubscriberEvent<TEventType>(TEventType eventToPublish, ISubscriber<TEventType> subscriber) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| internal class DbConnection { | |
| private readonly string cnnStr; //= "Data Source=localhost;Initial Catalog=bilmuh;Integrated Security=True"; | |
| private OleDbCommand sqlCmd; //Sql Komutu | |
| private OleDbConnection sqlCnn; //Bağlantı | |
| private OleDbDataAdapter sqlDa; | |
| public DbConnection(string cnnStrGonderilen) //Eğer bağlantı stringi farklılık gösterirse | |
| { | |
| cnnStr = cnnStrGonderilen; | |
| } |