Exemplo n.º 1
0
 private void im_Back_MouseDown(object sender, MouseButtonEventArgs e)
 {
     this.Hide();
     lb_Menu.Items.Clear();
     paths.Clear();
     Data.getWindow(true).Show();
 }
 //Службові
 private void im_Back_MouseDown(object sender, MouseButtonEventArgs e)
 {
     grid_Main.Children.Clear();
     grid_Main.ColumnDefinitions.Clear();
     grid_Main.RowDefinitions.Clear();
     this.Hide();
     Data.getWindow(true).Show();
 }
        private void brd_MouseDown(object sender, MouseButtonEventArgs e)
        {
            Border b = (Border)sender;

            switch (b.Name)
            {
            case "brd_LoadingBaner":
                this.Hide();
                Data.getWindow(true);
                Data.getWindow(true).Show();
                break;

            case "brd_MenuMain":
                this.Hide();
                Data.getWindow(true).Show();
                break;

            case "brd_Test":
                this.Hide();
                Data.pushWindow(this);
                WTests.Instance.Show();
                break;

            case "brd_MenuModeling":
                this.Hide();
                Data.pushWindow(this);
                WMenuModeling.Instance.Show();
                break;

            case "brd_Theory":
                this.Hide();
                Data.pushWindow(this);
                WTheory.Instance.Show();
                break;

            case "brd_Settings":
                wSettings.Instance.ShowDialog();
                break;

            case "brd_ElementCreater":
                wElementCreater.ElementCreater.ShowDialog();
                break;
            }
        }
Exemplo n.º 4
0
        private void im_Back_MouseDown(object sender, MouseButtonEventArgs e)
        {
            this.Hide();
            clearGroupEffect(firstTask);
            clearGroupEffect(secondTask);
            clearGroupEffect(cGroup);
            clearGroupEffect(dGroup);
            clearGroupEffect(eGroup);
            clearGroupEffect(fGroup);
            clearGroupEffect(gGroup);
            clearGroupEffect(hGroup);

            clearSelection(firstTask);
            clearSelection(secondTask);
            clearSelection(cGroup);
            clearSelection(dGroup);
            clearSelection(eGroup);
            clearSelection(fGroup);
            clearSelection(gGroup);
            clearSelection(hGroup);

            Data.getWindow(true).Show();
        }
 private void im_Back_MouseDown(object sender, MouseButtonEventArgs e)
 {
     this.Hide();
     Data.getWindow(true).Show();
 }