Пример #1
0
        //formSettings index in order: General, Filament, Notes, Print, Shortcuts


        public frmMainBody(frmMain form)
        {
            InitializeComponent();
            //userControl = new UserControl1();
            mainForm       = form;
            configDefaults = generateDefaultConfigFile();
            openSettings   = new frmSettings(this);
        }
Пример #2
0
 private void btnSettings_Click(object sender, EventArgs e)
 {
     if (openSettings.IsDisposed)
     {
         Console.WriteLine("Disposed");
         openSettings = new frmSettings(this);
     }
     openSettings.Show();
     openSettings.BringToFront();
     openSettings.Activate();
 }
Пример #3
0
 public frmNotes(frmSettings main)
 {
     InitializeComponent();
     mainSettings = main;
     setPrevSettings();
 }
Пример #4
0
 public frmFilament(frmSettings parent)
 {
     InitializeComponent();
     mainSettings = parent;
     setPrevSettings();
 }