diff --git a/DynamicCreateTest/App.xaml b/DynamicCreateTest/App.xaml
index a4f7c25..9fac961 100644
--- a/DynamicCreateTest/App.xaml
+++ b/DynamicCreateTest/App.xaml
@@ -1,7 +1,6 @@
diff --git a/DynamicCreateTest/App.xaml.cs b/DynamicCreateTest/App.xaml.cs
index 094a1e6..4eecf1f 100644
--- a/DynamicCreateTest/App.xaml.cs
+++ b/DynamicCreateTest/App.xaml.cs
@@ -1,10 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Configuration;
-using System.Data;
-using System.Linq;
-using System.Threading.Tasks;
-using System.Windows;
+using System.Windows;
namespace DynamicCreateTest
{
diff --git a/DynamicCreateTest/MainWindow.xaml.cs b/DynamicCreateTest/MainWindow.xaml.cs
index 04e4b47..4432e17 100644
--- a/DynamicCreateTest/MainWindow.xaml.cs
+++ b/DynamicCreateTest/MainWindow.xaml.cs
@@ -1,17 +1,6 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows;
+using System.Windows;
using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
using GraphCtrlLib;
namespace DynamicCreateTest
diff --git a/DynamicCreateTest/MainWindowViewModel.cs b/DynamicCreateTest/MainWindowViewModel.cs
index 577cbd7..db9ca1e 100644
--- a/DynamicCreateTest/MainWindowViewModel.cs
+++ b/DynamicCreateTest/MainWindowViewModel.cs
@@ -1,19 +1,14 @@
-using CommunityToolkit.Mvvm.Input;
-using CommunityToolkit.Mvvm.Messaging;
-using GraphCtrlLib;
-using OxyPlot.Axes;
-using System;
+using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
-using System.Linq;
using System.Runtime.CompilerServices;
-using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
-using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Threading;
+using CommunityToolkit.Mvvm.Input;
+using CommunityToolkit.Mvvm.Messaging;
+using GraphCtrlLib;
+using GraphCtrlLib.Message;
namespace DynamicCreateTest
{
@@ -132,7 +127,7 @@ public MainWindowViewModel()
#region Messenger
var Messeenger = WeakReferenceMessenger.Default;
- Messeenger.Register(this, OnMessageReceived);
+ Messeenger.Register(this, OnMessageReceived);
#endregion
@@ -142,7 +137,7 @@ public MainWindowViewModel()
///
/// 객체 전송자
/// 메세지
- private void OnMessageReceived(object obj, GraphCtrlLib.Message.SharedMessge message)
+ private void OnMessageReceived(object obj, SharedMessge message)
{
double dataX = message.DataX;
double dataY = message.DataY;
diff --git a/GraphCtrlLib/CustomController/CustomController.cs b/GraphCtrlLib/CustomController/CustomController.cs
index 84d24c9..43c9e5c 100644
--- a/GraphCtrlLib/CustomController/CustomController.cs
+++ b/GraphCtrlLib/CustomController/CustomController.cs
@@ -1,10 +1,4 @@
-using GraphCtrlLib.CustomTrackerManipulator;
-using OxyPlot;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using OxyPlot;
namespace GraphCtrlLib.CustomController
{
diff --git a/GraphCtrlLib/CustomTrackerManipulator/StayOpenTrackerManipulator.cs b/GraphCtrlLib/CustomTrackerManipulator/StayOpenTrackerManipulator.cs
index 1db4fe5..9d7e8c7 100644
--- a/GraphCtrlLib/CustomTrackerManipulator/StayOpenTrackerManipulator.cs
+++ b/GraphCtrlLib/CustomTrackerManipulator/StayOpenTrackerManipulator.cs
@@ -1,12 +1,10 @@
-using CommunityToolkit.Mvvm.Messaging;
+using System;
+using System.Linq;
+using CommunityToolkit.Mvvm.Messaging;
using GraphCtrlLib.Message;
using OxyPlot;
+using OxyPlot.Axes;
using OxyPlot.Series;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace GraphCtrlLib.CustomTrackerManipulator
{
@@ -48,7 +46,7 @@ public override void Completed(OxyMouseEventArgs e)
public void ShowTracker( Series series, DataPoint point, ScreenPoint sPoint, object obj, int Index)
{
//DataPoint를 가지고 현재 객체의 ScreenPoint를 얻는다.
- var xAxis = this.PlotView.ActualModel.Axes.FirstOrDefault(a => a.Position == OxyPlot.Axes.AxisPosition.Bottom);
+ var xAxis = this.PlotView.ActualModel.Axes.FirstOrDefault(a => a.Position == AxisPosition.Bottom);
if(xAxis != null)
{
diff --git a/GraphCtrlLib/GraphModel.cs b/GraphCtrlLib/GraphModel.cs
index e01c2a6..fb2c09b 100644
--- a/GraphCtrlLib/GraphModel.cs
+++ b/GraphCtrlLib/GraphModel.cs
@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System.Collections.Generic;
namespace GraphCtrlLib
{
diff --git a/GraphCtrlLib/GraphViewModel.cs b/GraphCtrlLib/GraphViewModel.cs
index db1e1bc..890ff51 100644
--- a/GraphCtrlLib/GraphViewModel.cs
+++ b/GraphCtrlLib/GraphViewModel.cs
@@ -1,4 +1,12 @@
-using CommunityToolkit.Mvvm.Input;
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Runtime.CompilerServices;
+using System.Windows;
+using System.Windows.Input;
+using CommunityToolkit.Mvvm.Input;
using CommunityToolkit.Mvvm.Messaging;
using GraphCtrlLib.CustomController;
using GraphCtrlLib.CustomTrackerManipulator;
@@ -8,17 +16,8 @@
using OxyPlot.Axes;
using OxyPlot.Legends;
using OxyPlot.Series;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Linq;
-using System.Runtime.CompilerServices;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows;
-using System.Windows.Input;
-using System.Windows.Input.Manipulations;
-using System.Windows.Media;
+using HorizontalAlignment = OxyPlot.HorizontalAlignment;
+using VerticalAlignment = OxyPlot.VerticalAlignment;
namespace GraphCtrlLib
{
@@ -100,8 +99,8 @@ public void SetverticalLineTrackerX(double x, string text="")
Type = LineAnnotationType.Vertical,
Color = OxyColors.Red,
LineStyle = LineStyle.Solid,
- TextHorizontalAlignment = OxyPlot.HorizontalAlignment.Right,
- TextVerticalAlignment = OxyPlot.VerticalAlignment.Bottom,
+ TextHorizontalAlignment = HorizontalAlignment.Right,
+ TextVerticalAlignment = VerticalAlignment.Bottom,
};
public ICommand PlotDrop { get; set; }
@@ -230,7 +229,7 @@ private void PlotViewDropCommand(DragEventArgs? e)
if(e != null)
{
var items = e.Data.GetData(typeof(List
diff --git a/GraphResearch/App.xaml.cs b/GraphResearch/App.xaml.cs
index 9e79ee9..a4dd691 100644
--- a/GraphResearch/App.xaml.cs
+++ b/GraphResearch/App.xaml.cs
@@ -1,10 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Configuration;
-using System.Data;
-using System.Linq;
-using System.Threading.Tasks;
-using System.Windows;
+using System.Windows;
namespace GraphResearch
{
diff --git a/GraphResearch/Interface/IWindowService.cs b/GraphResearch/Interface/IWindowService.cs
index e40b1ed..b489ba1 100644
--- a/GraphResearch/Interface/IWindowService.cs
+++ b/GraphResearch/Interface/IWindowService.cs
@@ -1,11 +1,5 @@
-using GraphCtrlLib;
-using GraphResearch.View;
+using GraphResearch.View;
using GraphResearch.ViewModel;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace GraphResearch.Interface
{
diff --git a/GraphResearch/MainViewModel.cs b/GraphResearch/MainViewModel.cs
index 4656f1f..1e3c661 100644
--- a/GraphResearch/MainViewModel.cs
+++ b/GraphResearch/MainViewModel.cs
@@ -1,24 +1,20 @@
-using CommunityToolkit.Mvvm.Input;
-using CommunityToolkit.Mvvm.Messaging;
-using GraphCtrlLib;
-using System;
+using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Threading;
+using System.Windows;
+using System.Windows.Controls;
using System.Windows.Input;
+using System.Windows.Threading;
+using CommunityToolkit.Mvvm.Input;
+using CommunityToolkit.Mvvm.Messaging;
+using GraphCtrlLib;
+using GraphCtrlLib.Message;
using GraphResearch.Interface;
using GraphResearch.Model;
-using System.Windows.Controls;
using GraphResearch.Utility;
-using System.Drawing;
-using System.Numerics;
-using System.Windows;
-using static GraphCtrlLib.GraphModel;
namespace GraphResearch
{
@@ -81,7 +77,7 @@ public int SelectedInd
private List temporailySelectedPostions = new();
- private System.Windows.Point startpoint = new();
+ private Point startpoint = new();
public ObservableCollection GraphDataSets { get; set; }
@@ -202,10 +198,10 @@ public MainViewModel()
#region Messenger
var Messeenger = WeakReferenceMessenger.Default;
- Messeenger.Register(this, OnMessageReceived);
- Messeenger.Register(this, OnSplitMessageReceived);
- Messeenger.Register(this, OnDeleteMessageReceived);
- Messeenger.Register(this, OnNewWindowMessageReceived);
+ Messeenger.Register(this, OnMessageReceived);
+ Messeenger.Register(this, OnSplitMessageReceived);
+ Messeenger.Register(this, OnDeleteMessageReceived);
+ Messeenger.Register(this, OnNewWindowMessageReceived);
#endregion
}
@@ -214,7 +210,7 @@ public MainViewModel()
///
/// 객체 전송자
/// 메세지
- private void OnMessageReceived(object obj, GraphCtrlLib.Message.SharedMessge message)
+ private void OnMessageReceived(object obj, SharedMessge message)
{
double dataX = message.DataX;
double dataY = message.DataY;
@@ -233,7 +229,7 @@ private void OnMessageReceived(object obj, GraphCtrlLib.Message.SharedMessge mes
}
}
- private void OnSplitMessageReceived(object ojb, GraphCtrlLib.Message.SharedSplitMessage message)
+ private void OnSplitMessageReceived(object ojb, SharedSplitMessage message)
{
int graphID = message.GraphID;
List linenamelist = message.LineName;
@@ -254,7 +250,7 @@ private void OnSplitMessageReceived(object ojb, GraphCtrlLib.Message.SharedSplit
}
}
- private void OnDeleteMessageReceived(object obj, GraphCtrlLib.Message.SharedDeleteMessage message)
+ private void OnDeleteMessageReceived(object obj, SharedDeleteMessage message)
{
int graphID = message.GraphID;
string graphName = message.GraphName;
@@ -262,7 +258,7 @@ private void OnDeleteMessageReceived(object obj, GraphCtrlLib.Message.SharedDele
Delete_Graph(graphID);
}
- private void OnNewWindowMessageReceived(object obj, GraphCtrlLib.Message.SharedNewWindowMessage message)
+ private void OnNewWindowMessageReceived(object obj, SharedNewWindowMessage message)
{
int graphID = message.GraphID;
string graphName = message.GraphName;
@@ -339,8 +335,8 @@ private void TreeViewPreviewMouseMoveCommand(object? parameter)
{
if (parameter is MouseEventArgs args)
{
- System.Windows.Point mousePos = args.GetPosition(null);
- System.Windows.Vector diff = startpoint - mousePos;
+ Point mousePos = args.GetPosition(null);
+ Vector diff = startpoint - mousePos;
if (args.LeftButton == MouseButtonState.Pressed &&
(Math.Abs(diff.X) > SystemParameters.MinimumHorizontalDragDistance ||
@@ -447,8 +443,8 @@ private void MultiTreeViewPreviewMouseMoveCommand(object? parameter)
{
if (parameter is MouseEventArgs args)
{
- System.Windows.Point mousePos = args.GetPosition(null);
- System.Windows.Vector diff = startpoint - mousePos;
+ Point mousePos = args.GetPosition(null);
+ Vector diff = startpoint - mousePos;
if (args.LeftButton == MouseButtonState.Pressed &&
(Math.Abs(diff.X) > SystemParameters.MinimumHorizontalDragDistance ||
diff --git a/GraphResearch/MainWindow.xaml.cs b/GraphResearch/MainWindow.xaml.cs
index 07bd500..4f6c9ae 100644
--- a/GraphResearch/MainWindow.xaml.cs
+++ b/GraphResearch/MainWindow.xaml.cs
@@ -1,17 +1,14 @@
-using CommunityToolkit.Mvvm.Messaging;
-using GraphCtrlLib;
-using GraphCtrlLib.Message;
-using GraphResearch.Model;
-using GraphResearch.Utility;
using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
+using CommunityToolkit.Mvvm.Messaging;
+using GraphCtrlLib;
+using GraphCtrlLib.Message;
+using GraphResearch.Model;
+using GraphResearch.Utility;
namespace GraphResearch
{
diff --git a/GraphResearch/Model/TreeModel.cs b/GraphResearch/Model/TreeModel.cs
index 4b9149d..20ba3f2 100644
--- a/GraphResearch/Model/TreeModel.cs
+++ b/GraphResearch/Model/TreeModel.cs
@@ -1,10 +1,5 @@
-using System;
-using System.Collections.Generic;
+using System.Collections.Generic;
using System.Collections.ObjectModel;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace GraphResearch.Model
{
diff --git a/GraphResearch/Utility/TreeNodeUtility.cs b/GraphResearch/Utility/TreeNodeUtility.cs
index 1c88cf2..55b8a34 100644
--- a/GraphResearch/Utility/TreeNodeUtility.cs
+++ b/GraphResearch/Utility/TreeNodeUtility.cs
@@ -1,9 +1,5 @@
-using GraphResearch.Model;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System.Collections.Generic;
+using GraphResearch.Model;
namespace GraphResearch.Utility
{
diff --git a/GraphResearch/View/GraphWIndow.xaml b/GraphResearch/View/GraphWIndow.xaml
index f3df989..960b2c4 100644
--- a/GraphResearch/View/GraphWIndow.xaml
+++ b/GraphResearch/View/GraphWIndow.xaml
@@ -3,8 +3,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:GraphResearch.View"
- xmlns:vm ="clr-namespace:GraphResearch.ViewModel"
mc:Ignorable="d"
Title="GraphWIndow" Height="450" Width="800">
diff --git a/GraphResearch/View/GraphWindow.xaml.cs b/GraphResearch/View/GraphWindow.xaml.cs
index 54a1e86..6d8a70b 100644
--- a/GraphResearch/View/GraphWindow.xaml.cs
+++ b/GraphResearch/View/GraphWindow.xaml.cs
@@ -1,16 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Shapes;
+using System.Windows;
namespace GraphResearch.View
{
diff --git a/GraphResearch/ViewModel/GraphWindowVM.cs b/GraphResearch/ViewModel/GraphWindowVM.cs
index d99fa17..32cbb2c 100644
--- a/GraphResearch/ViewModel/GraphWindowVM.cs
+++ b/GraphResearch/ViewModel/GraphWindowVM.cs
@@ -1,11 +1,5 @@
-using GraphCtrlLib;
-using OxyPlot.Series;
-using System;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System.Collections.ObjectModel;
+using GraphCtrlLib;
namespace GraphResearch.ViewModel
{
diff --git a/OxyPlotTest/App.xaml b/OxyPlotTest/App.xaml
index 7bfc732..9808c23 100644
--- a/OxyPlotTest/App.xaml
+++ b/OxyPlotTest/App.xaml
@@ -1,7 +1,6 @@
diff --git a/OxyPlotTest/App.xaml.cs b/OxyPlotTest/App.xaml.cs
index 60df10a..d644b89 100644
--- a/OxyPlotTest/App.xaml.cs
+++ b/OxyPlotTest/App.xaml.cs
@@ -1,10 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Configuration;
-using System.Data;
-using System.Linq;
-using System.Threading.Tasks;
-using System.Windows;
+using System.Windows;
namespace OxyPlotTest
{
diff --git a/OxyPlotTest/MainViewModel.cs b/OxyPlotTest/MainViewModel.cs
index 2809bdd..04626a1 100644
--- a/OxyPlotTest/MainViewModel.cs
+++ b/OxyPlotTest/MainViewModel.cs
@@ -1,13 +1,13 @@
-namespace OxyPlotTest
+using System;
+using System.ComponentModel;
+using System.Diagnostics;
+using System.Threading;
+using OxyPlot;
+using OxyPlot.Axes;
+using OxyPlot.Series;
+
+namespace OxyPlotTest
{
- using System;
- using System.ComponentModel;
- using System.Diagnostics;
- using System.Threading;
-
- using OxyPlot;
- using OxyPlot.Axes;
- using OxyPlot.Series;
public enum SimulationType
{
diff --git a/OxyPlotTest/MainWindow.xaml.cs b/OxyPlotTest/MainWindow.xaml.cs
index 7a9f7cc..9735818 100644
--- a/OxyPlotTest/MainWindow.xaml.cs
+++ b/OxyPlotTest/MainWindow.xaml.cs
@@ -1,5 +1,4 @@
using System.Windows;
-using System.Windows.Input;
namespace OxyPlotTest
{
diff --git a/RostopicTest/App.xaml b/RostopicTest/App.xaml
index 2e61c0a..2e2a392 100644
--- a/RostopicTest/App.xaml
+++ b/RostopicTest/App.xaml
@@ -1,7 +1,6 @@
diff --git a/RostopicTest/App.xaml.cs b/RostopicTest/App.xaml.cs
index d13b8af..f843784 100644
--- a/RostopicTest/App.xaml.cs
+++ b/RostopicTest/App.xaml.cs
@@ -1,10 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Configuration;
-using System.Data;
-using System.Linq;
-using System.Threading.Tasks;
-using System.Windows;
+using System.Windows;
namespace RostopicTest
{
diff --git a/RostopicTest/MainWindow.xaml b/RostopicTest/MainWindow.xaml
index 449a125..98efb8f 100644
--- a/RostopicTest/MainWindow.xaml
+++ b/RostopicTest/MainWindow.xaml
@@ -3,10 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:RostopicTest"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
-
-
-
+
diff --git a/RostopicTest/MainWindow.xaml.cs b/RostopicTest/MainWindow.xaml.cs
index dbc1138..dbe5b3f 100644
--- a/RostopicTest/MainWindow.xaml.cs
+++ b/RostopicTest/MainWindow.xaml.cs
@@ -1,17 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
+using System.Windows;
namespace RostopicTest
{
diff --git a/WpfExamples/App.xaml.cs b/WpfExamples/App.xaml.cs
index b33d063..2d4d86c 100644
--- a/WpfExamples/App.xaml.cs
+++ b/WpfExamples/App.xaml.cs
@@ -7,11 +7,6 @@
//
// --------------------------------------------------------------------------------------------------------------------
-using System;
-using System.Collections.Generic;
-using System.Configuration;
-using System.Data;
-using System.Linq;
using System.Windows;
namespace WpfExamples
diff --git a/WpfExamples/BitmapTools.cs b/WpfExamples/BitmapTools.cs
index fcc12ac..aec3c1a 100644
--- a/WpfExamples/BitmapTools.cs
+++ b/WpfExamples/BitmapTools.cs
@@ -4,10 +4,11 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.Drawing;
+using System.Drawing.Drawing2D;
+
namespace WpfExamples
{
- using System.Drawing;
- using System.Drawing.Drawing2D;
public static class BitmapTools
{
diff --git a/WpfExamples/DelegateCommand.cs b/WpfExamples/DelegateCommand.cs
index 52d85e3..227c5e1 100644
--- a/WpfExamples/DelegateCommand.cs
+++ b/WpfExamples/DelegateCommand.cs
@@ -7,10 +7,11 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Windows.Input;
+
namespace WpfExamples
{
- using System;
- using System.Windows.Input;
///
/// Represents a delegate command.
diff --git a/WpfExamples/Example.cs b/WpfExamples/Example.cs
index 8803bf4..2374682 100644
--- a/WpfExamples/Example.cs
+++ b/WpfExamples/Example.cs
@@ -4,13 +4,14 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+
namespace WpfExamples
{
- using System;
- using System.Diagnostics;
- using System.Windows;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
public class Example
{
diff --git a/WpfExamples/ExampleAttribute.cs b/WpfExamples/ExampleAttribute.cs
index dab18c7..4fc30f9 100644
--- a/WpfExamples/ExampleAttribute.cs
+++ b/WpfExamples/ExampleAttribute.cs
@@ -4,9 +4,10 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+
namespace WpfExamples
{
- using System;
public class ExampleAttribute : Attribute
{
diff --git a/WpfExamples/Examples/AlignedAxesDemo/MainWindow.xaml.cs b/WpfExamples/Examples/AlignedAxesDemo/MainWindow.xaml.cs
index fa16f65..80dc6de 100644
--- a/WpfExamples/Examples/AlignedAxesDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/AlignedAxesDemo/MainWindow.xaml.cs
@@ -7,15 +7,14 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using OxyPlot;
+using OxyPlot.Axes;
+using OxyPlot.Series;
+using WpfExamples;
+
namespace AlignedAxesDemo
{
- using System;
-
- using OxyPlot;
- using OxyPlot.Axes;
- using OxyPlot.Series;
-
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/AnimationsDemo/Controls/AnimationSettingsControl.xaml.cs b/WpfExamples/Examples/AnimationsDemo/Controls/AnimationSettingsControl.xaml.cs
index f2f7b87..e9727f0 100644
--- a/WpfExamples/Examples/AnimationsDemo/Controls/AnimationSettingsControl.xaml.cs
+++ b/WpfExamples/Examples/AnimationsDemo/Controls/AnimationSettingsControl.xaml.cs
@@ -4,9 +4,10 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.Windows;
+
namespace AnimationsDemo
{
- using System.Windows;
public partial class AnimationSettingsControl
{
diff --git a/WpfExamples/Examples/AnimationsDemo/EasingFunctions/BackEase.cs b/WpfExamples/Examples/AnimationsDemo/EasingFunctions/BackEase.cs
index 9046a39..fec223d 100644
--- a/WpfExamples/Examples/AnimationsDemo/EasingFunctions/BackEase.cs
+++ b/WpfExamples/Examples/AnimationsDemo/EasingFunctions/BackEase.cs
@@ -5,9 +5,10 @@
// --------------------------------------------------------------------------------------------------------------------
+using System;
+
namespace AnimationsDemo
{
- using System;
public class BackEase : IEasingFunction
{
diff --git a/WpfExamples/Examples/AnimationsDemo/EasingFunctions/BounceEase.cs b/WpfExamples/Examples/AnimationsDemo/EasingFunctions/BounceEase.cs
index 445c9ed..cbfc416 100644
--- a/WpfExamples/Examples/AnimationsDemo/EasingFunctions/BounceEase.cs
+++ b/WpfExamples/Examples/AnimationsDemo/EasingFunctions/BounceEase.cs
@@ -5,9 +5,10 @@
// --------------------------------------------------------------------------------------------------------------------
+using System;
+
namespace AnimationsDemo
{
- using System;
public class BounceEase : IEasingFunction
{
diff --git a/WpfExamples/Examples/AnimationsDemo/EasingFunctions/CircleEase.cs b/WpfExamples/Examples/AnimationsDemo/EasingFunctions/CircleEase.cs
index e0d6eb5..03f84f3 100644
--- a/WpfExamples/Examples/AnimationsDemo/EasingFunctions/CircleEase.cs
+++ b/WpfExamples/Examples/AnimationsDemo/EasingFunctions/CircleEase.cs
@@ -5,11 +5,10 @@
// --------------------------------------------------------------------------------------------------------------------
+using System;
+
namespace AnimationsDemo
{
- using System;
-
- using AnimationsDemo;
public class CircleEase : IEasingFunction
{
diff --git a/WpfExamples/Examples/AnimationsDemo/EasingFunctions/PowerEase.cs b/WpfExamples/Examples/AnimationsDemo/EasingFunctions/PowerEase.cs
index 9e4abec..231774b 100644
--- a/WpfExamples/Examples/AnimationsDemo/EasingFunctions/PowerEase.cs
+++ b/WpfExamples/Examples/AnimationsDemo/EasingFunctions/PowerEase.cs
@@ -5,9 +5,10 @@
// --------------------------------------------------------------------------------------------------------------------
+using System;
+
namespace AnimationsDemo
{
- using System;
public class PowerEase : IEasingFunction
{
diff --git a/WpfExamples/Examples/AnimationsDemo/EasingFunctions/SineEase.cs b/WpfExamples/Examples/AnimationsDemo/EasingFunctions/SineEase.cs
index 85397bd..c14d327 100644
--- a/WpfExamples/Examples/AnimationsDemo/EasingFunctions/SineEase.cs
+++ b/WpfExamples/Examples/AnimationsDemo/EasingFunctions/SineEase.cs
@@ -5,9 +5,10 @@
// --------------------------------------------------------------------------------------------------------------------
+using System;
+
namespace AnimationsDemo
{
- using System;
public class SineEase : IEasingFunction
{
diff --git a/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.cs b/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.cs
index 864a49a..743505d 100644
--- a/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.cs
+++ b/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.cs
@@ -5,13 +5,13 @@
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using OxyPlot.Series;
+
namespace AnimationsDemo
{
- using System;
- using System.Collections.Generic;
- using System.Linq;
-
- using OxyPlot.Series;
public static partial class AnimationExtensions
{
diff --git a/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.datapointseries.cs b/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.datapointseries.cs
index e035cb8..e2e7dd3 100644
--- a/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.datapointseries.cs
+++ b/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.datapointseries.cs
@@ -4,14 +4,14 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+using OxyPlot;
+using OxyPlot.Series;
+
namespace AnimationsDemo
{
- using System;
- using System.Collections.Generic;
- using System.Threading.Tasks;
-
- using OxyPlot;
- using OxyPlot.Series;
public static partial class AnimationExtensions
{
diff --git a/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.linearbarseries.cs b/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.linearbarseries.cs
index 505d3a7..efbab51 100644
--- a/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.linearbarseries.cs
+++ b/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.linearbarseries.cs
@@ -4,15 +4,15 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using OxyPlot;
+using OxyPlot.Series;
+
namespace AnimationsDemo
{
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
-
- using OxyPlot;
- using OxyPlot.Series;
public static partial class AnimationExtensions
{
diff --git a/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.lineseries.cs b/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.lineseries.cs
index bb654eb..0a55f47 100644
--- a/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.lineseries.cs
+++ b/WpfExamples/Examples/AnimationsDemo/Extensions/AnimationExtensions.lineseries.cs
@@ -4,15 +4,15 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using OxyPlot;
+using OxyPlot.Series;
+
namespace AnimationsDemo
{
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
-
- using OxyPlot;
- using OxyPlot.Series;
public static partial class AnimationExtensions
{
diff --git a/WpfExamples/Examples/AnimationsDemo/MainWindow.xaml.cs b/WpfExamples/Examples/AnimationsDemo/MainWindow.xaml.cs
index 43efda5..08feba8 100644
--- a/WpfExamples/Examples/AnimationsDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/AnimationsDemo/MainWindow.xaml.cs
@@ -7,11 +7,11 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.Windows;
+using WpfExamples;
+
namespace AnimationsDemo
{
- using System.Windows;
-
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/AnimationsDemo/Models/AnimationFrame.cs b/WpfExamples/Examples/AnimationsDemo/Models/AnimationFrame.cs
index e4f3e8c..0671f59 100644
--- a/WpfExamples/Examples/AnimationsDemo/Models/AnimationFrame.cs
+++ b/WpfExamples/Examples/AnimationsDemo/Models/AnimationFrame.cs
@@ -4,10 +4,11 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+
namespace AnimationsDemo
{
- using System;
- using System.Collections.Generic;
public class AnimationFrame
{
diff --git a/WpfExamples/Examples/AnimationsDemo/Models/AnimationPoint.cs b/WpfExamples/Examples/AnimationsDemo/Models/AnimationPoint.cs
index 7922807..8388af7 100644
--- a/WpfExamples/Examples/AnimationsDemo/Models/AnimationPoint.cs
+++ b/WpfExamples/Examples/AnimationsDemo/Models/AnimationPoint.cs
@@ -4,9 +4,10 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.Diagnostics;
+
namespace AnimationsDemo
{
- using System.Diagnostics;
[DebuggerDisplay("{X} / {Y} (IsVisible = {IsVisible})")]
public class AnimationPoint
diff --git a/WpfExamples/Examples/AnimationsDemo/Models/AnimationSettings.cs b/WpfExamples/Examples/AnimationsDemo/Models/AnimationSettings.cs
index 3210401..66381dc 100644
--- a/WpfExamples/Examples/AnimationsDemo/Models/AnimationSettings.cs
+++ b/WpfExamples/Examples/AnimationsDemo/Models/AnimationSettings.cs
@@ -5,9 +5,10 @@
// --------------------------------------------------------------------------------------------------------------------
+using System;
+
namespace AnimationsDemo
{
- using System;
public class AnimationSettings
{
diff --git a/WpfExamples/Examples/AnimationsDemo/Models/Pnl.cs b/WpfExamples/Examples/AnimationsDemo/Models/Pnl.cs
index 8add9ac..374ed22 100644
--- a/WpfExamples/Examples/AnimationsDemo/Models/Pnl.cs
+++ b/WpfExamples/Examples/AnimationsDemo/Models/Pnl.cs
@@ -5,12 +5,12 @@
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Diagnostics;
+using OxyPlot.Axes;
+
namespace AnimationsDemo
{
- using System;
- using System.Diagnostics;
-
- using OxyPlot.Axes;
[DebuggerDisplay("X: {X} => {FinalX} | Y: {Y} => {FinalY}")]
public class Pnl : IAnimatablePoint
diff --git a/WpfExamples/Examples/AnimationsDemo/ViewModels/AnimationViewModelBase.cs b/WpfExamples/Examples/AnimationsDemo/ViewModels/AnimationViewModelBase.cs
index bb056bc..a942423 100644
--- a/WpfExamples/Examples/AnimationsDemo/ViewModels/AnimationViewModelBase.cs
+++ b/WpfExamples/Examples/AnimationsDemo/ViewModels/AnimationViewModelBase.cs
@@ -5,14 +5,14 @@
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using OxyPlot;
+
namespace AnimationsDemo
{
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
-
- using OxyPlot;
public abstract class AnimationViewModelBase : IAnimationViewModel
{
diff --git a/WpfExamples/Examples/AnimationsDemo/ViewModels/AreaSeriesViewModel.cs b/WpfExamples/Examples/AnimationsDemo/ViewModels/AreaSeriesViewModel.cs
index c6fa2fc..be76bd0 100644
--- a/WpfExamples/Examples/AnimationsDemo/ViewModels/AreaSeriesViewModel.cs
+++ b/WpfExamples/Examples/AnimationsDemo/ViewModels/AreaSeriesViewModel.cs
@@ -4,17 +4,17 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using OxyPlot;
+using OxyPlot.Annotations;
+using OxyPlot.Axes;
+using OxyPlot.Series;
+
namespace AnimationsDemo
{
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
-
- using OxyPlot;
- using OxyPlot.Annotations;
- using OxyPlot.Axes;
- using OxyPlot.Series;
public class AreaSeriesViewModel : AnimationViewModelBase
{
diff --git a/WpfExamples/Examples/AnimationsDemo/ViewModels/Interfaces/IAnimationViewModel.cs b/WpfExamples/Examples/AnimationsDemo/ViewModels/Interfaces/IAnimationViewModel.cs
index a3fdc07..dd3e640 100644
--- a/WpfExamples/Examples/AnimationsDemo/ViewModels/Interfaces/IAnimationViewModel.cs
+++ b/WpfExamples/Examples/AnimationsDemo/ViewModels/Interfaces/IAnimationViewModel.cs
@@ -5,10 +5,10 @@
// --------------------------------------------------------------------------------------------------------------------
+using System.Threading.Tasks;
+
namespace AnimationsDemo
{
- using System;
- using System.Threading.Tasks;
public interface IAnimationViewModel
{
diff --git a/WpfExamples/Examples/AnimationsDemo/ViewModels/LineSeriesViewModel.cs b/WpfExamples/Examples/AnimationsDemo/ViewModels/LineSeriesViewModel.cs
index f07f052..e2449ab 100644
--- a/WpfExamples/Examples/AnimationsDemo/ViewModels/LineSeriesViewModel.cs
+++ b/WpfExamples/Examples/AnimationsDemo/ViewModels/LineSeriesViewModel.cs
@@ -4,17 +4,17 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using OxyPlot;
+using OxyPlot.Annotations;
+using OxyPlot.Axes;
+using OxyPlot.Series;
+
namespace AnimationsDemo
{
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
-
- using OxyPlot;
- using OxyPlot.Annotations;
- using OxyPlot.Axes;
- using OxyPlot.Series;
public class LineSeriesViewModel : AnimationViewModelBase
{
diff --git a/WpfExamples/Examples/AnimationsDemo/ViewModels/LinearBarViewModel.cs b/WpfExamples/Examples/AnimationsDemo/ViewModels/LinearBarViewModel.cs
index 9325886..89eb71a 100644
--- a/WpfExamples/Examples/AnimationsDemo/ViewModels/LinearBarViewModel.cs
+++ b/WpfExamples/Examples/AnimationsDemo/ViewModels/LinearBarViewModel.cs
@@ -4,17 +4,17 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using OxyPlot;
+using OxyPlot.Annotations;
+using OxyPlot.Axes;
+using OxyPlot.Series;
+
namespace AnimationsDemo
{
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
-
- using OxyPlot;
- using OxyPlot.Annotations;
- using OxyPlot.Axes;
- using OxyPlot.Series;
public class LinearBarViewModel : AnimationViewModelBase
{
diff --git a/WpfExamples/Examples/ContextMenuDemo/MainWindow.xaml b/WpfExamples/Examples/ContextMenuDemo/MainWindow.xaml
index e659d68..40eb58c 100644
--- a/WpfExamples/Examples/ContextMenuDemo/MainWindow.xaml
+++ b/WpfExamples/Examples/ContextMenuDemo/MainWindow.xaml
@@ -4,7 +4,7 @@
-
+
diff --git a/WpfExamples/Examples/ContextMenuDemo/MainWindow.xaml.cs b/WpfExamples/Examples/ContextMenuDemo/MainWindow.xaml.cs
index fd6835c..ffb7a79 100644
--- a/WpfExamples/Examples/ContextMenuDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/ContextMenuDemo/MainWindow.xaml.cs
@@ -7,19 +7,19 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Windows;
+using System.Windows.Input;
+using OxyPlot;
+using OxyPlot.Series;
+using WpfExamples;
+using DelegateCommand = PropertyTools.Wpf.DelegateCommand;
+
namespace ContextMenuDemo
{
- using System;
- using System.Windows;
- using System.Windows.Input;
-
- using OxyPlot;
- using OxyPlot.Series;
-
- using WpfExamples;
- using DelegateCommand = PropertyTools.Wpf.DelegateCommand;
- using ICommand = System.Windows.Input.ICommand;
+ using DelegateCommand = DelegateCommand;
+ using ICommand = ICommand;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/ContourDemo/MainViewModel.cs b/WpfExamples/Examples/ContourDemo/MainViewModel.cs
index 6a89d7c..8cc021b 100644
--- a/WpfExamples/Examples/ContourDemo/MainViewModel.cs
+++ b/WpfExamples/Examples/ContourDemo/MainViewModel.cs
@@ -7,14 +7,14 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using OxyPlot;
+using OxyPlot.Series;
+
namespace ContourDemo
{
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
-
- using OxyPlot;
- using OxyPlot.Series;
///
/// The main view model.
diff --git a/WpfExamples/Examples/ContourDemo/MainWindow.xaml.cs b/WpfExamples/Examples/ContourDemo/MainWindow.xaml.cs
index 0113047..fe7c4a0 100644
--- a/WpfExamples/Examples/ContourDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/ContourDemo/MainWindow.xaml.cs
@@ -7,12 +7,12 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.Windows;
+using System.Windows.Controls;
+using WpfExamples;
+
namespace ContourDemo
{
- using System.Windows;
- using System.Windows.Controls;
-
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/ControllerDemo/CustomPlotController.cs b/WpfExamples/Examples/ControllerDemo/CustomPlotController.cs
index 3565213..406b9d7 100644
--- a/WpfExamples/Examples/ControllerDemo/CustomPlotController.cs
+++ b/WpfExamples/Examples/ControllerDemo/CustomPlotController.cs
@@ -7,9 +7,10 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using OxyPlot;
+
namespace ControllerDemo
{
- using OxyPlot;
public class CustomPlotController : PlotController
{
diff --git a/WpfExamples/Examples/ControllerDemo/MainViewModel.cs b/WpfExamples/Examples/ControllerDemo/MainViewModel.cs
index 9399730..c071aa1 100644
--- a/WpfExamples/Examples/ControllerDemo/MainViewModel.cs
+++ b/WpfExamples/Examples/ControllerDemo/MainViewModel.cs
@@ -7,11 +7,12 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using OxyPlot;
+using OxyPlot.Axes;
+using OxyPlot.Series;
+
namespace ControllerDemo
{
- using OxyPlot;
- using OxyPlot.Axes;
- using OxyPlot.Series;
///
/// Represents the view-model for the main window.
diff --git a/WpfExamples/Examples/ControllerDemo/MainWindow.xaml.cs b/WpfExamples/Examples/ControllerDemo/MainWindow.xaml.cs
index 2a4d9b5..bd8b4ff 100644
--- a/WpfExamples/Examples/ControllerDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/ControllerDemo/MainWindow.xaml.cs
@@ -7,9 +7,10 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using WpfExamples;
+
namespace ControllerDemo
{
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/CoupledAxesDemo/MainWindow.xaml.cs b/WpfExamples/Examples/CoupledAxesDemo/MainWindow.xaml.cs
index a42a695..895a80e 100644
--- a/WpfExamples/Examples/CoupledAxesDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/CoupledAxesDemo/MainWindow.xaml.cs
@@ -7,16 +7,15 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Windows;
+using OxyPlot;
+using OxyPlot.Axes;
+using OxyPlot.Series;
+using WpfExamples;
+
namespace CoupledAxesDemo
{
- using System;
- using System.Windows;
-
- using OxyPlot;
- using OxyPlot.Axes;
- using OxyPlot.Series;
-
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/CsvDemo/MainViewModel.cs b/WpfExamples/Examples/CsvDemo/MainViewModel.cs
index fd48fdf..1e8ddbf 100644
--- a/WpfExamples/Examples/CsvDemo/MainViewModel.cs
+++ b/WpfExamples/Examples/CsvDemo/MainViewModel.cs
@@ -4,16 +4,16 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.Globalization;
+using System.IO;
+using OxyPlot;
+using OxyPlot.Axes;
+using OxyPlot.Legends;
+using OxyPlot.Series;
+using WpfExamples;
+
namespace CsvDemo
{
- using System.Globalization;
- using System.IO;
- using OxyPlot;
- using OxyPlot.Axes;
- using OxyPlot.Series;
- using OxyPlot.Legends;
-
- using WpfExamples;
public class MainViewModel : Observable
{
diff --git a/WpfExamples/Examples/CsvDemo/MainWindow.xaml.cs b/WpfExamples/Examples/CsvDemo/MainWindow.xaml.cs
index 59f964f..4340967 100644
--- a/WpfExamples/Examples/CsvDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/CsvDemo/MainWindow.xaml.cs
@@ -7,19 +7,18 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.Diagnostics;
+using System.IO;
+using System.Windows;
+using System.Windows.Controls;
+using Microsoft.Win32;
+using OxyPlot;
+using OxyPlot.Wpf;
+using WpfExamples;
+using SvgExporter = OxyPlot.SvgExporter;
+
namespace CsvDemo
{
- using System.Diagnostics;
- using System.IO;
- using System.Windows;
- using System.Windows.Controls;
-
- using Microsoft.Win32;
-
- using OxyPlot;
- using OxyPlot.Wpf;
-
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
@@ -83,7 +82,7 @@ private void SavePlot_Click(object sender, RoutedEventArgs e)
break;
case ".svg":
var rc = new CanvasRenderContext(new Canvas());
- var svg = OxyPlot.SvgExporter.ExportToString(this.vm.Model, plot1.ActualWidth, plot1.ActualHeight, false, rc);
+ var svg = SvgExporter.ExportToString(this.vm.Model, plot1.ActualWidth, plot1.ActualHeight, false, rc);
File.WriteAllText(dlg.FileName, svg);
break;
case ".pdf":
@@ -122,7 +121,7 @@ private void OpenContainingFolder(string fileName)
private void CopySvg_Click(object sender, RoutedEventArgs e)
{
var rc = new CanvasRenderContext(null);
- var svg = OxyPlot.SvgExporter.ExportToString(this.vm.Model, plot1.ActualWidth, plot1.ActualHeight, true, rc);
+ var svg = SvgExporter.ExportToString(this.vm.Model, plot1.ActualWidth, plot1.ActualHeight, true, rc);
Clipboard.SetText(svg);
}
diff --git a/WpfExamples/Examples/CustomTrackerDemo/MainWindow.xaml.cs b/WpfExamples/Examples/CustomTrackerDemo/MainWindow.xaml.cs
index 8f00d42..f75cf28 100644
--- a/WpfExamples/Examples/CustomTrackerDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/CustomTrackerDemo/MainWindow.xaml.cs
@@ -7,15 +7,14 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.Collections.Generic;
+using System.Windows;
+using OxyPlot;
+using OxyPlot.Series;
+using WpfExamples;
+
namespace CustomTrackerDemo
{
- using System.Collections.Generic;
- using System.Windows;
-
- using OxyPlot;
- using OxyPlot.Series;
-
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/DataTemplateDemo/PlotViewDataTemplateWindow.xaml.cs b/WpfExamples/Examples/DataTemplateDemo/PlotViewDataTemplateWindow.xaml.cs
index bc9ad68..c51e5e7 100644
--- a/WpfExamples/Examples/DataTemplateDemo/PlotViewDataTemplateWindow.xaml.cs
+++ b/WpfExamples/Examples/DataTemplateDemo/PlotViewDataTemplateWindow.xaml.cs
@@ -7,17 +7,16 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Windows;
+using OxyPlot;
+using OxyPlot.Series;
+using WpfExamples;
+
namespace DataTemplateDemo
{
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Windows;
-
- using OxyPlot;
- using OxyPlot.Series;
-
- using WpfExamples;
///
/// Interaction logic for PlotViewDataTemplateWindow.xaml
diff --git a/WpfExamples/Examples/HistogramDemo/MainWindow.xaml.cs b/WpfExamples/Examples/HistogramDemo/MainWindow.xaml.cs
index 48c42fb..0643aa6 100644
--- a/WpfExamples/Examples/HistogramDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/HistogramDemo/MainWindow.xaml.cs
@@ -7,18 +7,17 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Windows;
+using System.Windows.Input;
+using System.Windows.Media.Imaging;
+using OxyPlot;
+using OxyPlot.Axes;
+using OxyPlot.Series;
+using WpfExamples;
+
namespace HistogramDemo
{
- using System;
- using System.Windows;
- using System.Windows.Input;
- using System.Windows.Media.Imaging;
-
- using OxyPlot;
- using OxyPlot.Axes;
- using OxyPlot.Series;
-
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/HistogramDemo/ThrottledMouseEvent.cs b/WpfExamples/Examples/HistogramDemo/ThrottledMouseEvent.cs
index 587160e..73aab07 100644
--- a/WpfExamples/Examples/HistogramDemo/ThrottledMouseEvent.cs
+++ b/WpfExamples/Examples/HistogramDemo/ThrottledMouseEvent.cs
@@ -9,12 +9,13 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Windows;
+using System.Windows.Input;
+using System.Windows.Media;
+
namespace HistogramDemo
{
- using System;
- using System.Windows;
- using System.Windows.Input;
- using System.Windows.Media;
///
/// Creates a 'throttled' MouseMove event which ensures that the UI
diff --git a/WpfExamples/Examples/InterpolationDemo/MainWindow.xaml.cs b/WpfExamples/Examples/InterpolationDemo/MainWindow.xaml.cs
index f3be9b3..451d638 100644
--- a/WpfExamples/Examples/InterpolationDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/InterpolationDemo/MainWindow.xaml.cs
@@ -7,16 +7,15 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using OxyPlot;
+using OxyPlot.Series;
+using WpfExamples;
+
namespace InterpolationDemo
{
- using System.Collections.Generic;
- using System.Linq;
-
- using OxyPlot;
- using OxyPlot.Series;
-
- using WpfExamples;
- using System;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/LegendsDemo/MainViewModel.cs b/WpfExamples/Examples/LegendsDemo/MainViewModel.cs
index 56b1dae..dd8bd59 100644
--- a/WpfExamples/Examples/LegendsDemo/MainViewModel.cs
+++ b/WpfExamples/Examples/LegendsDemo/MainViewModel.cs
@@ -4,17 +4,18 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using OxyPlot;
+using OxyPlot.Legends;
+using OxyPlot.Series;
+using PropertyTools.DataAnnotations;
+using WpfExamples;
+using HorizontalAlignment = OxyPlot.HorizontalAlignment;
+
namespace LegendsDemo
{
- using System;
- using OxyPlot;
- using OxyPlot.Series;
- using OxyPlot.Legends;
-
- using PropertyTools.DataAnnotations;
- using WpfExamples;
- using HorizontalAlignment = OxyPlot.HorizontalAlignment;
+ using HorizontalAlignment = HorizontalAlignment;
public class MainViewModel : Observable
{
diff --git a/WpfExamples/Examples/LegendsDemo/MainWindow.xaml.cs b/WpfExamples/Examples/LegendsDemo/MainWindow.xaml.cs
index 7e8271a..a6a61bf 100644
--- a/WpfExamples/Examples/LegendsDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/LegendsDemo/MainWindow.xaml.cs
@@ -7,9 +7,10 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using WpfExamples;
+
namespace LegendsDemo
{
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/MathBlockDemo/MainWindow.xaml b/WpfExamples/Examples/MathBlockDemo/MainWindow.xaml
index 8f42670..52d3bab 100644
--- a/WpfExamples/Examples/MathBlockDemo/MainWindow.xaml
+++ b/WpfExamples/Examples/MathBlockDemo/MainWindow.xaml
@@ -11,7 +11,7 @@
-
+
diff --git a/WpfExamples/Examples/MathBlockDemo/MainWindow.xaml.cs b/WpfExamples/Examples/MathBlockDemo/MainWindow.xaml.cs
index b35a25a..b9d3505 100644
--- a/WpfExamples/Examples/MathBlockDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/MathBlockDemo/MainWindow.xaml.cs
@@ -1,6 +1,7 @@
-namespace MathBlockDemo
+using WpfExamples;
+
+namespace MathBlockDemo
{
- using WpfExamples;
[Example(null, "MathBlock control")]
public partial class MainWindow
diff --git a/WpfExamples/Examples/MathBlockDemo/MathBlock.cs b/WpfExamples/Examples/MathBlockDemo/MathBlock.cs
index e23dad0..db46ffd 100644
--- a/WpfExamples/Examples/MathBlockDemo/MathBlock.cs
+++ b/WpfExamples/Examples/MathBlockDemo/MathBlock.cs
@@ -7,10 +7,11 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.Windows;
+using System.Windows.Controls;
+
namespace OxyPlot.Wpf
{
- using System.Windows;
- using System.Windows.Controls;
///
/// Provides a control for displaying simple math.
diff --git a/WpfExamples/Examples/MemoryTest/MainWindow.xaml.cs b/WpfExamples/Examples/MemoryTest/MainWindow.xaml.cs
index d6684b4..b493a78 100644
--- a/WpfExamples/Examples/MemoryTest/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/MemoryTest/MainWindow.xaml.cs
@@ -7,13 +7,13 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using WpfExamples;
+
namespace MemoryTest
{
- using System;
- using System.Windows;
- using System.Windows.Controls;
-
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/MemoryTest/Window1.xaml.cs b/WpfExamples/Examples/MemoryTest/Window1.xaml.cs
index 977ff35..1088b5b 100644
--- a/WpfExamples/Examples/MemoryTest/Window1.xaml.cs
+++ b/WpfExamples/Examples/MemoryTest/Window1.xaml.cs
@@ -8,22 +8,12 @@
// --------------------------------------------------------------------------------------------------------------------
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Shapes;
+using OxyPlot;
+using OxyPlot.Series;
namespace MemoryTest
{
- using OxyPlot;
- using OxyPlot.Series;
///
/// Interaction logic for Window1.xaml
diff --git a/WpfExamples/Examples/MemoryTest/Window2.xaml.cs b/WpfExamples/Examples/MemoryTest/Window2.xaml.cs
index 2d6da2c..9449c00 100644
--- a/WpfExamples/Examples/MemoryTest/Window2.xaml.cs
+++ b/WpfExamples/Examples/MemoryTest/Window2.xaml.cs
@@ -9,21 +9,12 @@
using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Shapes;
+using OxyPlot;
+using OxyPlot.Series;
namespace MemoryTest
{
- using OxyPlot;
- using OxyPlot.Series;
///
/// Interaction logic for Window2.xaml
diff --git a/WpfExamples/Examples/OverlayDemo/MainWindow.xaml.cs b/WpfExamples/Examples/OverlayDemo/MainWindow.xaml.cs
index ea02aaa..c6ddaee 100644
--- a/WpfExamples/Examples/OverlayDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/OverlayDemo/MainWindow.xaml.cs
@@ -7,18 +7,17 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Media;
+using System.Windows.Shapes;
+using OxyPlot;
+using OxyPlot.Axes;
+using WpfExamples;
+
namespace OverlayDemo
{
- using System;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Media;
- using System.Windows.Shapes;
-
- using OxyPlot;
- using OxyPlot.Axes;
-
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/PerformanceDemo/MainWindow.xaml.cs b/WpfExamples/Examples/PerformanceDemo/MainWindow.xaml.cs
index d956f9b..48aa79b 100644
--- a/WpfExamples/Examples/PerformanceDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/PerformanceDemo/MainWindow.xaml.cs
@@ -8,17 +8,15 @@
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using System.Windows;
+using OxyPlot;
+using OxyPlot.Series;
+using WpfExamples;
namespace PerformanceDemo
{
- using System.Collections.Generic;
- using System.Windows;
-
- using OxyPlot;
- using OxyPlot.Series;
-
- using WpfExamples;
- using System;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/RealtimeDemo/MainViewModel.cs b/WpfExamples/Examples/RealtimeDemo/MainViewModel.cs
index 34e3333..e6c1a8a 100644
--- a/WpfExamples/Examples/RealtimeDemo/MainViewModel.cs
+++ b/WpfExamples/Examples/RealtimeDemo/MainViewModel.cs
@@ -4,16 +4,16 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.ComponentModel;
+using System.Diagnostics;
+using System.Threading;
+using OxyPlot;
+using OxyPlot.Axes;
+using OxyPlot.Series;
+
namespace RealtimeDemo
{
- using System;
- using System.ComponentModel;
- using System.Diagnostics;
- using System.Threading;
-
- using OxyPlot;
- using OxyPlot.Axes;
- using OxyPlot.Series;
public enum SimulationType
{
diff --git a/WpfExamples/Examples/RealtimeDemo/MainWindow.xaml.cs b/WpfExamples/Examples/RealtimeDemo/MainWindow.xaml.cs
index ccde2f9..11ca43f 100644
--- a/WpfExamples/Examples/RealtimeDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/RealtimeDemo/MainWindow.xaml.cs
@@ -7,11 +7,11 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.Windows;
+using WpfExamples;
+
namespace RealtimeDemo
{
- using System.Windows;
-
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/RectangleSeriesDemo/MainWindow.xaml.cs b/WpfExamples/Examples/RectangleSeriesDemo/MainWindow.xaml.cs
index 86ef268..9e34702 100644
--- a/WpfExamples/Examples/RectangleSeriesDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/RectangleSeriesDemo/MainWindow.xaml.cs
@@ -1,12 +1,11 @@
-namespace RectangleSeriesDemo
-{
- using OxyPlot;
- using OxyPlot.Series;
-
- using WpfExamples;
- using System.Collections.Generic;
+using System.Collections.Generic;
+using OxyPlot;
+using OxyPlot.Axes;
+using OxyPlot.Series;
+using WpfExamples;
- using OxyPlot.Axes;
+namespace RectangleSeriesDemo
+{
public class RectangleWithValue
{
diff --git a/WpfExamples/Examples/ResizeDemo/MainWindow.xaml.cs b/WpfExamples/Examples/ResizeDemo/MainWindow.xaml.cs
index a91b8a2..16ce67e 100644
--- a/WpfExamples/Examples/ResizeDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/ResizeDemo/MainWindow.xaml.cs
@@ -7,15 +7,14 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using OxyPlot;
+using OxyPlot.Axes;
+using OxyPlot.Series;
+using WpfExamples;
+
namespace ResizeDemo
{
- using System;
-
- using OxyPlot;
- using OxyPlot.Axes;
- using OxyPlot.Series;
-
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/ScatterDemo/Fern.cs b/WpfExamples/Examples/ScatterDemo/Fern.cs
index 43594b9..bd0970f 100644
--- a/WpfExamples/Examples/ScatterDemo/Fern.cs
+++ b/WpfExamples/Examples/ScatterDemo/Fern.cs
@@ -8,12 +8,13 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using System.Windows;
+using System.Windows.Media;
+
namespace ScatterDemo
{
- using System;
- using System.Collections.Generic;
- using System.Windows;
- using System.Windows.Media;
///
/// Barnesley fern point generator
diff --git a/WpfExamples/Examples/ScatterDemo/MainWindow.xaml.cs b/WpfExamples/Examples/ScatterDemo/MainWindow.xaml.cs
index dee6981..263bfba 100644
--- a/WpfExamples/Examples/ScatterDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/ScatterDemo/MainWindow.xaml.cs
@@ -7,14 +7,13 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.Windows;
+using OxyPlot;
+using OxyPlot.Series;
+using WpfExamples;
+
namespace ScatterDemo
{
- using System.Windows;
-
- using OxyPlot;
- using OxyPlot.Series;
-
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/ScrollViewerDemo/MainWindow.xaml.cs b/WpfExamples/Examples/ScrollViewerDemo/MainWindow.xaml.cs
index 203847a..32fb4c3 100644
--- a/WpfExamples/Examples/ScrollViewerDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/ScrollViewerDemo/MainWindow.xaml.cs
@@ -7,15 +7,13 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.Windows;
+using OxyPlot;
+using OxyPlot.Axes;
+using WpfExamples;
+
namespace ScrollViewerDemo
{
- using System.Windows;
-
- using OxyPlot;
- using OxyPlot.Axes;
- using OxyPlot.Series;
-
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/TaskDemo/MainViewModel.cs b/WpfExamples/Examples/TaskDemo/MainViewModel.cs
index 21fda33..e7acc24 100644
--- a/WpfExamples/Examples/TaskDemo/MainViewModel.cs
+++ b/WpfExamples/Examples/TaskDemo/MainViewModel.cs
@@ -4,16 +4,17 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Threading;
+using System.Threading.Tasks;
+using System.Windows.Threading;
+using OxyPlot;
+using OxyPlot.Series;
+
namespace TaskDemo
{
- using System;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.Threading;
- using System.Threading.Tasks;
-
- using OxyPlot;
- using OxyPlot.Series;
public class MainViewModel : IDisposable
{
@@ -37,7 +38,7 @@ public MainViewModel()
this.points.Add(new DataPoint(0, 0));
this.PlotModel.Series.Add(this.LineSeries1);
- System.Windows.Threading.Dispatcher.CurrentDispatcher.Thread.Name = "UI thread";
+ Dispatcher.CurrentDispatcher.Thread.Name = "UI thread";
Debug.WriteLine("The MainViewModel is created on: " + Thread.CurrentThread.Name);
// Create a cancellation token source so we can cancel the worker task when
diff --git a/WpfExamples/Examples/TaskDemo/MainWindow.xaml b/WpfExamples/Examples/TaskDemo/MainWindow.xaml
index 3c6d351..1c5ad0e 100644
--- a/WpfExamples/Examples/TaskDemo/MainWindow.xaml
+++ b/WpfExamples/Examples/TaskDemo/MainWindow.xaml
@@ -1,7 +1,7 @@
diff --git a/WpfExamples/Examples/TaskDemo/MainWindow.xaml.cs b/WpfExamples/Examples/TaskDemo/MainWindow.xaml.cs
index bc307c5..916e35c 100644
--- a/WpfExamples/Examples/TaskDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/TaskDemo/MainWindow.xaml.cs
@@ -7,12 +7,12 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.ComponentModel;
+using System.Windows;
+using WpfExamples;
+
namespace TaskDemo
{
- using System.ComponentModel;
- using System.Windows;
-
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/WorldStatisticsDemo/CsvDocument.cs b/WpfExamples/Examples/WorldStatisticsDemo/CsvDocument.cs
index 898ad69..091471f 100644
--- a/WpfExamples/Examples/WorldStatisticsDemo/CsvDocument.cs
+++ b/WpfExamples/Examples/WorldStatisticsDemo/CsvDocument.cs
@@ -13,10 +13,10 @@
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
+using System.Text;
namespace WorldStatisticsDemo
{
- using System.Text;
///
/// A class for comma-separated value files
diff --git a/WpfExamples/Examples/WorldStatisticsDemo/MainViewModel.cs b/WpfExamples/Examples/WorldStatisticsDemo/MainViewModel.cs
index 6e25bb1..aea666a 100644
--- a/WpfExamples/Examples/WorldStatisticsDemo/MainViewModel.cs
+++ b/WpfExamples/Examples/WorldStatisticsDemo/MainViewModel.cs
@@ -4,15 +4,15 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.Collections.Generic;
+using System.Globalization;
+using OxyPlot;
+using OxyPlot.Axes;
+using OxyPlot.Legends;
+using OxyPlot.Series;
+
namespace WorldStatisticsDemo
{
- using System.Collections.Generic;
- using System.Globalization;
-
- using OxyPlot;
- using OxyPlot.Axes;
- using OxyPlot.Series;
- using OxyPlot.Legends;
///
/// Provides a view model for the main view.
diff --git a/WpfExamples/Examples/WorldStatisticsDemo/MainWindow.xaml.cs b/WpfExamples/Examples/WorldStatisticsDemo/MainWindow.xaml.cs
index 6bafa43..021392b 100644
--- a/WpfExamples/Examples/WorldStatisticsDemo/MainWindow.xaml.cs
+++ b/WpfExamples/Examples/WorldStatisticsDemo/MainWindow.xaml.cs
@@ -7,9 +7,10 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using WpfExamples;
+
namespace WorldStatisticsDemo
{
- using WpfExamples;
///
/// Interaction logic for MainWindow.xaml
diff --git a/WpfExamples/Examples/WorldStatisticsDemo/Model/Country.cs b/WpfExamples/Examples/WorldStatisticsDemo/Model/Country.cs
index 4561d05..e6d57b2 100644
--- a/WpfExamples/Examples/WorldStatisticsDemo/Model/Country.cs
+++ b/WpfExamples/Examples/WorldStatisticsDemo/Model/Country.cs
@@ -4,11 +4,12 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.Collections.Generic;
+using System.Linq;
+using System.Reflection;
+
namespace WorldStatisticsDemo
{
- using System.Collections.Generic;
- using System.Linq;
- using System.Reflection;
public class Country
{
diff --git a/WpfExamples/MainWindow.xaml.cs b/WpfExamples/MainWindow.xaml.cs
index 9684059..b28627e 100644
--- a/WpfExamples/MainWindow.xaml.cs
+++ b/WpfExamples/MainWindow.xaml.cs
@@ -7,16 +7,17 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Reflection;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Input;
+
namespace WpfExamples
{
- using System.Collections.Generic;
- using System.IO;
- using System.Linq;
- using System.Reflection;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Input;
-
+
///
/// Interaction logic for MainWindow.xaml
///
diff --git a/WpfExamples/ScreenCapture.cs b/WpfExamples/ScreenCapture.cs
index c77fa59..dad2f4b 100644
--- a/WpfExamples/ScreenCapture.cs
+++ b/WpfExamples/ScreenCapture.cs
@@ -4,11 +4,12 @@
//
// --------------------------------------------------------------------------------------------------------------------
+using System;
+using System.Drawing;
+using System.Runtime.InteropServices;
+
namespace WpfExamples
{
- using System;
- using System.Drawing;
- using System.Runtime.InteropServices;
public static class ScreenCapture
{
diff --git a/WpfExamples/Workitems/PlotModelAlreadyInUse/MainWindow.xaml.cs b/WpfExamples/Workitems/PlotModelAlreadyInUse/MainWindow.xaml.cs
index b258404..cfaa45b 100644
--- a/WpfExamples/Workitems/PlotModelAlreadyInUse/MainWindow.xaml.cs
+++ b/WpfExamples/Workitems/PlotModelAlreadyInUse/MainWindow.xaml.cs
@@ -1,11 +1,12 @@
using System.Windows;
+using WpfExamples;
namespace PlotModelAlreadyInUse
{
///
/// Interaction logic for MainWindow.xaml
///
- [WpfExamples.Example("PlotModel already in use")]
+ [Example("PlotModel already in use")]
public partial class MainWindow : Window
{
public MainWindow()