Posts by Guilherme Barros • 21 points
4 posts
-
1
votes2
answers1129
viewsA: Permission Control in c# and Windows Form
1 - A table in the database with bool fields to save the permission (a field for each item you want to change the permission) 2 - An object on your system to receive the database permission data; 3-…
-
0
votes4
answers590
viewsA: Interaction between forms?
Bruno, on the Form1 button that calls form2 you enter the code: Form2 frm = new Form2(); frm.ShowDialog(); On the button that closes Form2 and returns to Form1 you can put the following code. //não…
-
1
votes2
answers622
viewsA: Constructor method for calculating age
You have done several methods (as you did before) to return and set the values in the properties, but there is no need to use so you can write the properties this way: public string nome { get; set;…
-
0
votes3
answers248
viewsA: Using Cellclick to load data from a record
I think it would look good. Explaining: As you added an object to the grid, you at the time to call the line can give a cast by converting it to that object and calling the property you want.…