/// <summary>
 /// Opens the storage UI if closed. Closes it if opened.
 /// </summary>
 private void ToggleUI()
 {
     if (Window.IsOpen)
     {
         Window.Close();
     }
     else
     {
         Window.Open();
     }
 }
Exemple #2
0
 private void CloseUI()
 {
     Window.Close();
 }