コード例 #1
0
 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();
     }
 }
コード例 #2
0
 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();
     }
 }
コード例 #3
0
 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();
         }
     }
 }
コード例 #4
0
 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();
         }
     }
 }