コード例 #1
0
 internal CDialogSearchResult(IDialog dialogMain)
 {
     InitializeComponent();
     if (dialogMain is CDialogMain)
     {
         _dialogMain = dialogMain as CDialogMain;
     }
     else
     {
         CErrorHandling.ShowAndStop("Fehler beim Initialisieren von CDialogSearchResult", "Programmabbruch");
     }
 }
コード例 #2
0
 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();
 }
コード例 #3
0
 internal CDialogLoanDelete(ILogic logic, IDialog dialogMain)
 {
     InitializeComponent();
     _dialogMain = dialogMain as CDialogMain;
     _logic      = logic;
 }