Example #1
0
 private void DatabaseControl_FormClosed(object sender, FormClosedEventArgs e)
 {
     _inst = null;
 }
Example #2
0
 private void dataBaseToolStripMenuItem_Click(object sender, EventArgs e)
 {
     DatabaseControl.Instance(_dataService, _configInfo).Show();
 }
Example #3
0
 public static DatabaseControl Instance(IDatabaseService dataService, ConfigInfo configInfo)
 {
     return(_inst ?? (_inst = new DatabaseControl(dataService, configInfo)));
 }