Exemplo n.º 1
0
        private void toolStripMenuItem2_Click(object sender, EventArgs e)
        {
            frmYgoper frmygoper = new frmYgoper();

            if (frmygoper.Visible)
            {
                frmygoper.Hide();
            }
            else
            {
                frmygoper.Show();
            }
        }
Exemplo n.º 2
0
        private void 出入库记录ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmYgoper frmygoper = new frmYgoper();

            if (frmygoper.Visible)
            {
                frmygoper.Hide();
            }
            else
            {
                frmygoper.StartPosition = FormStartPosition.CenterScreen;
            }
            frmygoper.Show();
        }