Beispiel #1
0
        public void ModelViewX_Test()
        {
            ModelDataView M_view = new ModelDataView();

            M_view.X = -1;
            Assert.AreEqual("x must be less or equal " + 1 + " and greater or equal " + 0, M_view["X"]);
        }
Beispiel #2
0
        public MainWindow()
        {
            InitializeComponent();
            myWinFormsHost.Child = myChart;
            this.DataContext     = obj;
            myGrid.DataContext   = modelData;

            modelDataView = new ModelDataView(obj);

            myGridView.DataContext = modelDataView;
            myComboBox.ItemsSource = modelDataView.typesOfLines;
        }
Beispiel #3
0
 public void Data_Changed_Handler(object source, NotifyCollectionChangedEventArgs args)
 {
     modelDataView = new ModelDataView(obj);
 }
Beispiel #4
0
        private void btn_Maize_Click(object sender, RoutedEventArgs e)
        {
            var newWindow = new ModelDataView();

            newWindow.Show();
        }