コード例 #1
0
        private void XBRL_UserControl_Load(object sender, EventArgs e)
        {
            UltraGrid_helper.SetDataSource(this.main_ultraGrid, this.sf_master.sourceDT);
            this.formFilter = new FilterForm(this.sf_master.sourceDT);
            this.RefreshData(null);

            this.main_ultraGrid.DisplayLayout.Bands[0].Columns[UltraGrid_helper.ActionColumnName].ButtonDisplayStyle =
                Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always;
            UltraGrid_helper.SetMaxWidth(this.main_ultraGrid, 220);
        }
コード例 #2
0
ファイル: DailyJobs_form.cs プロジェクト: huangss0/GTS0
        public DailyJobs_form()
        {
            this.InitializeComponent();

            this.sourceDT = this.Get_dailyJobs_dt();
            UltraGrid_helper.SetDataSource(this.main_ultraGrid, this.sourceDT);
            UltraGrid_helper.InitGrid(this.main_ultraGrid);

            this.main_ultraGrid.DisplayLayout.Bands[0].Columns["ID"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Button;
            this.main_ultraGrid.DisplayLayout.Bands[0].Columns["ID"].ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always;
        }
コード例 #3
0
ファイル: MainForm_init.cs プロジェクト: huangss0/GTS0
        public MainForm()
        {
            this.InitializeComponent();

            UltraGrid_helper.SetDataSource(this.main_ultraGrid, this.tsk_vc.sourceDT);
            UltraGrid_helper.InitGrid(this.main_ultraGrid, false, false);
            UltraGrid_helper.Set_readOnly_columns(this.main_ultraGrid, false, 0);
            UltraGrid_helper.SetMaxWidth(this.main_ultraGrid, 250);

            this.main_ultraGrid.DisplayLayout.Bands[0].Columns["TaskDetailID"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Button;
            this.main_ultraGrid.DisplayLayout.Bands[0].Columns["TaskDetailID"].ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always;
            this.main_ultraGrid.DisplayLayout.Bands[0].SortedColumns.Add("TaskDetailID", false);
        }