//Starting runner dialog... private void RunnerDialog_Click(object sender, EventArgs e) { var switchScreen = new MemberSwitchScreen((OurWindow)ParentForm, backButton); backButton.AddToStack(switchScreen); switchScreen.Display(); Hide(); }
private void OldMemberDialogButton_Click(object sender, EventArgs e) { var loginScreen = new LoginScreen((OurWindow)ParentForm); backButton.AddToStack(loginScreen); }