private void btnCreateMenu_Click(object sender, EventArgs e)
 {
     frmIns_Menus afrmIns_Menus = new frmIns_Menus(this, 2, this.IDBookingHall);
     afrmIns_Menus.ShowDialog();
 }
 private void btnCreateMenu_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     int IDBookingHall = Convert.ToInt32(grvHaveNotMenus.GetFocusedRowCellValue("IDBookingHall"));
     frmIns_Menus afrmIns_Menus = new frmIns_Menus(this, IDBookingHall, 2);
     afrmIns_Menus.ShowDialog();
 }
예제 #3
0
 private void barButtonItem28_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     frmIns_Menus afrmIns_Menus = new frmIns_Menus(1);//type=1:thực đơn thông dụng
     afrmIns_Menus.ShowDialog();
 }
 private void simpleButton1_Click(object sender, EventArgs e)
 {
     frmIns_Menus afrmIns_Menus = new frmIns_Menus(this, 1); //type=1:thuc don mau
     afrmIns_Menus.ShowDialog();
 }