Пример #1
0
 private void btnAddProduction_Click(object sender, EventArgs e)
 {
     NewProduction form = new NewProduction();
     form.Form1 = this;
     if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         cbProductions.Items.Add(form.Production);
     }
 }
Пример #2
0
        private void btnAddProduction_Click(object sender, EventArgs e)
        {
            NewProduction form = new NewProduction();

            form.Form1 = this;
            if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                cbProductions.Items.Add(form.Production);
            }
        }