Beispiel #1
0
        public Settings(CustomApplicationContext app)
        {
            this.app = app;

            InitializeComponent();
            LoadSettings();
        }
Beispiel #2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     try
     {
         var applicationContext = new CustomApplicationContext();
         Application.Run(applicationContext);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Screenshot Saver Terminated Unexpectedly",
                         MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }