private void OnAddServerClick(object o, EventArgs e) { DlgAddSqlServer ass = new DlgAddSqlServer(); if (ass.ShowDialog() == DialogResult.OK) { BaseNode bn = (BaseNode)this.SelectedNode; ServerNode sn = new ServerNode(ass.NewSqlServer); bn.Nodes.Add(sn); } }
private void OnAddServerClick(object o, EventArgs e) { DlgAddSqlServer ass = new DlgAddSqlServer(); if (ass.ShowDialog() == DialogResult.OK) { BaseNode bn = (BaseNode)this.SelectedNode; ServerNode sn = new ServerNode(ass.NewSqlServer); bn.Nodes.Add(sn); } }