public AddApp(Pharmacy ph, int index, bool edit, bool flag2) { InitializeComponent(); this.ph = ph; this.index = index; this.edit = edit; this.flag2 = flag2; }
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("Неправильно введен логин и пароль"); } }
public AddApp(Pharmacy ph) { this.ph = ph; InitializeComponent(); }
public Appli(Pharmacy ph) { InitializeComponent(); this.ph = ph; Update(); }
public AddMed(Pharmacy ph) { InitializeComponent(); this.ph = ph; label1.Text = "Дата: " + localDate; }
public AddInvoce(Pharmacy ph) { InitializeComponent(); this.ph = ph; ph.Enabled = true; }