private void OKBtn_Click(object sender, EventArgs e) { DialogResult = DialogResult.OK; db = new Database(NameTextBox.Text, ServerTextBox.Text, (int)PortNUD.Value, SchemaTextBox.Text); JsonMgr.SaveDatabase(db); Close(); }
private void OKBtn_Click(object sender, EventArgs e) { DialogResult = DialogResult.OK; db = new Database(NameTextBox.Text, ServerTextBox.Text, (int)PortNUD.Value, SchemaTextBox.Text); JsonMgr.SaveDatabase(db); Close(); }