예제 #1
0
파일: Form1.cs 프로젝트: chembergj/VSPC
 private void buttonFSDLogin_Click(object sender, EventArgs e)
 {
     try
     {
         fsd = new FSDInterface(6809);
         var commHandler = new FSDCommHandlers(broker, fsd);
         vspcMessageHandler.Init(broker, commHandler);
         fsd.Init(commHandler);
         broker.Subscribe(this, typeof(ATextMessage));
         broker.Publish(new UserClickedLoginMessage() { Callsign = "OY-CHE", Cid = "222222", Password = "******", Realname = "VSPC.TestUI", Server = "localhost" });
     }
     catch (Exception ex)
     {
     }
 }
예제 #2
0
파일: Form1.cs 프로젝트: highattack30/VSPC
 private void buttonFSDLogin_Click(object sender, EventArgs e)
 {
     try
     {
         fsd = new FSDInterface(6809);
         var commHandler = new FSDCommHandlers(broker, fsd);
         vspcMessageHandler.Init(broker, commHandler);
         fsd.Init(commHandler);
         broker.Subscribe(this, typeof(ATextMessage));
         broker.Publish(new UserClickedLoginMessage()
         {
             Callsign = "OY-CHE", Cid = "222222", Password = "******", Realname = "VSPC.TestUI", Server = "localhost"
         });
     }
     catch (Exception ex)
     {
     }
 }