示例#1
0
文件: Form1.cs 项目: samiy-xx/keysndr
 public Form1(KeySndrApp a)
 {
     app = a;
     InitializeComponent();
     SetupNotifyIcon();
     SetupLogging();
     SetupInterface();
     WriteWelcome();
 }
示例#2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var providers = new List<IProvider>()
            {
                new LoggingProvider()
            };
            var keysndr = new KeySndrApp(providers);
            keysndr.Run();
            Application.Run(new Form1(keysndr));
        }