示例#1
0
        private void tsmiWorkPlace_Click(object sender, EventArgs e)
        {
            WorkPlaceInfo wpi = WorkPlaceInfo.CreateForm();

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