예제 #1
0
        private void BT_Options_Click(object sender, EventArgs e)
        {
            // Application.EnableVisualStyles();
            // Application.SetCompatibleTextRenderingDefault(false);
            // Application.Run(new OptionsForm());

            OptionsForm optionsForm = new OptionsForm();
            optionsForm.Show();
        }
예제 #2
0
 public static OptionsForm GetSingletonInstance()
 {
     if(optionsFormSingleton == null)
     {
         lock (_syncRoot)
         {
             if (optionsFormSingleton == null)
             {
                 optionsFormSingleton = new OptionsForm();
             }
         }
     }
     return optionsFormSingleton;
 }