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 FormProcessStateForSaleOne( )
        {
            InitializeComponent( ); ReadColumnConfig(dataGridView1, "Set_129");

            _bll         = new FishBll.Bll.ProcessStateForSaleOneBll( );
            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   = "  ";
        }