Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 16th, 2012  |  syntax: None  |  size: 0.78 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Eazfuscator. An error occurs when using the DataGridView control
  2. IList<Users> myData = new List<Users>();
  3.  
  4. myData = HelperUsers.GetUsersList(); // return IList<Users>
  5.  
  6. BindingSource bsUsers = new BindingSource { DataSource = myData };
  7. dataGridViewUsers.DataSource = bsUsers;
  8.  
  9. dataGridViewUsers.Columns["Name"].HeaderText = "Name";
  10. dataGridViewUsers.Columns["LastName"].HeaderText = "Last name";
  11.  
  12. dataGridViewUsers.Invalidate();
  13.        
  14. dataGridViewUsers.Columns["Name"].HeaderText = "Name";
  15.        
  16. [System.Reflection.ObfuscationAttribute(Feature = "properties renaming")]
  17. class MyOneThousandAndThirdClass {
  18.     // ...
  19. }
  20.        
  21. class MyOneThousandAndFourthClass {
  22.  
  23.     [System.Reflection.ObfuscationAttribute(Feature = "renaming")]
  24.     public string DisplayName
  25.     {
  26.         get;
  27.         set;
  28.     }
  29.  
  30. }