Exemple #1
0
 private void showDebugInfoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (design != null)
     {
         try
         {
             frmTextbox theform = new frmTextbox();
             theform.showText(design.getDebugInfo());
         }
         catch (Exception ex)
         {
             MessageBox.Show(translation.GetTranslatedString(Translation.StringID.ERROR_DEBUG) + // "There was an error while saving debug info:"
                             Environment.NewLine + ex.ToString());
         }
     }
     else
     {
         MessageBox.Show(translation.GetTranslatedString(Translation.StringID.NO_DESIGN)); // "No design loaded."
     }
 }
 private void showDebugInfoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (design != null)
     {
         try
         {
             frmTextbox theform = new frmTextbox();
             theform.showText(design.getDebugInfo());
         }
         catch (Exception ex)
         {
             MessageBox.Show(translation.GetTranslatedString(Translation.StringID.ERROR_DEBUG) + // "There was an error while saving debug info:"
                 Environment.NewLine + ex.ToString());
         }
     }
     else
     {
         MessageBox.Show(translation.GetTranslatedString(Translation.StringID.NO_DESIGN)); // "No design loaded."
     }
 }
 private void showDebugInfoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (design != null)
     {
         try
         {
             frmTextbox theform = new frmTextbox();
             theform.showText(design.getDebugInfo());
         }
         catch (Exception ex)
         {
             MessageBox.Show("There was an error while saving debug info:" + Environment.NewLine + ex.ToString());
         }
     }
     else
     {
         MessageBox.Show("No design loaded.");
     }
 }