public PersonControl(Person person, MainForm form) { InitializeComponent(); p = person; f = form; updateControlContent(); }
public ConsoleForm(MainForm form) { InitializeComponent(); comboBoxInput.Select(); f = form; qpro = new ApplicationLogic.QueryProcessor(QueryDisambiguator, GetLine); }
public SettingsForm(MainForm fa) { f = fa; InitializeComponent(); if (Properties.Settings.Default.theme == 1) radioButton1.Checked = true; else if (Properties.Settings.Default.theme == 2) radioButton2.Checked = true; else if (Properties.Settings.Default.theme == 3) radioButton3.Checked = true; else radioButton4.Checked = true; textBox1.Text = Properties.Settings.Default.workdirectory; }