Пример #1
0
        public Form1()
        {
            InitializeComponent();
            SalesInfoCollection sales = new SalesInfoCollection();

            sfDataGrid.DataSource     = sales.YearlySalesDetails;
            this.sfDataGrid.DrawCell += SfDataGrid_DrawCell;
            GridSettings();
        }
Пример #2
0
        public Form1()
        {
            InitializeComponent();
            SalesInfoCollection sales = new SalesInfoCollection();

            sfDataGrid.DataSource     = sales.YearlySalesDetails;
            this.sfDataGrid.DrawCell += SfDataGrid_DrawCell;
            GridSettings();
            this.calculationUnitComboBox.SelectedIndex = 0;
        }