예제 #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var applicationContext = new CustomApplicationContext();

            Application.Run(applicationContext);
        }
예제 #2
0
 public Settings(CustomApplicationContext Main)
 {
     InitializeComponent();
     this.Text = string.Format("Skypush {0} - Settings", System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString());
     GetSettings(ProgramSettings.Default.AreaModifiers, ProgramSettings.Default.AreaKeys, textBoxAreaKeys);
     GetSettings(ProgramSettings.Default.WindowModifiers, ProgramSettings.Default.WindowKeys, textBoxWindowKeys);
     GetSettings(ProgramSettings.Default.EverythingModifiers, ProgramSettings.Default.EverythingKeys, textBoxEverythingKeys);
     main = Main;
 }
예제 #3
0
 public Grabber(CustomApplicationContext Main)
 {
     InitializeComponent();
     this.ShowInTaskbar = false;
     main = Main; //save main form to show notification bubble
 }