Esempio n. 1
0
 public void OpenInbox()
 {
     if (Inbox == null)
     {
         Inbox = new UIInbox();
         this.Add(Inbox);
         Inbox.X = GlobalSettings.Default.GraphicsWidth / 2 - 332;
         Inbox.Y = GlobalSettings.Default.GraphicsHeight / 2 - 184;
     }
     //todo, on already visible move to front
 }
Esempio n. 2
0
 public void CloseInbox()
 {
     this.Remove(Inbox);
     Inbox = null;
 }