コード例 #1
0
 public PersonControl(Person person, MainForm form)
 {
     InitializeComponent();
     p = person;
     f = form;
     updateControlContent();
 }
コード例 #2
0
        public ConsoleForm(MainForm form)
        {
            InitializeComponent();
            comboBoxInput.Select();
            f = form;

            qpro = new ApplicationLogic.QueryProcessor(QueryDisambiguator, GetLine);
        }
コード例 #3
0
 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;
 }