Ejemplo n.º 1
0
        private void frmCariHrListesiv3_Load(object sender, EventArgs e)
        {
            clsTablolar.csEnumDanDtVer dt = new clsTablolar.csEnumDanDtVer();

            checkedListBoxControl_IslemTipi.DataSource    = dt.ToDataTable(typeof(clsTablolar.cari.CariHr.CariHrEntegrasyon));
            checkedListBoxControl_IslemTipi.DisplayMember = "name";
            checkedListBoxControl_IslemTipi.ValueMember   = "value";
            //checkedListBoxControl_IslemTipi.CheckMember = "value";

            lookUpEdit1.Properties.DataSource    = clsTablolar.cari.csCariGrup.CariGrupListesi(SqlConnections.GetBaglanti());
            lookUpEdit1.Properties.DisplayMember = "CariGrup";
            lookUpEdit1.Properties.ValueMember   = "CariGrupID";

            KasaGetir();

            deIlkTarih.DateTime = Arama.IlkTarih;

            if (AramaMiListeMi == NasilAcicak.Arama)
            {
                btnCariHrAcItem.Visibility     = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
                btnCariKartAcItem.Visibility   = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
                dropDownButton1Item.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
            }
            else
            {
                btnCariSecItem.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
            }
        }
        public DataTable dt_BarkodTipleri()
        {
            DtVer = new clsTablolar.csEnumDanDtVer();

            return(DtVer.ToDataTable(typeof(BarkodTipleri)));
        }