예제 #1
0
        private void LoadComboBox()
        {
            SelectedCbx sel = new SelectedCbx();

            cbxParentID.DataSource    = sel.CreateTreeDV(!flag);
            cbxParentID.DisplayMember = "DisplayMember";
            cbxParentID.ValueMember   = "ValueMember";
        }
예제 #2
0
        private void LoadComboBox()
        {
            SelectedCbx sel   = new SelectedCbx();
            var         model = sel.CreateTreeDV(false);

            this.cbxDonVi.DataSource    = model;
            this.cbxDonVi.DisplayMember = "DisplayMember";
            this.cbxDonVi.ValueMember   = "ValueMember";
        }