public MainWindow() { InitializeComponent(); cmhandler.window = this; //Set the Window Property DataContext = this; drawer = new Coordinate2DDrawer(canvas, 0, 31, min, max); drawer.DrawAxis(); }
public MainWindow() { InitializeComponent(); cmhandler.window = this; //Data.window = this; DataContext = this; drawer = new Coordinate2DDrawer(canvas, 0, 31, min, max); drawer.DrawAxis(); // InitializeDatagrid(); }