//Write the description of the failure (panne).
 private void txtBx_Failure_Validated(object sender, EventArgs e)
 {
     if (FailureDesc == "" || FailureDesc == null)
     {
         frm_GetDescription frm = new frm_GetDescription("Failure", "");
         frm.ShowDialog();
         if (frm.Tag != null)
         {
             FailureDesc = frm.Tag.ToString();
         }
     }
 }
        //Checks for the description when the text is validated and no Description is inserted.
        private void descriptionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Label _sender = (Label)ctxtMnuStrp_GetDescription.SourceControl;

            if (_sender.Name == "lbl_FailureType")//Get the description of the failure Type.
            {
                frm_GetDescription frm = new frm_GetDescription("Type de panne", FailureTypeDesc);
                frm.ShowDialog();
                if (frm.Tag != null)
                {
                    FailureTypeDesc = frm.Tag.ToString();
                }
            }
            else
            {
                frm_GetDescription frm = new frm_GetDescription("Panne", FailureDesc);
                frm.ShowDialog();
                if (frm.Tag != null)
                {
                    FailureDesc = frm.Tag.ToString();
                }
            }
        }
 //Write the description of the failure (panne).
 private void txtBx_Failure_Validated(object sender, EventArgs e)
 {
     if (FailureDesc == "" || FailureDesc == null)
     {
         frm_GetDescription frm = new frm_GetDescription("La panne", "");
         frm.ShowDialog();
         if (frm.Tag != null)
         {
             FailureDesc = frm.Tag.ToString();
         }
     }
 }
 //Checks for the description when the text is validated and no Description is inserted.
 private void descriptionToolStripMenuItem_Click(object sender, EventArgs e)
 {
     TextBox _sender = (TextBox)ctxtMnuStrp_GetDescription.SourceControl;
     if (_sender.Name == "txtBx_FailureType")//Get the description of the failure Type.
     {
         frm_GetDescription frm = new frm_GetDescription("Type de panne", FailureTypeDesc);
         frm.ShowDialog();
         if (frm.Tag != null)
         {
             FailureTypeDesc = frm.Tag.ToString();
         }
     }
     else
     {
         frm_GetDescription frm = new frm_GetDescription("Panne", FailureDesc);
         frm.ShowDialog();
         if (frm.Tag != null)
         {
             FailureDesc = frm.Tag.ToString();
         }
     }
 }