diff --git a/WOWS.Framwork/App.xaml b/WOWS.Framwork/App.xaml
new file mode 100644
index 0000000..09d5dd1
--- /dev/null
+++ b/WOWS.Framwork/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/WOWS.Framwork/App.xaml.cs b/WOWS.Framwork/App.xaml.cs
new file mode 100644
index 0000000..ba8e85c
--- /dev/null
+++ b/WOWS.Framwork/App.xaml.cs
@@ -0,0 +1,23 @@
+using WOWS.Framwork.Views;
+using Prism.Ioc;
+using Prism.Modularity;
+using System.Windows;
+
+namespace WOWS.Framwork
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App
+ {
+ protected override Window CreateShell()
+ {
+ return Container.Resolve();
+ }
+
+ protected override void RegisterTypes(IContainerRegistry containerRegistry)
+ {
+
+ }
+ }
+}
diff --git a/WOWS.Framwork/Properties/AssemblyInfo.cs b/WOWS.Framwork/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..ceeb84b
--- /dev/null
+++ b/WOWS.Framwork/Properties/AssemblyInfo.cs
@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("WOWS.Framwork")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("WOWS.Framwork")]
+[assembly: AssemblyCopyright("Copyright © 2017")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+//In order to begin building localizable applications, set
+//CultureYouAreCodingWith in your .csproj file
+//inside a . For example, if you are using US english
+//in your source files, set the to en-US. Then uncomment
+//the NeutralResourceLanguage attribute below. Update the "en-US" in
+//the line below to match the UICulture setting in the project file.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+ //(used if a resource is not found in the page,
+ // or application resource dictionaries)
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+ //(used if a resource is not found in the page,
+ // app, or any theme specific resource dictionaries)
+)]
+
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/WOWS.Framwork/Properties/Resources.Designer.cs b/WOWS.Framwork/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..2efa7a2
--- /dev/null
+++ b/WOWS.Framwork/Properties/Resources.Designer.cs
@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WOWS.Framwork.Properties
+{
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WOWS.Framwork.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/WOWS.Framwork/Properties/Resources.resx b/WOWS.Framwork/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/WOWS.Framwork/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/WOWS.Framwork/Properties/Settings.Designer.cs b/WOWS.Framwork/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..872684f
--- /dev/null
+++ b/WOWS.Framwork/Properties/Settings.Designer.cs
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WOWS.Framwork.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/WOWS.Framwork/Properties/Settings.settings b/WOWS.Framwork/Properties/Settings.settings
new file mode 100644
index 0000000..033d7a5
--- /dev/null
+++ b/WOWS.Framwork/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WOWS.Framwork/ViewModels/MainWindowViewModel.cs b/WOWS.Framwork/ViewModels/MainWindowViewModel.cs
new file mode 100644
index 0000000..c68a261
--- /dev/null
+++ b/WOWS.Framwork/ViewModels/MainWindowViewModel.cs
@@ -0,0 +1,19 @@
+using Prism.Mvvm;
+
+namespace WOWS.Framwork.ViewModels
+{
+ public class MainWindowViewModel : BindableBase
+ {
+ private string _title = "Prism Application";
+ public string Title
+ {
+ get { return _title; }
+ set { SetProperty(ref _title, value); }
+ }
+
+ public MainWindowViewModel()
+ {
+
+ }
+ }
+}
diff --git a/WOWS.Framwork/Views/MainWindow.xaml b/WOWS.Framwork/Views/MainWindow.xaml
new file mode 100644
index 0000000..32bcc2d
--- /dev/null
+++ b/WOWS.Framwork/Views/MainWindow.xaml
@@ -0,0 +1,12 @@
+
+
+
diff --git a/WOWS.Framwork/Views/MainWindow.xaml.cs b/WOWS.Framwork/Views/MainWindow.xaml.cs
new file mode 100644
index 0000000..6e17da7
--- /dev/null
+++ b/WOWS.Framwork/Views/MainWindow.xaml.cs
@@ -0,0 +1,22 @@
+using System.Windows;
+using CefSharp;
+using CefSharp.Wpf;
+
+namespace WOWS.Framwork.Views
+{
+ ///
+ /// Interaction logic for MainWindow.xaml
+ ///
+ public partial class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ InitializeComponent();
+ var browser = new ChromiumWebBrowser("https://account.emofid.com/Login?ReturnUrl=%2Fconnect%2Fauthorize%2Fcallback%3Fclient_id%3Deasy2_client_pkce%26redirect_uri%3Dhttps%253A%252F%252Fd.easytrader.emofid.com%252Fauth-callback%26response_type%3Dcode%26scope%3Deasy2_api%2520openid%26state%3D5dfd704832824540a691e497d4613e3a%26code_challenge%3Do0DJ5QnKxCSL3iXpVcfYXfMxuGDWA5YtwBPel4ujhNg%26code_challenge_method%3DS256%26response_mode%3Dquery");;
+ Content = browser;
+ browser.RequestContext=new RequestContext();
+
+
+ }
+ }
+}
diff --git a/WOWS.Framwork/WOWS.Framwork.csproj b/WOWS.Framwork/WOWS.Framwork.csproj
new file mode 100644
index 0000000..08a3555
--- /dev/null
+++ b/WOWS.Framwork/WOWS.Framwork.csproj
@@ -0,0 +1,125 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {DA191135-C0A1-46F0-AAF3-78C24D17F40A}
+ WinExe
+ Properties
+ WOWS.Framwork
+ WOWS.Framwork
+ v4.8
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+ true
+ PackageReference
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ x86
+ 7.3
+ prompt
+ MinimumRecommendedRules.ruleset
+ true
+
+
+ bin\x86\Release\
+ TRACE
+ true
+ pdbonly
+ x86
+ 7.3
+ prompt
+ MinimumRecommendedRules.ruleset
+ true
+
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+
+ MainWindow.xaml
+ Code
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+ 83.4.20
+
+
+
+
+
\ No newline at end of file
diff --git a/WolfOfWallStreet.sln b/WolfOfWallStreet.sln
new file mode 100644
index 0000000..23d1cb0
--- /dev/null
+++ b/WolfOfWallStreet.sln
@@ -0,0 +1,51 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.30204.135
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WolfOfWallStreet", "WolfOfWallStreet\WolfOfWallStreet.csproj", "{C9BEAE1F-FA3B-4611-8C3C-6BBDDC56328F}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WOWS.Framwork", "WOWS.Framwork\WOWS.Framwork.csproj", "{DA191135-C0A1-46F0-AAF3-78C24D17F40A}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
+ Debug|x86 = Debug|x86
+ Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {C9BEAE1F-FA3B-4611-8C3C-6BBDDC56328F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C9BEAE1F-FA3B-4611-8C3C-6BBDDC56328F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C9BEAE1F-FA3B-4611-8C3C-6BBDDC56328F}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {C9BEAE1F-FA3B-4611-8C3C-6BBDDC56328F}.Debug|x64.Build.0 = Debug|Any CPU
+ {C9BEAE1F-FA3B-4611-8C3C-6BBDDC56328F}.Debug|x86.ActiveCfg = Debug|x64
+ {C9BEAE1F-FA3B-4611-8C3C-6BBDDC56328F}.Debug|x86.Build.0 = Debug|x64
+ {C9BEAE1F-FA3B-4611-8C3C-6BBDDC56328F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C9BEAE1F-FA3B-4611-8C3C-6BBDDC56328F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C9BEAE1F-FA3B-4611-8C3C-6BBDDC56328F}.Release|x64.ActiveCfg = Release|x64
+ {C9BEAE1F-FA3B-4611-8C3C-6BBDDC56328F}.Release|x64.Build.0 = Release|x64
+ {C9BEAE1F-FA3B-4611-8C3C-6BBDDC56328F}.Release|x86.ActiveCfg = Release|Any CPU
+ {C9BEAE1F-FA3B-4611-8C3C-6BBDDC56328F}.Release|x86.Build.0 = Release|Any CPU
+ {DA191135-C0A1-46F0-AAF3-78C24D17F40A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {DA191135-C0A1-46F0-AAF3-78C24D17F40A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {DA191135-C0A1-46F0-AAF3-78C24D17F40A}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {DA191135-C0A1-46F0-AAF3-78C24D17F40A}.Debug|x64.Build.0 = Debug|Any CPU
+ {DA191135-C0A1-46F0-AAF3-78C24D17F40A}.Debug|x86.ActiveCfg = Debug|x86
+ {DA191135-C0A1-46F0-AAF3-78C24D17F40A}.Debug|x86.Build.0 = Debug|x86
+ {DA191135-C0A1-46F0-AAF3-78C24D17F40A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {DA191135-C0A1-46F0-AAF3-78C24D17F40A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {DA191135-C0A1-46F0-AAF3-78C24D17F40A}.Release|x64.ActiveCfg = Release|Any CPU
+ {DA191135-C0A1-46F0-AAF3-78C24D17F40A}.Release|x64.Build.0 = Release|Any CPU
+ {DA191135-C0A1-46F0-AAF3-78C24D17F40A}.Release|x86.ActiveCfg = Release|x86
+ {DA191135-C0A1-46F0-AAF3-78C24D17F40A}.Release|x86.Build.0 = Release|x86
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {002E1374-F31C-4832-9309-8D77A547CBD2}
+ EndGlobalSection
+EndGlobal
diff --git a/WolfOfWallStreet/App.xaml b/WolfOfWallStreet/App.xaml
new file mode 100644
index 0000000..1bf9e03
--- /dev/null
+++ b/WolfOfWallStreet/App.xaml
@@ -0,0 +1,40 @@
+
+
+
+
+ ../Resources/Fonts/IranSansMedium.ttf #IRANSans Medium
+ ../Resources/Fonts/Shabnam.ttf #Shabnam
+ ../Resources/Fonts/Shabnam-Bold.ttf #Shabnam Bold
+ ../Resources/Fonts/materialdesignicons-webfont.ttf #Material Design Icons
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WolfOfWallStreet/App.xaml.cs b/WolfOfWallStreet/App.xaml.cs
new file mode 100644
index 0000000..67b5345
--- /dev/null
+++ b/WolfOfWallStreet/App.xaml.cs
@@ -0,0 +1,34 @@
+using Prism.Ioc;
+using WolfOfWallStreet.Views;
+using System.Windows;
+using WolfOfWallStreet.Services;
+using WolfOfWallStreet.Services.Contracts;
+using WolfOfWallStreet.ViewModels;
+using WolfOfWallStreet.Views.Controllers;
+
+namespace WolfOfWallStreet
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App
+ {
+ protected override Window CreateShell()
+ {
+ return Container.Resolve();
+ }
+
+ protected override void RegisterTypes(IContainerRegistry containerRegistry)
+ {
+ containerRegistry.RegisterForNavigation();
+ containerRegistry.RegisterForNavigation();
+ containerRegistry.RegisterForNavigation();
+ containerRegistry.RegisterForNavigation();
+ containerRegistry.RegisterForNavigation();
+ containerRegistry.Register();
+ containerRegistry.Register();
+ containerRegistry.Register();
+ containerRegistry.Register();
+ }
+ }
+}
diff --git a/WolfOfWallStreet/Extensions/StringExtensions.cs b/WolfOfWallStreet/Extensions/StringExtensions.cs
new file mode 100644
index 0000000..aa29036
--- /dev/null
+++ b/WolfOfWallStreet/Extensions/StringExtensions.cs
@@ -0,0 +1,144 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace WolfOfWallStreet.Extensions
+{
+
+ public static class StringExtensions
+ {
+ public static bool HasValue(this string value, bool ignoreWhiteSpace = true)
+ {
+ return ignoreWhiteSpace ? !String.IsNullOrWhiteSpace(value) : !String.IsNullOrEmpty(value);
+ }
+
+ public static int ToInt(this string value)
+ {
+ return Convert.ToInt32(value);
+ }
+
+ public static decimal ToDecimal(this string value)
+ {
+ return Convert.ToDecimal(value);
+ }
+
+ public static string ToNumeric(this int value)
+ {
+ return value.ToString("N0"); //"123,456"
+ }
+
+ public static string ToNumeric(this decimal value)
+ {
+ return value.ToString("N0");
+ }
+
+ public static string ToCurrency(this int value)
+ {
+ //fa-IR => current culture currency symbol => ریال
+ //123456 => "123,123ریال"
+ return value.ToString("C0");
+ }
+
+ public static string ToCurrency(this decimal value)
+ {
+ return value.ToString("C0");
+ }
+
+ public static string En2Fa(this string str)
+ {
+ return str.Replace("0", "۰")
+ .Replace("1", "۱")
+ .Replace("2", "۲")
+ .Replace("3", "۳")
+ .Replace("4", "۴")
+ .Replace("5", "۵")
+ .Replace("6", "۶")
+ .Replace("7", "۷")
+ .Replace("8", "۸")
+ .Replace("9", "۹");
+ }
+
+ public static string Fa2En(this string str)
+ {
+ return str.Replace("۰", "0")
+ .Replace("۱", "1")
+ .Replace("۲", "2")
+ .Replace("۳", "3")
+ .Replace("۴", "4")
+ .Replace("۵", "5")
+ .Replace("۶", "6")
+ .Replace("۷", "7")
+ .Replace("۸", "8")
+ .Replace("۹", "9")
+ //iphone numeric
+ .Replace("٠", "0")
+ .Replace("١", "1")
+ .Replace("٢", "2")
+ .Replace("٣", "3")
+ .Replace("٤", "4")
+ .Replace("٥", "5")
+ .Replace("٦", "6")
+ .Replace("٧", "7")
+ .Replace("٨", "8")
+ .Replace("٩", "9");
+ }
+
+ public static string FixPersianChars(this string str)
+ {
+ return str.Replace("ﮎ", "ک")
+ .Replace("ﮏ", "ک")
+ .Replace("ﮐ", "ک")
+ .Replace("ﮑ", "ک")
+ .Replace("ك", "ک")
+ .Replace("ي", "ی")
+ .Replace(" ", " ")
+ .Replace("", " ")
+ .Replace("ھ", "ه");//.Replace("ئ", "ی");
+ }
+
+ public static string CleanString(this string str)
+ {
+ return str.Trim().FixPersianChars().Fa2En().NullIfEmpty();
+ }
+
+ public static string NullIfEmpty(this string str)
+ {
+ return str?.Length == 0 ? null : str;
+ }
+
+ public static string FixEmail(string email)
+ {
+ return email.Trim().ToLower();
+ }
+
+ public static string GenerateGuid(int numOfCharacter)
+ {
+ return Guid.NewGuid().ToString("N").Substring(0, numOfCharacter);
+ }
+
+ public static string CombineWith(this string[] array, char character)
+ {
+ string newString = "";
+ foreach (var item in array)
+ {
+ if (newString == "")
+ newString = item;
+ else
+ newString = newString + character + item;
+ }
+ return newString;
+ }
+
+ public static int GetNumOfWeek(this string week)
+ {
+ string[] weekArray = { "شنبه", "یکشنبه", "دوشنبه", "سه شنبه", "چهار شنبه", "پنج شنبه", "جمعه" };
+ return Array.IndexOf(weekArray, week);
+ }
+
+ public static string[] GetMonth()
+ {
+ string[] month = { "فروردین", "اردیبهشت", "خرداد", "تیر", "مرداد", "شهریور", "مهر", "آبان", "آذر", "دی", "بهمن", "اسفند" };
+ return month;
+ }
+ }
+}
diff --git a/WolfOfWallStreet/Helper/ScrollHelper.cs b/WolfOfWallStreet/Helper/ScrollHelper.cs
new file mode 100644
index 0000000..a90f549
--- /dev/null
+++ b/WolfOfWallStreet/Helper/ScrollHelper.cs
@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Windows;
+using HandyControl.Controls;
+
+namespace WolfOfWallStreet.Helper
+{
+ public static class ScrollHelper
+ {
+ public static bool GetAutoScroll(DependencyObject obj)
+ {
+ return (bool)obj.GetValue(AutoScrollProperty);
+ }
+
+ public static void SetAutoScroll(DependencyObject obj, bool value)
+ {
+ obj.SetValue(AutoScrollProperty, value);
+ }
+
+ public static readonly DependencyProperty AutoScrollProperty =
+ DependencyProperty.RegisterAttached("AutoScroll", typeof(bool), typeof(ScrollHelper), new PropertyMetadata(false, AutoScrollPropertyChanged));
+
+ private static void AutoScrollPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
+ {
+ var scrollViewer = d as ScrollViewer;
+
+ if (scrollViewer != null && (bool)e.NewValue)
+ {
+ scrollViewer.ScrollToBottom();
+ }
+ }
+ }
+}
diff --git a/WolfOfWallStreet/Models/Account.cs b/WolfOfWallStreet/Models/Account.cs
new file mode 100644
index 0000000..230c6f5
--- /dev/null
+++ b/WolfOfWallStreet/Models/Account.cs
@@ -0,0 +1,13 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace WolfOfWallStreet.Models
+{
+ public class Account
+ {
+ public string Name { get; set; }
+ public string PhoneNumber { get; set; }
+ public string Email { get; set; }
+ }
+}
diff --git a/WolfOfWallStreet/Models/EasyTrader/EasyTraderDraft.cs b/WolfOfWallStreet/Models/EasyTrader/EasyTraderDraft.cs
new file mode 100644
index 0000000..23b9107
--- /dev/null
+++ b/WolfOfWallStreet/Models/EasyTrader/EasyTraderDraft.cs
@@ -0,0 +1,49 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace WolfOfWallStreet.Models.EasyTrader
+{
+ public class EasyTraderDraft
+ {
+
+ public string isin { get; set; }
+ public int financeId { get; set; }
+ public int quantity { get; set; }
+ public int price { get; set; }
+ public int easyState { get; set; }
+ public int side { get; set; }
+ public int validityType { get; set; }
+ public object validityDateJalali { get; set; }
+ public string stockSymbol { get; set; }
+ public int easySource { get; set; }
+ public bool cautionAgreementSelected { get; set; }
+ public string referenceKey { get; set; }
+ public string responseErrorMessage { get; set; }
+
+ }
+
+ public class OnlinePlusDraft
+ {
+ public bool IsSymbolCautionAgreement { get; set; }
+ public bool CautionAgreementSelected { get; set; }
+ public bool IsSymbolSepahAgreement { get; set; }
+ public bool SepahAgreementSelected { get; set; }
+ public int orderCount { get; set; }
+ public int orderPrice { get; set; }
+ public int FinancialProviderId { get; set; }
+ public string minimumQuantity { get; set; }
+ public int maxShow { get; set; }
+ public int orderId { get; set; }
+ public string isin { get; set; }
+ public int orderSide { get; set; }
+ public int orderValidity { get; set; }
+ public object orderValiditydate { get; set; }
+ public bool shortSellIsEnabled { get; set; }
+ public int shortSellIncentivePercent { get; set; }
+
+ public string Cocies { get; set; }
+
+
+ }
+}
diff --git a/WolfOfWallStreet/Models/EasyTrader/EasyTraderOrderResult.cs b/WolfOfWallStreet/Models/EasyTrader/EasyTraderOrderResult.cs
new file mode 100644
index 0000000..737c565
--- /dev/null
+++ b/WolfOfWallStreet/Models/EasyTrader/EasyTraderOrderResult.cs
@@ -0,0 +1,16 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace WolfOfWallStreet.Models.EasyTrader
+{
+ public class EasyTraderOrderResult
+ {
+ public bool isSuccessfull { get; set; }
+ public string message { get; set; }
+ public int omsOrderId { get; set; }
+ public DateTime orderEntryDate { get; set; }
+ public string orderEntryDateJalali { get; set; }
+ public object omsErrorDescription { get; set; }
+ }
+}
diff --git a/WolfOfWallStreet/Models/EasyTrader/EasyTraderSymbol.cs b/WolfOfWallStreet/Models/EasyTrader/EasyTraderSymbol.cs
new file mode 100644
index 0000000..036ae0e
--- /dev/null
+++ b/WolfOfWallStreet/Models/EasyTrader/EasyTraderSymbol.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace WolfOfWallStreet.Models.EasyTrader
+{
+ public class EasyTraderSymbol
+ {
+ public double minQuantityOrder { get; set; }
+ public double maxQuantityOrder { get; set; }
+ public int lowAllowedPrice { get; set; }
+ public int highAllowedPrice { get; set; }
+ public int bidPrice { get; set; }
+ public int askPrice { get; set; }
+ public bool isCaution { get; set; }
+ }
+}
diff --git a/WolfOfWallStreet/Models/MofidOnline/MofidOnlineOrder.cs b/WolfOfWallStreet/Models/MofidOnline/MofidOnlineOrder.cs
new file mode 100644
index 0000000..c63efd7
--- /dev/null
+++ b/WolfOfWallStreet/Models/MofidOnline/MofidOnlineOrder.cs
@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace WolfOfWallStreet.Models.MofidOnline
+{
+ public class MofidOnlineOrder
+ {
+ public string Mode { get; set; }
+ public string SymbolId { get; set; }
+ public string OrderPrice { get; set; }
+ public string OrderType { get; set; }
+ public string OrderSide { get; set; }
+ public string OrderValidity { get; set; }
+ public string OrderValiditydate { get; set; }
+ public string OrderTotalQuantity { get; set; }
+ public string TriggerPrice { get; set; }
+ public string MinimumQuantity { get; set; }
+ public string MaxShown { get; set; }
+ public string BourseCode { get; set; }
+ public string isin { get; set; }
+ public string pk { get; set; }
+ public string OrderMode { get; set; }
+ public string orderid { get; set; }
+ public string OrderExpectedQuantity { get; set; }
+ public object ts { get; set; }
+ public string cs { get; set; }
+ public string ss { get; set; }
+ public string SymbolNsc { get; set; }
+ public bool SendSMS { get; set; }
+ public string browserTime { get; set; }
+ public string IsSymbolInAgreement { get; set; }
+ public bool AcceptedAgreement { get; set; }
+
+ public string Cookies { get; set; }
+ }
+}
diff --git a/WolfOfWallStreet/Models/MofidOnline/MofidOnlineOrderResult.cs b/WolfOfWallStreet/Models/MofidOnline/MofidOnlineOrderResult.cs
new file mode 100644
index 0000000..2cb5942
--- /dev/null
+++ b/WolfOfWallStreet/Models/MofidOnline/MofidOnlineOrderResult.cs
@@ -0,0 +1,51 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Windows.Media;
+using MD.PersianDateTime.Standard;
+
+namespace WolfOfWallStreet.Models.MofidOnline
+{
+ public class MofidOnlineOrderResult
+ {
+
+ public bool haserror { get; set; }
+ public string Value { get; set; }
+ public List