File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
snippets/csharp/VS_Snippets_Winforms/Classic CheckedListBox Example/CS Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,17 @@ public class Form1 : System.Windows.Forms.Form
1717 private System . Windows . Forms . Button button2 ;
1818 private System . Windows . Forms . ListBox listBox1 ;
1919 private System . Windows . Forms . Button button3 ;
20- private System . ComponentModel . Container components ;
20+ private System . ComponentModel . Container components ;
2121
2222 public Form1 ( )
2323 {
24- InitializeComponent ( ) ;
24+ InitializeComponent ( ) ;
2525
2626 // Sets up the initial objects in the CheckedListBox.
27- string [ ] myFruit = { "Apples" , "Oranges" , "Tomato" } ;
27+ string [ ] myFruit = { "Apples" , "Oranges" , "Tomato" } ;
2828 checkedListBox1 . Items . AddRange ( myFruit ) ;
2929
30- // Changes the selection mode from double-click to single click.
30+ // Changes the selection mode from double-click to single click.
3131 checkedListBox1 . CheckOnClick = true ;
3232 }
3333
You can’t perform that action at this time.
0 commit comments