private void lblDatabaseName_Click(object sender, EventArgs e) { if (!ActiveDatabase) return; using (var form = new Dialogs.EditDatabase(_controller, ActiveDatabaseId)) { form.ShowDialog(); if (!form.Success) return; } UpdateControl(); }
private void lblDatabaseName_Click(object sender, EventArgs e) { if (!ActiveDatabase) { return; } using (var form = new Dialogs.EditDatabase(_controller, ActiveDatabaseId)) { form.ShowDialog(); if (!form.Success) { return; } } UpdateControl(); }