public void RMPlayer(string account)
 {
     if (this.isRC)
     {
         this.rcpl = RCPlayerList.GetInstance();
         this.rcpl.RMPlayer(account);
     }
     else
     {
         this.mw.RMPlayer(account);
     }
 }
 public void AddPlayer(string account, string account2)
 {
     if (this.isRC)
     {
         this.rcpl = RCPlayerList.GetInstance();
         this.rcpl.AddPlayer(account, account2);
     }
     else
     {
         this.mw.AddPlayer(account, account2);
     }
 }
 public void Activate()
 {
     this.lw   = LoginWindow.GetInstance();
     this.isRC = this.lw.checkBox2.Active;
     Console.WriteLine("Is this rc? " + this.isRC.ToString() + "::" + this.lw.checkBox2.Active.ToString());
     if (this.isRC)
     {
         this.rc = RCWindow.GetInstance();
         this.rc.RunServer();
         this.rcpl = RCPlayerList.GetInstance();
         this.rcpl.Init();
     }
     else
     {
         this.mw = MainWindow.GetInstance();
         this.mw.RunServer();
     }
 }