private void wishListToolStripMenuItem_Click(object sender, EventArgs e) { if (wndWishList != null) { wndWishList.Close(); } wndWishList = new frmMaster(CurrentUser, MasterPageMode.WishList); wndWishList.MdiParent = this; wndWishList.BringToFront(); wndWishList.Show(); }
private void missionToolStripMenuItem_Click(object sender, EventArgs e) { if (wndMission != null) { wndMission.Close(); } wndMission = new frmMaster(CurrentUser, MasterPageMode.Mission); wndMission.MdiParent = this; wndMission.BringToFront(); wndMission.Show(); }
private void valueToolStripMenuItem_Click(object sender, EventArgs e) { if (wndValue != null) { wndValue.Close(); } wndValue = new frmMaster(CurrentUser, MasterPageMode.Value); wndValue.MdiParent = this; wndValue.BringToFront(); wndValue.Show(); }
private void goalsStepsToolStripMenuItem_Click(object sender, EventArgs e) { if (wndGoalsAndSteps != null) { wndGoalsAndSteps.Close(); } wndGoalsAndSteps = new frmMaster(CurrentUser, MasterPageMode.GoalsAndSteps); wndGoalsAndSteps.MdiParent = this; wndGoalsAndSteps.BringToFront(); wndGoalsAndSteps.Show(); }