示例#1
0
        private void CustomerList_Load(object sender, EventArgs e)
        {
            this.Width  = FormSize.Width(this.Tag.ToString());
            this.Height = FormSize.Heigth(this.Tag.ToString());

            int IFW = FormSize.Width(Singleton <Tree> .Instance.Tag.ToString());

            initialLocation.X = IFW;
            initialLocation.Y = 0;
            this.Location     = initialLocation;
            Application.DoEvents();
            List <CustomerModel> lm = CustomerDA.GetAllCustomer(Config.VBR4000Connection);

            BindList(lm);
        }
示例#2
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            List <CustomerModel> lm = CustomerDA.GetAllCustomer(Config.VBR4000Connection);

            BindList(lm);
        }