Exemple #1
0
 private void FrmAbout_FormClosed(object sender, FormClosedEventArgs e)
 {
     pUniqueForm = null;//窗体唯一打开代码
 }
Exemple #2
0
 public FrmAbout()
 {
     pUniqueForm = this;//窗体唯一打开代码
     InitializeComponent();
 }
Exemple #3
0
 private void FrmAbout_FormClosed(object sender, FormClosedEventArgs e)
 {
     pUniqueForm = null;//窗体唯一打开代码
 }
Exemple #4
0
 private void 关于ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FrmAbout.ShowUniqueForm(true);
 }
Exemple #5
0
        private static FrmAbout pUniqueForm = null; //窗体唯一打开代码

        #endregion Fields

        #region Constructors

        public FrmAbout()
        {
            pUniqueForm = this;//窗体唯一打开代码
            InitializeComponent();
        }