Пример #1
0
        public bool CancelSuggestionBox()
        {
            ClickCancel.Click();
            var item = KendoCommonUtilities.IsModelPopUpClosed();

            Console.WriteLine("Clicked on the Cancel Suggestion Button");
            return(item);
        }
Пример #2
0
 private void btnCancel_Click(object sender, EventArgs e)
 {
     this.ParentForm.DialogResult = DialogResult.Cancel;
     ClickCancel?.Invoke(sender, e);
     if (this.ParentForm.DialogResult == DialogResult.Cancel)
     {
         this.ParentForm.Close();
     }
 }
Пример #3
0
 private void btnHuy_Click(object sender, EventArgs e)
 {
     ClickCancel.CancelDatPhong(txtTenKH, txtCMT, txtDiaChi, txtSDT, cmbGioiTinh, dtpNgaySinh);
 }