コード例 #1
0
 public MainWindow()
 {
     InitializeComponent();
     cmhandler.window = this; //Set the Window Property
     DataContext      = this;
     drawer           = new Coordinate2DDrawer(canvas, 0, 31, min, max);
     drawer.DrawAxis();
 }
コード例 #2
0
        public MainWindow()
        {
            InitializeComponent();
            cmhandler.window = this;
            //Data.window = this;
            DataContext = this;

            drawer = new Coordinate2DDrawer(canvas, 0, 31, min, max);
            drawer.DrawAxis();
            // InitializeDatagrid();
        }