Exemple #1
0
 private void FrmMain_Load(object sender, EventArgs e)
 {
     using (FrmLogon vFrm = new FrmLogon()){
         vFrm.ShowDialog(this);
         this.mServer = RemoteHelper.GetReferenceToServer(this.ServerLocation, vFrm.mDomain, vFrm.mLogin, vFrm.mPass);
     }
     if (mServer == null)
     {
         ShowMessage("Not found (-_-)\r\n" + ServerLocation);
     }
     else
     {
         ShowMessage("Found (^o^)/\r\n" + ServerLocation);
     }
 }