private void button1_Click(object sender, System.EventArgs e) { UIPManager.RegisterShutdown(this); this.Visible = false; _startingTask = new TestTask(); UIPManager.StartUserControlsTask("demo", _startingTask); }
public logon() { UIPManager.RegisterShutdown(this); // // Required for Windows Form Designer support // InitializeComponent(); }