//event ProgressUpdate ProgressUpdateEvent; public InfoPublishForm() { InitializeComponent(); infoPublishHandler = new InfoPublishHandler(AppClient.GetInstance); infoPublishHandler.InfoPublishForm = this; AppContext.InfoPublishHandler = infoPublishHandler; this.Show(); this.Hide(); AppClient.RegisterHandler(Protocol.S0005_1, infoPublishHandler); }
//event ProgressUpdate ProgressUpdateEvent; public InfoPublishForm() { InitializeComponent(); infoPublishHandler = new InfoPublishHandler(AppClient.GetInstance); infoPublishHandler.InfoPublishForm = this; AppContext.InfoPublishHandler = infoPublishHandler; this.Show(); this.Hide(); AppClient.RegisterHandler(Protocol.S0005_1, infoPublishHandler); }