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