Ejemplo n.º 1
0
Archivo: Lyra.cs Proyecto: 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));
 }
Ejemplo n.º 2
0
Archivo: Lyra.cs Proyecto: 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));
 }