public frmTextDichVu(frmQLDichVu fql, string title)
 {
     InitializeComponent();
     this.Text    = "Thêm Dịch Vụ";
     Lb_TitleName = title;
     KieuForm     = 1;
     frmQLDV      = fql;
 }
 public frmTextDichVu(frmQLDichVu fql, string title, int id_dichvu)
 {
     InitializeComponent();
     Lb_TitleName = title;
     this.Text    = "Sửa Dịch Vụ";
     Id_DichVu    = id_dichvu;
     KieuForm     = 2;
     frmQLDV      = fql;
 }
示例#3
0
        private void open_frmDichVu()
        {
            this.pnl_SubForm.Controls.Clear();

            frmQLDichVu fdp = new frmQLDichVu();

            fdp.FormBorderStyle = FormBorderStyle.None;
            fdp.TopLevel        = false;
            fdp.Dock            = DockStyle.Fill;
            fdp.ShowInTaskbar   = false;
            fdp.Show();

            this.pnl_SubForm.Controls.Add(fdp);
        }