public WatchVariable(string variable, DataBaseWork DataBase) { this.Variable = variable; this.DataBase = DataBase; InitializeComponent(); Updater.Start(); VariableWatchBox.Text = String.Format("Переменная {0} из базы данных {1}", variable, DataBase.DataBaseName); }
public DBSettings(string DataBase) { InitializeComponent(); this.DataBase = new DataBaseWork(DataBase); f = new DBSettingsDesigner(this.DataBase); p = f.EditPanel; p.Top = 0; p.Left = 0; p.Height = this.Height; p.Width = this.Width; p.MaximumSize = new Size(0, 0); p.Size = this.Size; p.Anchor = (AnchorStyles.Left | AnchorStyles.Top); Controls.Add(p); }
//===================================================================================================================================================================== private void _AddressBook_Load(object sender, EventArgs e) { DBWorker = new DataBaseWork(); GetContactsCount(); }
public DBDesigner(string DBName) { this.CurrentDB = new DataBaseWork(DBName); InitializeComponent(); SortingTypeBox.SelectedIndex = 0; }
public DBSettingsDesigner(DataBaseWork DataBase) { this.DataBase = DataBase; InitializeComponent(); UpdateData(); }