示例#1
0
        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();
        }
示例#2
0
        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();
            }
        }
示例#3
0
        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();
            }


        }