private void FormSalesTables_Load(object sender, System.EventArgs e)
        {
            this.dtpStart.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dtpStart.CustomFormat = "  ";
            this.dtpEnd.Format         = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dtpEnd.CustomFormat   = "  ";

            InitDataUtil.BindComboBoxData(cmbCountry, FishEntity.Constant.CountryType, true);

            cmbId.DataSource         = _bll.getCode();
            cmbId.DisplayMember      = "code";
            cobCodeNum.DataSource    = _bll.getCodeNum();
            cobCodeNum.DisplayMember = "code";
            menuStrip1.Visible       = true;
            tmiAdd.Visible           = false;
            tmiModify.Visible        = false;
            tmiDelete.Visible        = false;
            tmiExport.Visible        = false;
            tmiNext.Visible          = false;
            tmiPrevious.Visible      = false;
            tmiSave.Visible          = false;
            tmiCancel.Visible        = false;
            tmiClose.Visible         = true;
            tmiQuery.Visible         = true;
            cmbId.SelectedIndex      = -1;
            cobCodeNum.SelectedIndex = -1;
            DealDataGridViewHeader();
        }
        public FormAccountsReceivable( )
        {
            InitializeComponent( );
            FishBll.Bll.SalerequisitionBll _bll = new FishBll.Bll.SalerequisitionBll( );


            cmbYfId.DisplayMember = "code";
            cmbYfId.DataSource    = _bll.getCode( );
            cmbYfId.SelectedIndex = -1;

            tmiExport.Visible   = true;
            tmiQuery.Visible    = true;
            tmiAdd.Visible      = true;
            tmiDelete.Visible   = false;
            tmiModify.Visible   = false;
            tmiNext.Visible     = false;
            tmiPrevious.Visible = false;
            tmiSave.Visible     = true;
            tmiCancel.Visible   = true;
            tmiClose.Visible    = true;

            ReadColumnConfig(dataGridView1, "Set_SystemDataSet");
            ReadColumnConfig(dataGridView2, "Set_SystemDataSet");
        }