コード例 #1
0
ファイル: Form1.cs プロジェクト: MuthusamyPonraj/Windows
        public Form1()
        {
            InitializeComponent();
            SalesInfoCollection sales = new SalesInfoCollection();

            sfDataGrid.DataSource     = sales.YearlySalesDetails;
            this.sfDataGrid.DrawCell += SfDataGrid_DrawCell;
            GridSettings();
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: tzvis1/winforms-demos
        public Form1()
        {
            InitializeComponent();
            SalesInfoCollection sales = new SalesInfoCollection();

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