Example #1
0
 public UcLignesSqlImport(DeclarationSqlController controller)
     : this()
 {
     if (controller == null)
     {
         throw new ArgumentNullException("controller");
     }
     _controller = controller;
     InitGridLigneDeclaration();
     //btExporter.Click += ExportToCsv;
 }
Example #2
0
 public UcImportSqlDeclaration(DeclarationSqlController controller)
     : this()
 {
     if (controller == null)
     {
         throw new ArgumentNullException("controller");
     }
     _controller = controller;
     InitForm();
     InitErrorProvider();
 }
Example #3
0
 public FrmImportSqlDeclaration(IUserControlFactory ucFactory, DeclarationSqlController controller)
     : this()
 {
     if (ucFactory == null)
     {
         throw new ArgumentNullException("ucFactory");
     }
     if (controller == null)
     {
         throw new ArgumentNullException("controller");
     }
     _ucFactory  = ucFactory;
     _controller = controller;
 }