public MainWindow() { InitializeComponent(); list_combo = new list_combo(srv_combo, to_combo, from_combo, date_combo, log_list, progress); restore = new restore(list_combo); real_base = new ArrayList(); srv_combo.SelectedItem = ""; from_combo.SelectedItem = ""; to_combo.SelectedItem = ""; date_combo.SelectedItem = ""; start_btrn.IsEnabled = false; stop_btrn.IsEnabled = false; real_base.Clear(); real_base.Add("diskont"); real_base.Add("uppcons"); real_base.Add("bux"); real_base.Add("zup"); real_base.Add("TBGarbo"); real_base.Add("tort"); real_base.Add("DK"); real_base.Add("FinPlanSep"); real_base.Add("Garbo_Trade"); real_base.Add("msdb"); real_base.Add("master"); real_base.Add("model"); real_base.Add("tempdb"); real_base.Add("pubs"); real_base.Add("TorgBuh_Back"); }
public restore(list_combo list_combo) { this.list_combo = list_combo; }