internal CDialogSearchResult(IDialog dialogMain) { InitializeComponent(); if (dialogMain is CDialogMain) { _dialogMain = dialogMain as CDialogMain; } else { CErrorHandling.ShowAndStop("Fehler beim Initialisieren von CDialogSearchResult", "Programmabbruch"); } }
internal CDialogSearch(ILogicSearch logicSearch, IDialog dialog) { InitializeComponent(); if (dialog is CDialogMain) { _dialogMain = dialog as CDialogMain; } else { CErrorHandling.ShowAndStop("Fehler beim Initialisieren von CDialogSearch", "Programmabbruch"); } _logicSearch = logicSearch; _videoSearch = new VideoDtoSearch(); }
internal CDialogLoanDelete(ILogic logic, IDialog dialogMain) { InitializeComponent(); _dialogMain = dialogMain as CDialogMain; _logic = logic; }