private void btnGopBan_Click(object sender, RoutedEventArgs e) { this.DialogResult = true; UserControlLibrary.WindowBanHangChonBan win1 = new UserControlLibrary.WindowBanHangChonBan(mTransit, false); if (win1.ShowDialog() == true) { UserControlLibrary.WindowBanHangGopBan win2 = new UserControlLibrary.WindowBanHangGopBan(mUCFloorPlan, mTransit, win1._TachGopBan); win2.ShowDialog(); } }
private void GopBan() { if (mUCFloorPlan != null) { this.DialogResult = false; UserControlLibrary.WindowBanHangChonBan win1 = new UserControlLibrary.WindowBanHangChonBan(mTransit, false); if (win1.ShowDialog() == true) { UserControlLibrary.WindowBanHangGopBan win2 = new UserControlLibrary.WindowBanHangGopBan(mUCFloorPlan, mTransit, win1._TachGopBan); win2.ShowDialog(); } } }
private void GopBan() { if (mUCFloorPlan!=null) { this.DialogResult = false; UserControlLibrary.WindowBanHangChonBan win1 = new UserControlLibrary.WindowBanHangChonBan(mTransit,false); if (win1.ShowDialog() == true) { UserControlLibrary.WindowBanHangGopBan win2 = new UserControlLibrary.WindowBanHangGopBan(mUCFloorPlan,mTransit, win1._TachGopBan); win2.ShowDialog(); } } }