Exemple #1
0
        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();
        }
Exemple #2
0
        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();
        }