Exemplo n.º 1
0
        private void CustomerHistory_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 <HistoryModel> lm = CustomerHistoryDA.GetCustomerHistory(Config.VBR4000Connection);

            BindList(lm);
        }