示例#1
0
文件: Lyra.cs 项目: zadark/par
 public LyraPlugin(PubComb plug)
 {
     //formthread = new Thread(new ThreadStart(delegate()
     //{
     //    form = new LyraForm1(this);
     //    Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
     plugin = plug;
     form = new LyraForm1(this);
     //plug.tabform.addATab(form, "LYRA");
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     // this.brand = "Lyra";
     proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(SimChat));
     proxy.AddDelegate(PacketType.AgentUpdate, Direction.Outgoing, new PacketDelegate(Age));
 }
示例#2
0
文件: Lyra.cs 项目: zadark/par
 public LyraPlugin(PubComb plug)
 {
     //formthread = new Thread(new ThreadStart(delegate()
     //{
     //    form = new LyraForm1(this);
     //    Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
     plugin = plug;
     form   = new LyraForm1(this);
     //plug.tabform.addATab(form, "LYRA");
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     // this.brand = "Lyra";
     proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(SimChat));
     proxy.AddDelegate(PacketType.AgentUpdate, Direction.Outgoing, new PacketDelegate(Age));
 }