コード例 #1
0
 public frmTextPhong(frmQuanLyPhong fql, string title)
 {
     InitializeComponent();
     Lb_TitleName = title;
     KieuForm     = 1;
     this.Size    = new Size(524, 516);
     frmQLP       = fql;
 }
コード例 #2
0
 public frmTextPhong(frmQuanLyPhong fql, string title, string id_Phong)
 {
     InitializeComponent();
     Lb_TitleName = title;
     Id_Phong     = id_Phong;
     KieuForm     = 2;
     this.Size    = new Size(524, 516);
     //cbx_TinhTrang.Visible = false;
     frmQLP = fql;
 }
コード例 #3
0
        private void open_frmQuanLyPhong()
        {
            this.pnl_SubForm.Controls.Clear();

            frmQuanLyPhong fdp = new frmQuanLyPhong();

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

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