Value = l.AllOrders [i]. adresscl; [3, i]. Value = l.AllOrders [i]. kolzak; [4, i]. Value = l.AllOrders [i]. symm ;
}
} void butClients_Click (object sender, EventArgs e)
{cl = new Clients ();. famil = textBox1.Text;. name = textBox2.Text;. otche = textBox3.Text;. dolgn = textBox4.Text;. telef = textBox5.Text ;. predrp = textBox6.Text;. adress = textBox7.Text;. AllClient.Add (cl);. Rows.Clear (); (int i = 0; i
{. Rows.Add (); [0, i]. Value = l.AllClient [i]. famil; [1, i]. Value = l.AllClient [i]. name; [2, i]. Value = l.AllClient [i]. otche; [3, i]. Value = l.AllClient [i]. dolgn; [4, i]. Value = l.AllClient [i]. telef ; [5, i]. Value = l.AllClient [i]. predrp; [6, i]. Value = l.AllClient [i]. adress;
}
} void butProd_Click (object sender, EventArgs e)
{pr = new Product ();. name = prName.Text;. clas = prClass.Text;. kolproiz = prKolProi.Text;. kolskl = prKolSkl.Text;. price = prPrice.Text ;. AllProduct.Add (pr);. Rows.Clear (); (int i = 0; i
{. Rows.Add (); [0, i]. Value = l.AllProduct [i]. name; [1, i]. Value = l.AllProduct [i]. clas; [2, i]. Value = l.AllProduct [i]. kolproiz; [3, i]. Value = l.AllProduct [i]. kolskl; [4, i]. Value = l.AllProduct [i]. price ;
}
} void butOrders_Click (object sender, EventArgs e)
{or = new Orders ();. namecl = orNameCl.Text;. nameprod = orNamePr.Text;. adresscl = orAdressCl.Text;. kolzak = orKolZak.Text;. symm = orSymm.Text ;. AllOrders.Add (or);. Rows.Clear (); (int i = 0; i
{. Rows.Add (); [0, i]. Value = l.AllOrders [i]. namecl; [1, i]. Value = l.AllOrders [i]. nameprod; [2, i]. Value = l.AllOrders [i]. adresscl; [3, i]. Value = l.AllOrders [i]. kolzak; [4, i]. Value = l.AllOrders [i]. symm ;
}
} void orNameCl_SelectedIndexChanged (object sender, EventArgs e)
{(int i = 0; i
{s = (l.AllClient [i]. famil + "" + l.AllClient [i]. name + "" + l.AllClient [i]. otche); (orNameCl.Text == s)
{. Text = l.AllClient [i]. adress;
}
}
} void orKolZak_TextChanged (object sender, EventArgs e)
{
} void Symm_Click (object sender, EventArgs e)
{(int i = 0; i
{s = (l.AllProduct [i]. name + "(" + l.AllProduct [i]. clas + ")"); (s == orNamePr.Text )
{(orKolZak.Text == "")
{. Text = "";. Show ("Введіть кількість товару");;
}. Text = (...