private void btnCancel_Click(object sender, EventArgs e)
 {
     gridControl1.Enabled = true;
     En = EnumCED.Cancel;
     HelpClass1.ActiveButtons(panelControl2);
     HelpClass1.ClearControls(panelControl1);
     HelpClass1.InActiveControls(panelControl1);
     btnDelete.Enabled = btnEdit.Enabled = btnLast.Enabled = btnNext.Enabled = btnPreview.Enabled = btnFirst.Enabled = false;
     btnCreate.Focus();
 }
Example #2
0
 private void btnCancel_Click(object sender, EventArgs e)
 {
     if (btnCancel.Enabled)
     {
         gridControl1.Enabled = true;
         HelpClass1.ActiveButtons(panelControl2);
         HelpClass1.ClearControls(xtraTabPage1);
         HelpClass1.InActiveControls(xtraTabPage1);
     }
 }