예제 #1
0
        public FormOutboundOrder(string name)
        {
            InitializeComponent();
            getname = name;
            _model  = new FishEntity.OutboundOrderEntity();
            _bll    = new FishBll.Bll.OutboundOrderBll();

            InitDataUtil.BindComboBoxData(txttype, FishEntity.Constant.FishClass, true);
            cmbCountry.SelectedValueChanged -= cmbCountry_SelectedValueChanged;
            InitDataUtil.BindComboBoxData(cmbCountry, FishEntity.Constant.CountryType, true);
            cmbCountry.SelectedValueChanged += cmbCountry_SelectedValueChanged;
            InitDataUtil.BindComboBoxData(cmbBrands, FishEntity.Constant.Brand, true);
            BindCountryBrandData();
        }
예제 #2
0
 public FormOutboundAssociation(string Numbering)
 {
     InitializeComponent(); ReadColumnConfig(dataGridView1, "Set_117");
     tmiQuery.Visible    = false;
     tmiSave.Visible     = false;
     tmiReview.Visible   = false;
     tmiprint.Visible    = false;
     tmiPrevious.Visible = false;
     tmiNext.Visible     = false;
     tmiModify.Visible   = false;
     tmiExport.Visible   = false;
     tmiDelete.Visible   = false;
     tmiClose.Visible    = false;
     tmiCancel.Visible   = false;
     tmiAdd.Visible      = true;
     _bll    = new FishBll.Bll.OutboundOrderBll();
     name    = Numbering; Query();
     getname = Numbering;
 }