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