public MainWindowView()
{
InitializeComponent();
this.Left = Properties.Settings.Default.WindowPos.Left;
this.Top = Properties.Settings.Default.WindowPos.Top;
this.Width = Properties.Settings.Default.WindowPos.Width;
this.Height = Properties.Settings.Default.WindowPos.Height;
if (Properties.Settings.Default.IsMaximized)
{
this.WindowState = System.Windows.WindowState.Maximized;
}
else
{
this.WindowState = System.Windows.WindowState.Normal;
}
SetDefaultFont();
}