Skip to content

Commit 4bacb40

Browse files
authored
Merge pull request #947 from dotnet/master
Update live with current master
2 parents 3c2749e + e70b545 commit 4bacb40

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

snippets/csharp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowOperations/CS/rowoperations.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ private Boolean IsTrackGood(DataGridViewCell cell)
279279
{
280280
Int32 cellValueAsInt;
281281
if (cell.Value.ToString().Length == 0)
282-
{
282+
{
283283
cell.ErrorText = "Please enter a track";
284284
songsDataGridView.Rows[cell.RowIndex].ErrorText =
285285
"Please enter a track";
@@ -305,7 +305,7 @@ private Boolean IsTrackGood(DataGridViewCell cell)
305305
private Boolean IsDateGood(DataGridViewCell cell)
306306
{
307307
if (cell.Value == null)
308-
{
308+
{
309309
cell.ErrorText = "Missing date";
310310
songsDataGridView.Rows[cell.RowIndex].ErrorText =
311311
"Missing date";
@@ -347,4 +347,4 @@ private void RemoveAnnotations(Object sender,
347347
}
348348
//</snippet10>
349349
#endregion
350-
}
350+
}

snippets/csharp/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/CS/Form1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private void GetLinksFromFrames()
4848
Hashtable docLinksHash = new Hashtable();
4949
linksTable.Add(webBrowser1.Document.Url.ToString(), docLinksHash);
5050

51-
foreach (HtmlElement hrefElement in webBrowser1.Document.Links)
51+
foreach (HtmlElement hrefElement in webBrowser1.Document.Links)
5252
{
5353
docLinksHash.Add(hrefElement.GetAttribute("HREF"), "Url");
5454
}

snippets/csharp/VS_Snippets_Winforms/System.Windows.Forms.ListView3/CS/form1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private void InitializeComponent()
6969
}
7070

7171
//<snippet1>
72-
private void ListView1_BeforeLabelEdit(object sender,
72+
private void ListView1_BeforeLabelEdit(object sender,
7373
System.Windows.Forms.LabelEditEventArgs e)
7474
{
7575
// Allow all but the first two items of the list to

snippets/fsharp/azure/blob-storage.fsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
open System
22
open System.IO
33
open Microsoft.Azure // Namespace for CloudConfigurationManager
4-
open Microsoft.WindowsAzure.Storage // Namespace for CloudStorageAccount
5-
open Microsoft.WindowsAzure.Storage.Blob // Namespace for Blob storage types
4+
open Microsoft.Azure.Storage // Namespace for CloudStorageAccount
5+
open Microsoft.Azure.Storage.Blob // Namespace for Blob storage types
66

77
//
88
// Get your connection string.

snippets/fsharp/azure/file-storage.fsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
open System
22
open System.IO
33
open Microsoft.Azure // Namespace for CloudConfigurationManager
4-
open Microsoft.WindowsAzure.Storage // Namespace for CloudStorageAccount
5-
open Microsoft.WindowsAzure.Storage.File // Namespace for File storage types
4+
open Microsoft.Azure.Storage // Namespace for CloudStorageAccount
5+
open Microsoft.Azure.Storage.File // Namespace for File storage types
66

77
//
88
// Get your connection string.
@@ -123,8 +123,8 @@ destBlob.StartCopy(sasUri2)
123123
// Troubleshooting File storage using metrics.
124124
//
125125

126-
open Microsoft.WindowsAzure.Storage.File.Protocol
127-
open Microsoft.WindowsAzure.Storage.Shared.Protocol
126+
open Microsoft.Azure.Storage.File.Protocol
127+
open Microsoft.Azure.Storage.Shared.Protocol
128128

129129
let props =
130130
FileServiceProperties(

snippets/fsharp/azure/queue-storage.fsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
open Microsoft.Azure // Namespace for CloudConfigurationManager
2-
open Microsoft.WindowsAzure.Storage // Namespace for CloudStorageAccount
3-
open Microsoft.WindowsAzure.Storage.Queue // Namespace for Queue storage types
2+
open Microsoft.Azure.Storage // Namespace for CloudStorageAccount
3+
open Microsoft.Azure.Storage.Queue // Namespace for Queue storage types
44

55
//
66
// Get your connection string.

snippets/fsharp/azure/table-storage.fsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
open System
22
open System.IO
33
open Microsoft.Azure // Namespace for CloudConfigurationManager
4-
open Microsoft.WindowsAzure.Storage // Namespace for CloudStorageAccount
5-
open Microsoft.WindowsAzure.Storage.Table // Namespace for Table storage types
4+
open Microsoft.Azure.Storage // Namespace for CloudStorageAccount
5+
open Microsoft.Azure.Storage.Table // Namespace for Table storage types
66

77
//
88
// Get your connection string.

snippets/fsharp/tour.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ module BasicFunctions =
130130
let result3 = sampleFunction3 (6.5 + 4.5)
131131

132132
// This line uses '%f' to print the result as a float. As with '%d' above, this is type-safe.
133-
printfn "The result of applying the 2nd sample function to (6.5 + 4.5) is %f" result3
133+
printfn "The result of applying the 3rd sample function to (6.5 + 4.5) is %f" result3
134134

135135

136136
/// Booleans are fundamental data types in F#. Here are some examples of Booleans and conditional logic.

0 commit comments

Comments
 (0)