Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #37.0K
~10.2K People Reached
Favorite Forums

5 Posted Topics

Member Avatar for megdan

Hi, In the second form create a constructor that takes a string as a parameter. There, after `InitializeComponent` method, assign your string to the label. For example: public Form2(string selectedValue) { InitializeComponent(); label1.Text = selectedValue; } You can get your selected item and display another form in the following way: …

Member Avatar for megdan
0
205
Member Avatar for imobby

Hi, Set Form's `KeyPreview` property to True. Otherwise your handler won't be called. Then you can use KeyPress or KeyDown event.

Member Avatar for mvxg
0
297
Member Avatar for ingus16

Hi again, the code foreach (string key_value in key.GetValue("NetCfgInstanceId").ToString()) actually doesn't have any sense. What you want to do is to get value of NetCfgInstanceId in every subkey. `key.GetValue(NetCfgInstanceId) `returns a single value (string), there's nothing to enumerate. Compiler doesn't allow you to do this, because string can be divided …

Member Avatar for ingus16
0
2K
Member Avatar for ingus16

You can remove spaces exactly like Mitja Bonca said. And you don't have to care about removing zeros - you can try to parse your IP address like that (based on Mitja Bonca's code): string input = "23 .1 .001.200"; if (input.Contains(" ")) input = input.Replace(" ", ""); IPAddress ipAddress; …

Member Avatar for ingus16
0
7K
Member Avatar for LuckyBec

Well, actually pseudocode doesn't have any fixed syntax and I think everyone writes it on one's own way, but usually its style is similar to Pascal (in my opinion). The most important thing is to make it understandable ;) I would ride something like that: min = 10 max = …

Member Avatar for mvxg
0
232

The End.