コード例 #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();
 }
コード例 #2
0
ファイル: Form_QuanLy.cs プロジェクト: KimNgocHoang/NV-TK
 private void btn_ChoThue_Click(object sender, EventArgs e)
 {
     SetbtnColor(sender as Button);
     if (!CheckExistForm("Form_ChoThue"))
     {
         Form_ChoThue f = new Form_ChoThue();
         f.MdiParent     = this;
         f.StartPosition = FormStartPosition.Manual;
         f.Width         = 1156;
         f.Height        = 802;
         f.Show();
     }
     else
     {
         ActiveChildForm("Form_ChoThue");
     }
 }