private void method_3(ILayer ilayer_1, ListBoxItemCollection listBoxItemCollection_0) { listBoxItemCollection_0.Clear(); ITable table = this.method_2(); if (table != null) { string str = ""; string str2 = ""; if ((table as IDataset).Workspace.Type == esriWorkspaceType.esriLocalDatabaseWorkspace) { str = "["; str2 = "]"; } IFields fields = table.Fields; for (int i = 0; i < fields.FieldCount; i++) { IField field = fields.get_Field(i); if ((field.Type != esriFieldType.esriFieldTypeGeometry) && (field.Type != esriFieldType.esriFieldTypeBlob)) { listBoxItemCollection_0.Add(str + field.Name + str2); } } } }
private void method_18(ITable itable_1, ListBoxItemCollection listBoxItemCollection_0) { listBoxItemCollection_0.Clear(); string str = ""; string str2 = ""; try { if ((itable_1 as IDataset).Workspace.Type == esriWorkspaceType.esriLocalDatabaseWorkspace) { str = "["; str2 = "]"; } IFields fields = itable_1.Fields; for (int i = 0; i < fields.FieldCount; i++) { IField field = fields.get_Field(i); if ((((field.Type == esriFieldType.esriFieldTypeInteger) || (field.Type == esriFieldType.esriFieldTypeSingle)) || (field.Type == esriFieldType.esriFieldTypeDouble)) || (field.Type == esriFieldType.esriFieldTypeSmallInteger)) { listBoxItemCollection_0.Add(str + field.Name + str2); } } } catch { } }
private void method_3(ITable itable_1, ListBoxItemCollection listBoxItemCollection_0) { listBoxItemCollection_0.Clear(); string str = ""; string str2 = ""; try { if ((itable_1 as IDataset).Workspace.Type == esriWorkspaceType.esriLocalDatabaseWorkspace) { IWorkspace workspace = (itable_1 as IDataset).Workspace; if ((workspace.PathName != null) && (Path.GetExtension(workspace.PathName).ToLower() == ".mdb")) { str = "["; str2 = "]"; } } IFields fields = itable_1.Fields; for (int i = 0; i < fields.FieldCount; i++) { IField field = fields.get_Field(i); if ((field.Type != esriFieldType.esriFieldTypeGeometry) && (field.Type != esriFieldType.esriFieldTypeBlob)) { listBoxItemCollection_0.Add(str + field.Name + str2); } } } catch { } }
void DiplayActiveDetailFilter() { outputDetail.Clear(); outputDetail.Add("Detail filter:"); foreach (PivotGridField field in pivotGrid.Fields) { WriteFieldFilterDetail(field); } }
void DiplayActiveFilter() { output.Clear(); output.Add("Active filter:"); foreach (PivotGridField field in pivotGrid.Fields) { WriteFieldFilter(field); } }