Пример #1
0
        private void Image_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            Grid MainControl = (Grid)this.Parent;

            MainControl.Children.Clear();
            DectionView view = new DectionView(this.cboxTestType.SelectionBoxItem.ToString());

            MainControl.Children.Add(view);
        }
Пример #2
0
        private void btnReturn_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            Grid MainControl = (Grid)this.Parent;

            MainControl.Children.Clear();
            DectionView view = new DectionView();

            MainControl.Children.Add(view);
        }