private void B_Plan_Click(object sender, System.EventArgs e) { B_FSD.Visible = true; B_Plan.Visible = false; this.Controls.Remove(f); f.Dispose(); f = null; if (control.XMLConf.FocusToZusi) control.SetFocusToZusi(); }
private void B_FSD_Click(object sender, System.EventArgs e) { f = new FSD(control); f.Location = new Point(0,58); f.Parent = this; f.BackColor = this.BackColor; f.ForeColor = this.ForeColor; this.Controls.Add(f); f.BringToFront(); B_Plan.Visible = true; B_FSD.Visible = false; if (control.XMLConf.FocusToZusi) control.SetFocusToZusi(); }