private void MsiSeekerFormLoad(object sender, System.EventArgs e) { hcFind.SelectedIndex = hcFind.Items.Count - 1; cfg = new ConfigScreen(); cfg.Title = "Deployment Settings"; cfg.Generate(setting); cfg.EmbedInto(pnInstall); }
private void ShowCommandConfigScreen() { if (CfgCommand == null) { CfgCommand = new ConfigScreen(); CfgCommand.Title = "Command Settings"; CfgCommand.FormDetached += new Action(CfgCommand_FormDetached); CfgCommand.OnConfigChanged += new Action<object>(CfgCommand_OnConfigChanged); CfgCommand.EmbedInto(pnPlan, DockType.Bottom); CfgCommand.Show(); } else if (!CfgCommand.IsLoaded) { CfgCommand.EmbedInto(pnPlan, DockType.Bottom); } }