Esempio n. 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);
        }
Esempio n. 2
0
        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);
        }