Skip to content

Commit 368e4c0

Browse files
authored
Merge pull request #14072 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/visualstudio-docs (branch main)
2 parents 306a6bf + ae28f38 commit 368e4c0

File tree

24 files changed

+27
-27
lines changed

24 files changed

+27
-27
lines changed

docs/ide/reference/options-text-editor-csharp-advanced.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Select these check boxes to display dotted vertical lines between the curly brac
149149

150150
- Don't put ref or out on custom struct
151151

152-
Uncheck this checkbox to avoid potentially unintended cloning of structs by refencing existing struct objects when extracting an expression into a method call.
152+
Uncheck this checkbox to avoid potentially unintended cloning of structs by referencing existing struct objects when extracting an expression into a method call.
153153

154154
### Example
155155

docs/snippets/cpp/VS_Snippets_Misc/wrl-media-capture/cpp/grayscaletransform/grayscaletransform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ void TransformChroma(const D2D1::Matrix3x2F& mat, BYTE *pu, BYTE *pv)
352352
//
353353
// The image conversion functions take the following parameters:
354354
//
355-
// mat Transfomation matrix for chroma values.
355+
// mat Transformation matrix for chroma values.
356356
// rcDest Destination rectangle.
357357
// pDest Pointer to the destination buffer.
358358
// lDestStride Stride of the destination buffer, in bytes.

docs/snippets/cpp/VS_Snippets_Winforms/Classic Application.ThreadException Example/CPP/source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public ref class Form1: public System::Windows::Forms::Form
7575
private:
7676
System::Windows::Forms::DialogResult ShowThreadExceptionDialog( Exception^ e )
7777
{
78-
String^ errorMsg = "An error occurred please contact the adminstrator with the following information:\n\n";
78+
String^ errorMsg = "An error occurred please contact the administrator with the following information:\n\n";
7979
errorMsg = String::Concat( errorMsg, e->Message, "\n\nStack Trace:\n", e->StackTrace );
8080
return MessageBox::Show( errorMsg, "Application Error", MessageBoxButtons::AbortRetryIgnore, MessageBoxIcon::Stop );
8181
}

docs/snippets/cpp/VS_Snippets_Winforms/ComboBox/CPP/comboboxcomplex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public ref class Win32Form1: public System::Windows::Forms::Form
7373
this->label2->Location = System::Drawing::Point( 0, 40 );
7474
this->label2->Size = System::Drawing::Size( 48, 24 );
7575
this->label2->TabIndex = 7;
76-
this->label2->Text = "Sring 1";
76+
this->label2->Text = "String 1";
7777
this->label2->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
7878
this->label3->Location = System::Drawing::Point( 0, 72 );
7979
this->label3->Size = System::Drawing::Size( 48, 23 );

docs/snippets/cpp/VS_Snippets_Winforms/Control_StyleChanged/CPP/control_stylechanged.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public ref class MyForm: public Form
8686
// Handle the 'StyleChanged' event for the 'Form'.
8787
void MyForm_StyleChanged( Object^ /*sender*/, EventArgs^ /*e*/ )
8888
{
89-
MessageBox::Show( "The style releated to the 'Form' has been changed" );
89+
MessageBox::Show( "The style related to the 'Form' has been changed" );
9090
}
9191
// </Snippet1>
9292
};

docs/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Header_4/CPP/datagridtablestyle_header_4.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/*
55
The following program demonstrates the usage of properties 'HeaderBackColor',
66
'HeaderForeColor' and events 'HeaderBackColorChanged', 'HeaderForeColorChanged'.
7-
A table is created and added to a datagrid with two coloumns.The table allows to change
7+
A table is created and added to a datagrid with two columns.The table allows to change
88
Header's background and foreground colors through selection of combobox values.
99
*/
1010

docs/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetBackColor/CPP/datagridtablestyle_resetbackcolor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public ref class MyForm: public Form
4343

4444
private:
4545

46-
// Initialilze form and its controls.
46+
// Initialize form and its controls.
4747
void InitializeComponent()
4848
{
4949
myDataGrid = gcnew DataGrid;

docs/snippets/cpp/VS_Snippets_Winforms/IDesignerExample/CPP/testcontrol.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public ref class ExampleIDesigner: public System::ComponentModel::Design::IDesig
4141
this->component = component;
4242
}
4343

44-
// This method peforms the 'default' action for the designer. The default action
44+
// This method performs the 'default' action for the designer. The default action
4545
// for a basic IDesigner implementation is invoked when the designer's component
4646
// is double-clicked. By default, a component associated with a basic IDesigner
4747
// implementation is displayed in the design-mode component tray.

docs/snippets/cpp/VS_Snippets_Winforms/ISelectionServiceSample/CPP/selectioncomponent.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ namespace ISelectionServiceExample
6363
// Because the selection service has been
6464
// previously obtained, the component may be in
6565
// the process of being resited.
66-
// Detatch the previous selection change event
66+
// Detach the previous selection change event
6767
// handlers in case the new selection
6868
// service is a new service instance belonging to
6969
// another design mode service host.

docs/snippets/cpp/VS_Snippets_Winforms/MeasureItemEventArgs/CPP/form1.cpp

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

9191
// Select the appropriate brush depending on if the item is selected.
92-
// Since State can be a combinateion (bit-flag) of enum values, you can't use
92+
// Since State can be a combination (bit-flag) of enum values, you can't use
9393
// "==" to compare them.
9494
if ( (e->State & DrawItemState::Selected) == DrawItemState::Selected )
9595
brush = SystemBrushes::HighlightText;

0 commit comments

Comments
 (0)