예제 #1
0
 public AddApp(Pharmacy ph, int index, bool edit, bool flag2)
 {
     InitializeComponent();
     this.ph    = ph;
     this.index = index;
     this.edit  = edit;
     this.flag2 = flag2;
 }
예제 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if ((textBox1.Text == "admin") && (textBox2.Text == "admin"))
     {
         Pharmacy secondForm = new Pharmacy();
         secondForm.Show();
         Hide();
     }
     else
     {
         MessageBox.Show("Неправильно введен логин и пароль");
     }
 }
예제 #3
0
 public AddApp(Pharmacy ph)
 {
     this.ph = ph;
     InitializeComponent();
 }
예제 #4
0
 public Appli(Pharmacy ph)
 {
     InitializeComponent();
     this.ph = ph;
     Update();
 }
예제 #5
0
 public AddMed(Pharmacy ph)
 {
     InitializeComponent();
     this.ph     = ph;
     label1.Text = "Дата: " + localDate;
 }
예제 #6
0
 public AddInvoce(Pharmacy ph)
 {
     InitializeComponent();
     this.ph    = ph;
     ph.Enabled = true;
 }