Skip to content

Commit 1b8b833

Browse files
authored
Merge pull request #10926 from changeworld/patch-8
Fix typo: Initalize -> Initialize
2 parents 94ccf3e + d61c044 commit 1b8b833

File tree

5 files changed

+6
-6
lines changed
  • docs/snippets/cpp/VS_Snippets_Winforms
    • System.Windows.Forms.ComboBoxSelectedText/CPP
    • System.Windows.Forms.MenuItemMergeOrder/CPP
    • System.Windows.Forms.NotifyIconExample/CPP
    • System.Windows.Forms.TrackBarExample/CPP
    • System.Windows.Forms.TreeViewAndPrintPreview/CPP

5 files changed

+6
-6
lines changed

docs/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxSelectedText/CPP/form1.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public ref class Form1: public System::Windows::Forms::Form
1616

1717
//This call is required by the Windows Form Designer.
1818
InitializeComponent();
19-
InitalizeComboBoxAndTextBoxes();
19+
InitializeComboBoxAndTextBoxes();
2020
this->comboBox1->SelectionChangeCommitted += gcnew EventHandler( this, &Form1::comboBox1_SelectionChangeCommitted );
2121

2222
//Add any initialization after the InitializeComponent() call
@@ -68,7 +68,7 @@ public ref class Form1: public System::Windows::Forms::Form
6868
System::Windows::Forms::TextBox^ textbox1;
6969

7070
private:
71-
void InitalizeComboBoxAndTextBoxes()
71+
void InitializeComboBoxAndTextBoxes()
7272
{
7373
this->comboBox1 = gcnew System::Windows::Forms::ComboBox;
7474
this->comboBox1->Location = Point(25,150);

docs/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MenuItemMergeOrder/CPP/form1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public private:
6969
array<MenuItem^>^temp1 = {this->newItem,this->openItem,this->saveItem};
7070
this->fileItem->MenuItems->AddRange( temp1 );
7171

72-
// Initalize the optionsMenu item and its contents.
72+
// Initialize the optionsMenu item and its contents.
7373
this->optionsMenu->Index = 1;
7474
this->optionsMenu->Text = "Options";
7575
this->viewItem->Index = 0;

docs/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconExample/CPP/form1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public ref class Form1: public System::Windows::Forms::Form
6565
}
6666

6767
// <snippet1>
68-
// Initalize the NofifyIcon object's shortcut menu.
68+
// Initialize the NofifyIcon object's shortcut menu.
6969
void InitializeContextMenu()
7070
{
7171
array<MenuItem^>^menuList = {gcnew MenuItem( "Sign In" ),gcnew MenuItem( "Get Help" ),gcnew MenuItem( "Open" )};

docs/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/CPP/form1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public ref class Form1: public System::Windows::Forms::Form
8888
internal:
8989
System::Windows::Forms::TrackBar^ TrackBar1;
9090

91-
// Initalize the TrackBar and add it to the form.
91+
// Initialize the TrackBar and add it to the form.
9292
private:
9393
void InitializeTrackBar()
9494
{

docs/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public ref class Form1: public System::Windows::Forms::Form
179179
// Declare a PrintDocument object named document.
180180
System::Drawing::Printing::PrintDocument^ document;
181181

182-
// Initalize the dialog.
182+
// Initialize the dialog.
183183
void InitializePrintPreviewDialog()
184184
{
185185

0 commit comments

Comments
 (0)