private void ZY_MainForm_Load(object sender, EventArgs e) { addMenu(); if (!Program.sfzc) { Form_reg frm = new Form_reg(); frm.ShowDialog(); } }
void item2_Click(object sender, EventArgs e) { Form frm = new Form_reg(); frm.ShowDialog(); }