public void Clear(int window) { if (window == 0) { mainWindow.Clear(); } else if (window == 1 && upperWindow != null) { upperWindow.Clear(); ResetStatusHeight(); currStatusHeight = 0; } }
void IScreen.Clear(int window) { Dispatch(() => { if (window == 0) { mainWindow.Clear(); } else if (window == 1 && upperWindow != null) { upperWindow.Clear(); ResetStatusHeight(); currStatusHeight = 0; } }); }