windows forms

  1. S

    Question Why My List<string> Saved In User Settings doesn´t Save the strings?

    Good Day, I Have A List<string> Saved In My App User Settings, this List is supposed to save the file paths of a openfiledialog to then deserialize it, but I already Called the method Save(); And even the method Upgrade(); After adding the strings to the list, but this strings, doesn´t save. Why?
  2. K

    Question Why are programmatically added controls not shown?

    Does anyone know why these controls are not displayed on the form? When I add the controls over the design and the algorithm writes the properties to the InitializeComponents method, everything works great. But if I use the same code from the designer in the form constructor with just different...
  3. M

    Windows Forms application with a shared database

    I am pretty much new in C# programming and desktop applications development. Still, I have a deep understanding of OOP concepts, patterns etc., because I come from other languages/platforms. What I am interested in, are some guidelines / best practices... I am about to to make an app that will...
  4. G

    Question Validating Cell if there is same info

    Hello guys I have 1 question How Can i check cell if there is same Data or not . For Example here you see that there are many 2550000 so i want to code that checks this row and see if there is more than 4 same info just MessageBox.Show("there are too many same data"+(the data what is too...
  5. J

    Issue calling third party C code

    Hello I have a third party api that I am using within a C# Windows form I am having trouble with one piece of it where I am trying to increment through a ptr to a structure that has a ptr to ten structures within it and was hoping for some advice This is my code for a function call - In a...
  6. sanjeewa.nibm

    DataGridview update and Datagridview refresh

    What would be the similarities and differences in DataGridview.Update() and Datagridview.Refresh() methods What are the places to use DataGridview.Update() and Datagridview.Refresh() I'm little confused
  7. J

    Windows firewall question

    Hi there, I am working on an application which makes the user's computer act as a server in a local network by binding itself to a random open port. The user gets a popup letting the them know that it has blocked my application or some of its features. What I am trying to understand is this...
  8. MrDevo

    Guess the number

    Hi. I am pretty new to C# and trying to get this game to work. I got a textbox where I type the number that I have in mind and the computer must guess it using bisection algorithm but I don't understand why the loop won't work since the condition is true. Here's my code. The biggeest and the...
Top Bottom