Esempio n. 1
0
        private void tsmiGoodsType2_Click(object sender, EventArgs e)
        {
            GoodsType2Info goods2 = GoodsType2Info.CreateForm();

            goods2.MdiParent = this;
            goods2.Show();
        }
 public static GoodsType2Info CreateForm()
 {
     if (_single == null)
     {
         _single = new GoodsType2Info();
     }
     else
     {
         _single.Activate();
     }
     return(_single);
 }
 private void this_FormClosed(object sender, FormClosedEventArgs e)
 {
     _single = null;
 }