Ejemplo n.º 1
0
        private void Get_Customer_list()
        {
            CC_lbl.Show();
            cust_listBox.Show();
            SC_lbl.Show();

            last_listbox.Show();
            List <Customer> customers = this.context.Customer.Where(s => s.Big_small.Equals('S')).ToList();


            foreach (Customer c in customers)
            {
                cust_listBox.Items.Add(c.ID + " " + c.First_Name + " " + c.Last_Name);
            }
        }
Ejemplo n.º 2
0
        private void HideElements()
        {
            cust_listBox.Hide();
            CC_lbl.Hide();
            SC_lbl.Hide();

            start_d_lbl.Hide();
            end_d_lbl.Hide();


            start_date.Hide();
            end_date.Hide();

            last_listbox.Hide();
            undo_btn.Hide();
            conf_btn.Hide();
            exu1_lbl.Hide();
            excu2_lbl.Hide();
            undo2_btn.Hide();

            excu_listbox.Hide();
            sExcu_listbox.Hide();
        }