Esempio n. 1
0
 void btn_Cat_Click(object sender, EventArgs e)
 {
     G.frm_G frm_g = new G.frm_G();
     frm_g.Table = "Cat";
     frm_g.Text  = "الفئة";
     ((Control)sender).Parent.Parent.Parent.Hide();
     frm_g.ShowDialog();
 }
Esempio n. 2
0
 void btn_Types_Click(object sender, EventArgs e)
 {
     G.frm_G frm_g = new G.frm_G();
     frm_g.Table = "ItemType";
     frm_g.Text  = "النوع ";
     ((Control)sender).Parent.Parent.Parent.Hide();
     frm_g.ShowDialog();
 }
Esempio n. 3
0
 void btn_Farms_Click(object sender, EventArgs e)
 {
     G.frm_G frm_g = new G.frm_G();
     frm_g.Table = "Farm";
     frm_g.Text  = "الحظيرة";
     ((Control)sender).Parent.Parent.Parent.Hide();
     frm_g.ShowDialog();
 }
Esempio n. 4
0
 private void btn_Cat_Add_Click(object sender, EventArgs e)
 {
     G.frm_G frm_g = new G.frm_G();
     frm_g.Table = "Cat";
     frm_g.Text  = "الفئة";
     frm_g.ShowDialog();
     com_Cat.DataSource    = g.Select("Cat");
     com_Cat.SelectedValue = frm_g.txt_ID.Text;
 }
Esempio n. 5
0
 private void btn_Unit_Add_Click(object sender, EventArgs e)
 {
     G.frm_G frm_g = new G.frm_G();
     frm_g.Table = "Units";
     frm_g.Text  = "الوحدات";
     frm_g.ShowDialog();
     com_Unit.DataSource    = g.Select("Units");
     com_Unit.SelectedValue = frm_g.txt_ID.Text;
 }
Esempio n. 6
0
 private void btn_HealthStatus_Add_Click(object sender, EventArgs e)
 {
     G.frm_G frm_g = new G.frm_G();
     frm_g.Table = "HealthStatus";
     frm_g.Text  = "الحالة الصحية ";
     frm_g.ShowDialog();
     com_HealthStatus.DataSource    = g.Select("HealthStatus");
     com_HealthStatus.SelectedValue = frm_g.txt_ID.Text;
 }
Esempio n. 7
0
 private void btn_ItemType_Add_Click(object sender, EventArgs e)
 {
     G.frm_G frm_g = new G.frm_G();
     frm_g.Table = "ItemType";
     frm_g.Text  = "النوع ";
     frm_g.ShowDialog();
     com_Type.DataSource    = g.Select("ItemType");
     com_Type.SelectedValue = frm_g.txt_ID.Text;
 }
Esempio n. 8
0
 private void btn_Farm_Add_Click(object sender, EventArgs e)
 {
     G.frm_G frm_g = new G.frm_G();
     frm_g.Table = "Farm";
     frm_g.Text  = "الحظيرة";
     frm_g.ShowDialog();
     com_Farm.DataSource    = g.Select("Farm");
     com_Farm.SelectedValue = frm_g.txt_ID.Text;
 }