Posts by Abner • 13 points
3 posts
-
0
votes1
answer36
viewsA: Conversion error when trying to popular a variable
If model.Items be the type List<CatalogItemResponse>, try this: model.Items = new List<CatalogItemResponse>(); model.Items.Add(qryMode);…
-
0
votes4
answers2496
viewsA: Do not open more than one form at the same time in C#
He also had this doubt. I followed the tip of Tiago de Abreu and it worked. Follows final code: if (Application.OpenForms.OfType<frmCad_Categoria>().Count() > 0) {…
-
-1
votes1
answer32
viewsQ: C# File path on other machines
I created a program that opens some powerpoit files. However I came across a question. Excerpt from the code: private void FitaBackupToolStripMenuItem_Click(object sender, EventArgs e) {…