예제 #1
0
        public ObjectsClassification()
        {
            InitializeComponent();

            GraphViewModel graphModel = new GraphViewModel();
            graphModel.LoadObjectTypes();
            graphModel.CreateMainGraph();

            this.DataContext = graphModel;
        }
예제 #2
0
 public ObjectsClassification(GraphViewModel graphModel)
     : this()
 {
     this.DataContext = graphModel;
 }