public SPR_report_UserControl() { this.InitializeComponent(); if (Utility.Is_DWRIN_admin()) { this.upload_button.Visible = true; } UltraGrid_helper.InitGrid(this.main_ultraGrid); UltraTextEditor_setting setting_pending = new UltraTextEditor_setting(); setting_pending.AddButton("Approve", "OK"); setting_pending.AddButton("Reject", "Cancel"); setting_pending.AddButton("ViewData"); this.pending_textEditor = UltraTextEditor_helper.CreateTextEditorButtons(setting_pending); this.pending_textEditor.EditorButtonClick += this.ActionButtonEvent_textEditor; UltraTextEditor_setting setting_appr = new UltraTextEditor_setting(); setting_appr.AddButton("Restore", "Restore"); setting_appr.AddButton("ViewData"); this.appr_textEditor = UltraTextEditor_helper.CreateTextEditorButtons(setting_appr); this.appr_textEditor.EditorButtonClick += this.ActionButtonEvent_textEditor; UltraTextEditor_setting setting_reject = new UltraTextEditor_setting(); setting_reject.AddButton("Restore", "Restore"); setting_reject.AddButton("ViewData"); this.rej_textEditor = UltraTextEditor_helper.CreateTextEditorButtons(setting_reject); this.rej_textEditor.EditorButtonClick += this.ActionButtonEvent_textEditor; }
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; }
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); }
public Form_DividendSelector() { this.InitializeComponent(); this.sourctDT.Columns.Add("DividendIndex", typeof(int)); this.sourctDT.Columns.Add("CUSIP"); this.sourctDT.Columns.Add("RecordDate", typeof(DateTime)); this.sourctDT.Columns.Add("Depository"); this.sourctDT.Columns.Add("Issue"); this.main_ultraGrid.DataSource = this.sourctDT; this.main_ultraGrid.DisplayLayout.Bands[0].Columns["DividendIndex"].ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always; this.main_ultraGrid.DisplayLayout.Bands[0].Columns["DividendIndex"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Button; UltraGrid_helper.InitGrid(this.main_ultraGrid); }
public XBRL_UserControl() { this.InitializeComponent(); UltraGrid_helper.InitGrid(this.main_ultraGrid, true, true); this.Prepare_actionColumn(); }