コード例 #1
0
        private void pOMPAToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (pompa == null)
            {
                pompa = new Form_POMPA();

                pompa.FormClosed += new FormClosedEventHandler(formpompa);
                pompa.Show();
            }
            else
            {
                pompa.Activate();
            }
        }
コード例 #2
0
 void formpompa(Object sender, FormClosedEventArgs e)
 {
     pompa = null;
 }