Пример #1
0
 /// <summary>
 /// Creates a new instance of the <see cref="FormApp"/> class
 /// </summary>
 public FormApp()
 {
     Instance = this;
     try
     {
         this.firstRun = true; //Only the first time.
         files         = new Files();
         InitializeComponent();
         statusDisplay("Initialized - " + string.Format(StringLiterals.IdFixVersionFormat, Application.ProductVersion));
         MessageBox.Show(StringLiterals.IdFixPrivacyBody,
                         StringLiterals.IdFixPrivacyTitle,
                         MessageBoxButtons.OK,
                         MessageBoxIcon.Exclamation,
                         MessageBoxDefaultButton.Button1);
     }
     catch (Exception ex)
     {
         statusDisplay(StringLiterals.Exception + "Initialize  " + ex.Message);
         throw;
     }
 }
Пример #2
0
 public FormFeedback(FormApp frm1)
 {
     InitializeComponent();
     myParent = frm1;
 }