public static BackupController getInstance() { if (Instance == null) { Instance = new BackupController(); } return Instance; }
public DHBWBackup() { Controller = BackupController.getInstance(); InitializeComponent(); this.cbxFilter.SelectedIndex = 0; this.explorer1.ExplorerTreeV.NodeMouseClick += new TreeNodeMouseClickEventHandler(this.ExplorerTreeV_NodeMouseClick); this.explorerList1.ExListView.ItemChecked += new ItemCheckedEventHandler(ExListView_ItemChecked); this.explorerList1.PropertyChanged += new PropertyChangedEventHandler(currentDirectoryChanged); }