private void button2_Click(object sender, EventArgs e)
        {
            Sostav_Zakaza sostav_Zakaza = new Sostav_Zakaza(MySqlQueries, MySqlOperations, ID_Zakaza);

            MySqlOperations.Select_ComboBox(MySqlQueries.Select_Product_ComboBox_CUP, sostav_Zakaza.comboBox1);
            sostav_Zakaza.ShowDialog();
            MySqlOperations.Select_DataGridView(MySqlQueries.Select_Sostav_CUP, dataGridView1, ID_Zakaza);
        }
Exemplo n.º 2
0
 public Product(MySqlQueries mySqlQueries, MySqlOperations mySqlOperations, string iD = null)
 {
     InitializeComponent();
     MySqlQueries    = mySqlQueries;
     MySqlOperations = mySqlOperations;
     ID = iD;
     MySqlOperations.Select_ComboBox(MySqlQueries.Select_Sklad_ComboBox, comboBox1);
 }