public MainWindow() { initLanguage(); InitializeComponent(); mainWindow = this; KeyPreview = true; this.DoubleBuffered = true; canvas = new WFCanvas(plot); graph = new Graph(); graphVisual = new GraphVisual(canvas, graph); graphAlgo = new GraphAlgo(graph); history = new List <Dictionary <int, Dictionary <int, double> > >(); subscribe(); handleAppState(); if (Properties.Settings.Default.CreateFileAtStartup) { newFile(); } evalSubtasks(); // DEBUG_openFile(@"C:\Users\rp-re\OneDrive\Desktop\сова\tsplib\berlin52.tsp"); }
public WFCanvasContext(WFCanvas _ContextProvider) { ContextProvider = _ContextProvider; }