示例#1
0
 private void versionInformationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.versionInformation == null)
     {
         this.versionInformation = new VersionInformationForm();
         this.versionInformation.LoadInformation(this.myTypeTable);
         this.versionInformation.FormClosed += (o, a) =>
         {
             this.versionInformation = null;
         };
         this.versionInformation.Show(this);
     }
     else
     {
         this.versionInformation.BringToFront();
     }
 }
示例#2
0
 private void versionInformationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.versionInformation == null)
     {
         this.versionInformation = new VersionInformationForm();
         this.versionInformation.LoadInformation(this.myTypeTable);
         this.versionInformation.FormClosed += (o, a) =>
         {
             this.versionInformation = null;
         };
         this.versionInformation.Show(this);
     }
     else
     {
         this.versionInformation.BringToFront();
     }
 }