Exemplo n.º 1
0
        public frmEmployeeDetail()
        {
            InitializeComponent();
            empFun = new frmEmployeeFunction();

            btnClr.Visible = false;
            itemPanel1.Items.Remove(itemContainer1);
            itemPanel1.Items.Remove(itemContainer4);

            comboBox1.SelectedIndex = 0;
        }
Exemplo n.º 2
0
        public frmEmployees()
        {
            InitializeComponent();
            empFun = new frmEmployeeFunction();
            posFun = new frmPosFunction();

            loadPlaceHolder();

            Control[] tempRequire = { txtEn1, txtEn2, txtEmail, txtPhone, txtSalary };
            requirement = tempRequire;

            btnnext.Enabled = false;
        }
Exemplo n.º 3
0
        public frmCustomer()
        {
            InitializeComponent();
            cusFun = new frmCustomerFunction();
            empFun = new frmEmployeeFunction();
            dataGridView1.MultiSelect = false;

            Control[] tempRequire = { txtEn1, txtEn2, txtEmail, txtphone };
            requirement              = tempRequire;
            txtphone.TextMaskFormat  = MaskFormat.ExcludePromptAndLiterals;
            txtPhone2.TextMaskFormat = MaskFormat.ExcludePromptAndLiterals;

            loadPlaceHolder();
        }
Exemplo n.º 4
0
        //BindingSource binding = new BindingSource();

        public frmCustomerDetail()
        {
            InitializeComponent();
            cusFun = new frmCustomerFunction();
            empFun = new frmEmployeeFunction();

            btnClr.Visible = false;
            itemPanel1.Items.Remove(itemContainer1);
            itemPanel1.Items.Remove(itemContainer4);

            //customersDataGridView.DataSource = binding;

            //Helper.BindGridView("SELECT * FROM Customers;", binding, customersDataGridView);
            //Helper.AutoFitColumns(customersDataGridView);
        }