Example #1
0
 private void Retablir()
 {
     MTBX_PrescriptionNumber.Text = "";
     FBTN_Abort.Visible           = false;
     FBTN_Delete.Visible          = false;
     FBTN_Edit.Visible            = false;
     FBTN_Add.Visible             = false;
     BTN_Ok.Enabled     = true;
     BTN_Cancel.Enabled = true;
     LBX_PrescriptionNumber.ClearSelected();
 }
Example #2
0
 private void FBTN_Abort_Click(object sender, EventArgs e)
 {
     FBTN_Abort.Visible             = false;
     FBTN_Delete.Visible            = false;
     LBX_PrescriptionNumber.Enabled = true;
     LBX_PrescriptionNumber.ClearSelected();
     if (MTBX_PrescriptionNumber.MaskCompleted == false)
     {
         MTBX_PrescriptionNumber.Text = "";
         FBTN_Abort.Visible           = false;
     }
     else
     {
         MTBX_PrescriptionNumber.Text = "";
         FBTN_Abort.Visible           = false;
     }
 }