Example #1
0
 private void btnDongY_Click(object sender, RoutedEventArgs e)
 {
     if (txtSoBan.Text != "")
     {
         int soban = Utilities.MoneyFormat.ConvertToInt(txtSoBan.Text);
         if (chkXoaBanCu.IsChecked == true)
         {
             mUCFloorPlan.RemoveAllTable();
         }
         mUCFloorPlan.AddTable(soban);
         this.DialogResult = true;
     }
     else
     {
         WindowMessageBox.ShowDialog("Nhập số bàn cần thêm");
     }
 }