public MainWindow() { InitializeComponent(); this.DataContext = this; _GLHandlers = new OpenGLHandlers(this, GLControl); Locations = new ObservableCollection <Location> { }; Entities = new ObservableCollection <Entity> { }; SelectionTab = 0; SelectionL = -1; SelectionE = -1; _GLHandlersClone = new OpenGLHandlers(this, GLControl); CloneWindow cloneWindow = new CloneWindow(_GLHandlersClone); cloneWindow.Show(); }
public CloneWindow(OpenGLHandlers inGLHandlers) { InitializeComponent(); _GLHandlers = inGLHandlers; }