示例#1
0
 public static void CreateAdd(ILogicAdd logicAdd, IDialog dialog)
 {
     if (dialog is CDialog)
     {
         (dialog as CDialog).DialogAdd = new CDialogAdd(logicAdd, dialog);
     }
 }
示例#2
0
 internal CDialogAdd(ILogicAdd logicAdd, IDialog dialog)
 {
     InitializeComponent();
     _dialog   = dialog as CDialog;
     _logicAdd = logicAdd;
 }