This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace QuoteFeed.OMS.Data | |
{ | |
public abstract class OrderResult | |
{ | |
public abstract string ResultString(); | |
public static readonly OrderResult Success = new SuccessResult(); | |
public static readonly OrderResult DuplicateId = new DupliceIdResult(); | |
public static readonly OrderResult InvalidRoute = new InvalidRouteResult(); | |
public static readonly OrderResult InvalidOrderType = new InvalidOrderTypeResult(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyForm | |
{ | |
public void UpdateProgress(int step) { | |
if (InvokeRequired) { | |
this.Invoke(new Action<int>(UpdateProgress), step); | |
} else { | |
prgOverallProgress.Value = step; | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
//Interfaces for working with excel | |
//this file allows me to not have a reference to excel in the project | |
//Adding a reference is to a specific version, these interfaces apply to all | |
//see Kenny Ker's blog http://weblogs.asp.net/kennykerr/archive/2008/12/16/Rtd7.aspx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Enable-RemoteDesktop | |
choco install 7-Zip | |
choco isntall git | |
choco install far | |
choco install GitHub | |
choco install f.lux | |
choco install dropbox | |
choco install sourcetree |