Exemple #1
0
 private void btnBuilder_Click(object sender, EventArgs e)
 {
     if (this.fStatSheet?.Visible ?? false)
     {
         this.fStatSheet.Activate();
     }
     else
     {
         if (this.fStatSheet == null || this.fStatSheet.IsDisposed)
         {
             this.fStatSheet = new formStatSheet();
         }
         this.fStatSheet.Show(this);
     }
     return;
 }
Exemple #2
0
 private void btnBuilder_Click(object sender, EventArgs e)
 {
     if (this.fStatSheet?.Visible ?? false)
         this.fStatSheet.Activate();
     else
     {
         if(this.fStatSheet == null || this.fStatSheet.IsDisposed)
             this.fStatSheet = new formStatSheet();
         this.fStatSheet.Show(this);
     }
     return;
 }