/// <summary> /// Implemented only for demonstration purposes. This function is called when the config button /// is pressed (HasEmbeddedForm() must return false for this). /// </summary> /// <param name="owner"></param> public void ShowConfigDialog(Form owner) { this.dlg = new EminusConfigDlg(this.tmpConfig); this.dlg.TopLevel = true; this.dlg.Owner = owner; this.dlg.ShowDialog(); this.dlg.ApplyChanges(); }
public void HideConfigForm() { if (this.dlg != null) { this.dlg.ApplyChanges(); this.dlg.Hide(); this.dlg.Dispose(); this.dlg = null; } }
public void ShowConfigForm(Panel panel) { this.dlg = new EminusConfigDlg(this.tmpConfig); this.dlg.Parent = panel; this.dlg.Show(); }