public PennyPlugin(PubComb plug) { plugin = plug; //formthread = new Thread(new ThreadStart(delegate() //{ form = new PennyForm1(this); // Application.Run(form); //})); //formthread.SetApartmentState(ApartmentState.STA); //formthread.Start(); this.frame = plugin.frame; this.proxy = plugin.proxy; //this.brand = "Penny"; proxy.AddDelegate(PacketType.AgentSetAppearance, Direction.Outgoing,new PacketDelegate(ApHand)); }
public PennyPlugin(PubComb plug) { plugin = plug; //formthread = new Thread(new ThreadStart(delegate() //{ form = new PennyForm1(this); // Application.Run(form); //})); //formthread.SetApartmentState(ApartmentState.STA); //formthread.Start(); this.frame = plugin.frame; this.proxy = plugin.proxy; //this.brand = "Penny"; proxy.AddDelegate(PacketType.AgentSetAppearance, Direction.Outgoing, new PacketDelegate(ApHand)); }