Posts by Welisson Silva • 1 point
4 posts
-
0
votes1
answer58
viewsA: Correct way to bind a Datagridview
Slow with just this amount of records? Pretty weird even... I usually fill out a generic list and step via a loop, I think it’s faster. Datatable uses a lot of computer memory, many even indicate…
-
0
votes4
answers737
viewsA: How do I close the form I’m in?
I do so and it works well: Hide(); using (var homeScreen = new MdlHomeScreen()) { homeScreen.Closed += (s, args) => Close(); homeScreen.ShowDialog(); }
-
0
votes3
answers73
viewsA: Mark All Checkbox in a groupbox
I usually do this: foreach (Control ctl in Gbx.Controls) { if (ctl is CheckBox) ((CheckBox)ctl).Checked = true; }
-
0
votes4
answers1286
viewsA: How many parameters should a method have?
It is not a rule! As quoted by other friends, it should be take into account the need for work. Parameter-less: var product = new BllProduct { Code = TxtQueryByCode.Text, Size = TxtQueryBySize.Text,…