public FormProcessStateForPurOne( )
        {
            InitializeComponent( ); ReadColumnConfig(dataGridView1, "Set_127");

            _bll            = new FishBll.Bll.ProcessStateForPurOneBll( );
            Authority       = new ProcessControl( );
            tableView       = new DataTable( );
            tableErrorFK    = new DataTable( );
            fishIdTable     = new DataTable( );
            tableWeiFK      = new DataTable( );
            tableErrorHWFK  = new DataTable( );
            tableWeiWTFK    = new DataTable( );
            tableKouWTFK    = new DataTable( );
            TableErrorForSK = new DataTable( );
            TableWeiForSK   = new DataTable( );

            DealDataGridViewHeader( );
            User( );
            fishIdTable = _bll.getFishTable( );
            DataRow row = fishIdTable.NewRow( );

            fishIdTable.Rows.InsertAt(row, 0);
            comfishId.DataSource    = fishIdTable;
            comfishId.DisplayMember = "product_id";

            this.dtpStart.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dtpStart.CustomFormat = "  ";
            this.dtpEnd.Format         = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dtpEnd.CustomFormat   = "  ";
        }
 public FormProcessStateForMacOne()
 {
     InitializeComponent(); ReadColumnConfig(dataGridView1, "Set_126");
     _bll                       = new FishBll.Bll.ProcessStateForSaleOneBll();
     tableView                  = new DataTable();
     Authority                  = new ProcessControl();
     tableErrorFK               = new DataTable();
     this.dtpStart.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpStart.CustomFormat = "  ";
     this.dtpEnd.Format         = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpEnd.CustomFormat   = "  ";
 }
        public FormProcessStateForSaleTwo( )
        {
            InitializeComponent( ); ReadColumnConfig(dataGridView1, "Set_130");

            _bll         = new FishBll.Bll.ProcessStateForSaleTwoBll( );
            tableView    = new DataTable( );
            Authority    = new ProcessControl( );
            tableErrorFK = new DataTable( );

            DealDataGridViewHeader( );
            User( );
            table = _bll.getTableFishId( );
            DataRow row = table.NewRow( );

            table.Rows.InsertAt(row, 0);
            comfishId.DataSource       = table;
            comfishId.DisplayMember    = "fishId";
            this.dtpStart.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dtpStart.CustomFormat = "  ";
            this.dtpEnd.Format         = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dtpEnd.CustomFormat   = "  ";
        }