Example #1
0
 public Barber_View(int _id, MySqlConnection msc, Barber_part b)
 {
     InitializeComponent();
     this.b   = b;
     this.msc = msc;
     m_id     = _id;
     get_barber_info();
 }
Example #2
0
 private void shop_Click(object sender, EventArgs e)
 {
     temp_b = new temp_Barber(this, msc);
     this.Hide();
     if (temp_b.ShowDialog() == DialogResult.OK)
     {
         this.Hide();
         barber_Form = new Barber_part(this, msc);
         temp_b.Close();
         barber_Form.Show();
     }
 }
Example #3
0
 private void shop_Click(object sender, EventArgs e)
 {
     barber_Form = new Barber_part(this);
     this.Hide();
     barber_Form.Show();
 }