CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of args
C#
public static int Main(params string[] args)
{
           List<string> filesList = new List<string>();
            foreach (string arg in args)
            {
                if (arg.StartsWith("-"))
                {
                    if (arg.ToLower().Contains("nogui"))
                        ...;
                    else if (arg.ToLower().Contains("autostart"))
by none_100   January 26, 2012 @ 5:23am
32 Views
no comments
 
C#
private static PropertyChangedEventArgs CurrentItemChangedEventArgs = new PropertyChangedEventArgs("CurrentItem");
private static PropertyChangedEventArgs CurrentPositionChangedEventArgs = new PropertyChangedEventArgs("CurrentPosition");
private static PropertyChangedEventArgs IsCurrentBeforeFirstChangedEventArgs = new PropertyChangedEventArgs("IsCurrentBeforeFirst");
 
...
 
this.PropertyChanged(this, CurrentItemChangedEventArgs);
this.PropertyChanged(this, CurrentPositionChangedEventArgs);
this.PropertyChanged(this, IsCurrentBeforeFirstChangedEventArgs);
by Jeff Handley   August 14, 2009 @ 12:15am
405 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate