Ejemplo n.º 1
0
 public static FrmCreateLabels getSingle()
 {
     if (frmCreateLabels == null)
     {
         frmCreateLabels = new FrmCreateLabels();
     }
     return(frmCreateLabels);
 }
Ejemplo n.º 2
0
        /// <summary>
        /// 生成标签
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void tsmiCreateLabels_Click(object sender, EventArgs e)
        {
            FrmCreateLabels createLabels = FrmCreateLabels.getSingle();

            createLabels.MdiParent = this;
            createLabels.BringToFront();
            createLabels.Show();
        }
Ejemplo n.º 3
0
 private void FrmCreateLabels_FormClosed(object sender, FormClosedEventArgs e)
 {
     frmCreateLabels = null;
 }