예제 #1
0
 /// <summary>
 /// Fills the listbox with script editor caller + data fields, calc fields, params and report fields..
 /// </summary>
 /// <param name="report">The report.</param>
 /// <param name="ds">The data source to get dbfields from.</param>
 /// <param name="contextKind">The context kind.</param>
 public void FillWithFields(C1FlexReport report, DataSource ds, ScriptEditorContextKind contextKind)
 {
     this.BeginUpdate();
     this.Items.Clear();
     ScriptValueList.FillListWithFields(this.Items, report, ds, contextKind, false);
     this.EndUpdate();
 }
예제 #2
0
 /// <summary>
 /// Fills the listbox with script editor caller + sort direction values.
 /// </summary>
 public void FillWithSortDirections()
 {
     this.BeginUpdate();
     this.Items.Clear();
     ScriptValueList.FillListWithSortDirections(this.Items);
     this.EndUpdate();
 }