Exemple #1
0
 /// <summary>
 /// //加载属性表
 /// </summary>
 private void PropertyPanel_Shown(object sender, System.EventArgs e)
 {
     totalRecords            = property.GetProperties();
     dataGridView.DataSource = totalRecords.Copy();
     for (int i = 0; i < dataGridView.ColumnCount; i++)
     {
         dataGridView.Columns[i].SortMode = DataGridViewColumnSortMode.NotSortable;
     }
     lblFeatureName.Text = property.FeatureName;
     ShowedRecordNum     = totalRecords.Rows.Count;
     SetSelections();
 }