Beispiel #1
0
 public Form_QuanLy(taikhoan tk)
 {
     InitializeComponent();
     this.tk = tk;
     Form_ChoThue  ChoThue  = new Form_ChoThue();
     Form_Dichvu   Dichvu   = new Form_Dichvu(this.tk);
     Form_Hopdong  Hopdong  = new Form_Hopdong();
     Form_Nhanvien Nhanvien = new Form_Nhanvien();
     Form_Canho    Canho    = new Form_Canho();
     Form_Thongtin Thongtin = new Form_Thongtin();
 }
Beispiel #2
0
 private void btn_Nhanvien_Click(object sender, EventArgs e)
 {
     SetbtnColor(sender as Button);
     if (!CheckExistForm("Form_Nhanvien"))
     {
         Form_Nhanvien f = new Form_Nhanvien();
         f.MdiParent     = this;
         f.StartPosition = FormStartPosition.Manual;
         f.Width         = 1156;
         f.Height        = 802;
         f.Show();
     }
     else
     {
         ActiveChildForm("Form_Nhanvien");
     }
 }