public MainWindow() { InitializeComponent(); StaticVariables.win = (MainWindow)GetWindow(this); StaticVariables.LoadCoordinatesData(); }