MrShoes's Profile User Rating: -----

Reputation: 325 Architect
Active Posts:
511 (0.46 per day)
13-June 12
Profile Views:
Last Active:
User is offline Yesterday, 07:57 AM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Your Car:
Who Cares
Dream Kudos:
Expert In:
Icon   MrShoes .Status == null

Posts I've Made

  1. In Topic: WPF Conditional Binding

    Posted 5 May 2015

    There's a few ways to do this, but the easiest way I can think of is this: If using MVVM, you can bind the slider to a property in your VM. The get accessor for that property could then have a condition where it chooses the value to change based on the selected radiobutton. You could instead use triggers to set the binding in the view. This SO answer is a good, simple example.
  2. In Topic: Sorting at datagridview c#

    Posted 22 Apr 2015

    Why not try sorting the DataSource instead of the DataGridView? Is this Windows Forms or WPF? On a side note, your KeyPress event handling method "txt_proximity_KeyPress" has way too much going on, you should consider separating it into a method in case it needs using during another event later. Your naming conventions are a bit inconsistent too. NAMES_LIKE_THIS, for example, usually indicate constants by convention (also yuck, I hate it), but here it's used for a method.
  3. In Topic: Very New... want to create folders for files

    Posted 22 Apr 2015

    As well as Directory.GetCurrentDirectory(), you'll probably want to use Directory.EnumerateFiles() and File.Copy(), which have detailed explanations on MSDN. As for a tutorial, I doubt there's one to meet your exact program requirements. However, what you want to do is pretty simple. Keep following "Learn C#" tutorials (of which this site has several series) until you understand all the concepts and can apply them.
  4. In Topic: Very New... want to create folders for files

    Posted 22 Apr 2015

    Sounds like you need to apply what you learned about "create folders in a location that u have to specify" and work out how to specify the location the application is running in, right? Check out the MSDN docs for the easiest way.
  5. In Topic: Windows store app - Bind images to Grid View

    Posted 22 Apr 2015

    Actually, that's great advice. WPF has a steeper learning curve than WinForms because you need to learn XAML too. Maybe you should spend time either mastering C# or WPF, not both at the same time.

    By the way, most people seem to struggle with XAML at first. There isn't a moment where everything just "clicks" either, it seems to be a series of "clicks" as you build up an understanding. Some developers struggle with it. I'm the only permanent WPF developer at my company, because others just haven't found the time to get learning.

My Information

Member Title:
D.I.C Addict
Age Unknown
December 19
United Kingdom
Full Name:
Ian Hughes
Programming Languages:
C, C++, C#, JavaScript, WPF, XAML, HTML, SQL, SAS, BASIC

Contact Information



Page 1 of 1
  1. Photo

    Michael26 Icon

    19 Jul 2013 - 23:16
    Congrats on promotion.
Page 1 of 1