示例#1
0
        public void Activate()
        {
            ProtocolForm f = new ProtocolForm();
            f.FormClosing += new System.Windows.Forms.FormClosingEventHandler(f_FormClosing);

            lock (forms)
            {
                forms.Add(f);
            }

            f.Show();
        }
示例#2
0
        public void Activate()
        {
            ProtocolForm f = new ProtocolForm();

            f.FormClosing += new System.Windows.Forms.FormClosingEventHandler(f_FormClosing);

            lock (forms)
            {
                forms.Add(f);
            }

            f.Show();
        }