Automated dotnet-format update
This commit is contained in:
1 parent
ad4c2f68aa
commit
2af18c2d38
403 files changed
+1569
-1567
No files matched your search
@@ -44,7 +44,7 @@ namespace HandyControl.Controls
|
||||
|
||||
if (e.NewValue != null)
|
||||
{
|
||||
var v = (Uri)e.NewValue;
|
||||
var v = (Uri) e.NewValue;
|
||||
ctl.GetGifStreamFromPack(v);
|
||||
ctl.StartAnimate();
|
||||
}
|
||||
@@ -62,8 +62,8 @@ namespace HandyControl.Controls
|
||||
|
||||
private static void OnVisibilityChanged(DependencyObject s, DependencyPropertyChangedEventArgs e)
|
||||
{
|
||||
var ctl = (GifImage)s;
|
||||
var v = (Visibility)e.NewValue;
|
||||
var ctl = (GifImage) s;
|
||||
var v = (Visibility) e.NewValue;
|
||||
if (v != Visibility.Visible)
|
||||
{
|
||||
ctl.StopAnimate();
|
||||
@@ -244,8 +244,8 @@ namespace HandyControl.Controls
|
||||
created = dataStream = File.OpenRead(filename);
|
||||
}
|
||||
|
||||
image._rawData = new byte[(int)dataStream.Length];
|
||||
dataStream.Read(image._rawData, 0, (int)dataStream.Length);
|
||||
image._rawData = new byte[(int) dataStream.Length];
|
||||
dataStream.Read(image._rawData, 0, (int) dataStream.Length);
|
||||
}
|
||||
finally
|
||||
{
|
||||
@@ -356,7 +356,7 @@ namespace HandyControl.Controls
|
||||
{
|
||||
for (var i = 0; i < count; i++)
|
||||
{
|
||||
guids[i] = (Guid)InteropMethods.PtrToStructure((IntPtr)((long)buffer + size * i), typeof(Guid));
|
||||
guids[i] = (Guid) InteropMethods.PtrToStructure((IntPtr) ((long) buffer + size * i), typeof(Guid));
|
||||
}
|
||||
}
|
||||
finally
|
||||
@@ -491,4 +491,4 @@ namespace HandyControl.Controls
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user