Exemplo n.º 1
0
        private void getVendorType()
        {
            cbxVendorType.DataSource = EnumWithName <VendorType> .ParseEnum();

            cbxVendorType.DisplayMember = "NameValue";
            cbxVendorType.ValueMember   = "Value";
        }
Exemplo n.º 2
0
        private void getVendorStatus()
        {
            cbxStatus.DataSource = EnumWithName <VendorStatus> .ParseEnum();

            cbxStatus.DisplayMember = "NameValue";
            cbxStatus.ValueMember   = "Value";
        }
Exemplo n.º 3
0
        private void getCustomerStatus()
        {
            cbxStatus.DataSource = EnumWithName <CustomerStatus> .ParseEnum();

            cbxStatus.DisplayMember = "NAMEValue";
            cbxStatus.ValueMember   = "VALUE";
        }
Exemplo n.º 4
0
        private void getCustomerType()
        {
            cbxCustomerType.DataSource = EnumWithName <CustomerType> .ParseEnum();

            cbxCustomerType.DisplayMember = "NAMEValue";
            cbxCustomerType.ValueMember   = "VALUE";
        }
Exemplo n.º 5
0
        private void getIndustrials()
        {
            cbxIndustry.DataSource = EnumWithName <CustomerIndustry> .ParseEnum();

            cbxIndustry.DisplayMember = "NAMEValue";
            cbxIndustry.ValueMember   = "VALUE";
        }
Exemplo n.º 6
0
 public static DataTable PermissionList() => EnumWithName <UserPermission> .ParseEnum().ToDataTable();