コード例 #1
0
ファイル: Main_form.cs プロジェクト: joustern/Barber_Shop
 private void customer_Click(object sender, EventArgs e)
 {
     temp_c = new temp_customer(this, msc);
     this.Hide();
     if (temp_c.ShowDialog() == DialogResult.OK)
     {
         this.Hide();
         customer_part customer_Form = new customer_part(this, msc, temp_c.get_account);
         temp_c.Close();
         customer_Form.Show();
     }
 }
コード例 #2
0
 private void customer_Click(object sender, EventArgs e)
 {
     customer_Form = new customer_part(this);
     this.Hide();
     customer_Form.Show();
 }