public void SetWindow(int window) { if (window == 0) { mainWindow.Activate(); } else if (window == 1) { upperWindow.Activate(); } }
void IScreen.SetWindow(int window) { Dispatch(() => { if (window == 0) { mainWindow.Activate(); } else if (window == 1) { upperWindow.Activate(); } }); }