File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
docs/snippets/cpp/VS_Snippets_Winforms
System.Windows.Forms.ComboBoxSelectedText/CPP
System.Windows.Forms.NotifyIconExample/CPP
System.Windows.Forms.TrackBarExample/CPP
System.Windows.Forms.TreeViewAndPrintPreview/CPP Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public ref class Form1: public System::Windows::Forms::Form
16
16
17
17
// This call is required by the Windows Form Designer.
18
18
InitializeComponent ();
19
- InitalizeComboBoxAndTextBoxes ();
19
+ InitializeComboBoxAndTextBoxes ();
20
20
this ->comboBox1 ->SelectionChangeCommitted += gcnew EventHandler ( this , &Form1::comboBox1_SelectionChangeCommitted );
21
21
22
22
// Add any initialization after the InitializeComponent() call
@@ -68,7 +68,7 @@ public ref class Form1: public System::Windows::Forms::Form
68
68
System::Windows::Forms::TextBox^ textbox1;
69
69
70
70
private:
71
- void InitalizeComboBoxAndTextBoxes ()
71
+ void InitializeComboBoxAndTextBoxes ()
72
72
{
73
73
this ->comboBox1 = gcnew System::Windows::Forms::ComboBox;
74
74
this ->comboBox1 ->Location = Point (25 ,150 );
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public private:
69
69
array<MenuItem^>^temp1 = {this ->newItem ,this ->openItem ,this ->saveItem };
70
70
this ->fileItem ->MenuItems ->AddRange ( temp1 );
71
71
72
- // Initalize the optionsMenu item and its contents.
72
+ // Initialize the optionsMenu item and its contents.
73
73
this ->optionsMenu ->Index = 1 ;
74
74
this ->optionsMenu ->Text = " Options" ;
75
75
this ->viewItem ->Index = 0 ;
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public ref class Form1: public System::Windows::Forms::Form
65
65
}
66
66
67
67
// <snippet1>
68
- // Initalize the NofifyIcon object's shortcut menu.
68
+ // Initialize the NofifyIcon object's shortcut menu.
69
69
void InitializeContextMenu ()
70
70
{
71
71
array<MenuItem^>^menuList = {gcnew MenuItem ( " Sign In" ),gcnew MenuItem ( " Get Help" ),gcnew MenuItem ( " Open" )};
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ public ref class Form1: public System::Windows::Forms::Form
88
88
internal:
89
89
System::Windows::Forms::TrackBar^ TrackBar1;
90
90
91
- // Initalize the TrackBar and add it to the form.
91
+ // Initialize the TrackBar and add it to the form.
92
92
private:
93
93
void InitializeTrackBar ()
94
94
{
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ public ref class Form1: public System::Windows::Forms::Form
179
179
// Declare a PrintDocument object named document.
180
180
System::Drawing::Printing::PrintDocument^ document;
181
181
182
- // Initalize the dialog.
182
+ // Initialize the dialog.
183
183
void InitializePrintPreviewDialog ()
184
184
{
185
185
You can’t perform that action at this time.
0 commit comments