private void searchPanel_Click(object sender, EventArgs e)
 {
     if (sender.Equals(searchPanel) || sender.Equals(searchImg) || sender.Equals(searchText))
     {
         SearchFromSlidingBar sfsbAgain = new SearchFromSlidingBar(this.Width);
         sfsbAgain.Show();
         sfsbAgain.BringToFront();
     }
     if (sender.Equals(picPanel) || sender.Equals(picImg) || sender.Equals(picText))
     {
         ImagesOnMenu iom = new ImagesOnMenu();
         iom.Show();
         iom.BringToFront();
     }
     if (sender.Equals(docPanel) || sender.Equals(docImg) || sender.Equals(docText))
     {
         Documents docs = new Documents();
         docs.Show();
         docs.BringToFront();
     }
     if (sender.Equals(appsPanel) || sender.Equals(appsImg) || sender.Equals(appsText))
     {
         AppsSlidingMenu appsSM = new AppsSlidingMenu();
         appsSM.Show();
         appsSM.BringToFront();
     }
 }
Exemplo n.º 2
0
        private void search_Click(object sender, EventArgs e)
        {
            Properties.Settings.Default.stayHere = true;
            Properties.Settings.Default.Save();
            SearchFromSlidingBar sfsb = new SearchFromSlidingBar(this.Width);

            sfsb.Show();
            sfsb.BringToFront();
        }
Exemplo n.º 3
0
 private void search_Click(object sender, EventArgs e)
 {
     Properties.Settings.Default.stayHere = true;
     Properties.Settings.Default.Save();
     SearchFromSlidingBar sfsb = new SearchFromSlidingBar(this.Width);
     sfsb.Show();
     sfsb.BringToFront();
 }
 private void searchPanel_Click(object sender, EventArgs e)
 {
     if (sender.Equals(searchPanel) || sender.Equals(searchImg) || sender.Equals(searchText))
     {
         SearchFromSlidingBar sfsbAgain = new SearchFromSlidingBar(this.Width);
         sfsbAgain.Show();
         sfsbAgain.BringToFront();
     }
     if (sender.Equals(picPanel) || sender.Equals(picImg) || sender.Equals(picText))
     {
         ImagesOnMenu iom = new ImagesOnMenu();
         iom.Show();
         iom.BringToFront();
     }
     if (sender.Equals(docPanel) || sender.Equals(docImg) || sender.Equals(docText))
     {
         Documents docs = new Documents();
         docs.Show();
         docs.BringToFront();
     }
     if (sender.Equals(appsPanel) || sender.Equals(appsImg) || sender.Equals(appsText))
     {
         AppsSlidingMenu appsSM = new AppsSlidingMenu();
         appsSM.Show();
         appsSM.BringToFront();
     }
 }