public static VersionForm GetInstance()
 {
     if (_singleInstance == null)
     {
         _singleInstance = new VersionForm();
     }
     return(_singleInstance);
 }
示例#2
0
 //バージョン情報
 private void VersionToolStripMenuItem_Click(object sender, EventArgs e)
 {
     //VersionForm versionForm = new VersionForm();
     //versionForm.Show();   //モーダルダイアログとして表示
     VersionForm.GetInstance().Show();
 }
 private void VersionForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     _singleInstance = null;
 }