Наследование: SourceGrid.Cells.Editors.EditorControlBase
Пример #1
0
 /// <summary>
 /// todoComment
 /// </summary>
 /// <param name="AGrid"></param>
 /// <param name="ASourceTable"></param>
 public void CreateColumns(TSgrdDataGrid AGrid, PFoundationProposalDetailTable ASourceTable)
 {
     SourceGrid.Cells.Editors.ComboBox      ProjectEditor;
     SourceGrid.Cells.Editors.TextBoxButton MinistryEditor;
     ProjectEditor = new SourceGrid.Cells.Editors.ComboBox(typeof(String));
     ProjectEditor.EditableMode  = EditableMode.Focus;
     MinistryEditor              = new SourceGrid.Cells.Editors.TextBoxButton(typeof(Int64));
     MinistryEditor.EditableMode = EditableMode.Focus;
     AGrid.AddTextColumn("Projects", ASourceTable.ColumnProjectMotivationDetail, -1, ProjectEditor);
     AGrid.AddTextColumn("Key Ministries", ASourceTable.ColumnKeyMinistryKey, -1, MinistryEditor);
     AGrid.AddTextColumn("Areas", ASourceTable.ColumnAreaPartnerKey, -1, MinistryEditor);
     AGrid.AddTextColumn("Fields", ASourceTable.ColumnFieldPartnerKey);
 }
Пример #2
0
 /// <summary>
 /// todoComment
 /// </summary>
 /// <param name="AGrid"></param>
 /// <param name="ASourceTable"></param>
 public void CreateColumns(TSgrdDataGrid AGrid, PFoundationProposalDetailTable ASourceTable)
 {
     SourceGrid.Cells.Editors.ComboBox ProjectEditor;
     SourceGrid.Cells.Editors.TextBoxButton MinistryEditor;
     ProjectEditor = new SourceGrid.Cells.Editors.ComboBox(typeof(String));
     ProjectEditor.EditableMode = EditableMode.Focus;
     MinistryEditor = new SourceGrid.Cells.Editors.TextBoxButton(typeof(Int64));
     MinistryEditor.EditableMode = EditableMode.Focus;
     AGrid.AddTextColumn("Projects", ASourceTable.ColumnProjectMotivationDetail, -1, ProjectEditor);
     AGrid.AddTextColumn("Key Ministries", ASourceTable.ColumnKeyMinistryKey, -1, MinistryEditor);
     AGrid.AddTextColumn("Areas", ASourceTable.ColumnAreaPartnerKey, -1, MinistryEditor);
     AGrid.AddTextColumn("Fields", ASourceTable.ColumnFieldPartnerKey);
 }