private void accountImg_Click(object sender, EventArgs e) { /* New menu implementation in The Bridge Build replaces original design. (11/24/2014) * * accountImg.Left = 300; * name.Left = 300; * sidebar.Left = 0;*/ SlidingMenuBarPostEG whatIsGoingOn = new SlidingMenuBarPostEG(); whatIsGoingOn.Show(); whatIsGoingOn.BringToFront(); }
private void name_Click(object sender, EventArgs e) { Boolean itsOpen = false; for (int i = 0; i < Application.OpenForms.Count; i++) { if (Application.OpenForms[i].Name == "SlidingMenuBarPostEG") { itsOpen = true; Application.OpenForms[i].Close(); } } if (!itsOpen) { SlidingMenuBarPostEG slidingMenu = new SlidingMenuBarPostEG(); slidingMenu.Show(); slidingMenu.BringToFront(); } }
private void accountImg_Click(object sender, EventArgs e) { /* New menu implementation in The Bridge Build replaces original design. (11/24/2014) * * accountImg.Left = 300; name.Left = 300; sidebar.Left = 0;*/ SlidingMenuBarPostEG whatIsGoingOn = new SlidingMenuBarPostEG(); whatIsGoingOn.Show(); whatIsGoingOn.BringToFront(); }