コード例 #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)
     {
     }
 }