Exemplo n.º 1
0
        private void btnThongKeHoaDonBan_Click(object sender, EventArgs e)
        {
            FormThongKeHoaDonBan formThongKeHoaDonBan = new FormThongKeHoaDonBan();

            showFormInMDIContainer(formThongKeHoaDonBan);
            this.FindForm().Dispose();
        }
 private void menuThongKeHoaDonBan_Click(object sender, EventArgs e)
 {
     if (!this.MdiChildren[0].Name.Equals("FormThongKeHoaDonBan"))
     {
         disposeAllMDIChildrenForms();
         FormThongKeHoaDonBan formThongKeHoaDonBan = new FormThongKeHoaDonBan();
         showFormInMDIContainer(formThongKeHoaDonBan);
     }
 }