コード例 #1
0
        private void tsmiBase_Click(object sender, EventArgs e)
        {
            BoxSizeInfo bsinfo = BoxSizeInfo.CreateForm();

            bsinfo.MdiParent = this;
            bsinfo.Show();
        }
コード例 #2
0
 public static BoxSizeInfo CreateForm()
 {
     if (_single == null)
     {
         _single = new BoxSizeInfo();
     }
     else
     {
         _single.Activate();
     }
     return(_single);
 }
コード例 #3
0
 private void this_FormClosed(object sender, FormClosedEventArgs e)
 {
     _single = null;
 }