private void restartWinning_Click(object sender, EventArgs e) { StartForm start = new StartForm(); this.Hide(); start.ShowDialog(); }
private void button3_Click(object sender, EventArgs e) { StartForm start = new StartForm(); this.Hide(); start.ShowDialog(); }
/// <summary> /// 系统初始化 /// </summary> private void init() { this.Height = Screen.PrimaryScreen.WorkingArea.Height; this.Width = Screen.PrimaryScreen.WorkingArea.Width; StartForm st = new StartForm(this); st.Show(); login = new LogInForm(this); //显示登录窗口 login.MdiParent = this; login.Show(); }