Perneel.ca Simple site for a simple man

29Aug/120

Reminder

When trying to search a List<T>, we can to the following

T result = List.Find(

delegate(T x)

{

return x.ID == IDToFind;

}

);

if result is not null, it is the object you want, else we did not find the object and we return a null

(http://msdn.microsoft.com/en-us/library/x0b5b5bc.aspx)

15Jul/120

Update

So in my last post I was saying that I could not get input to be captured.  Well it was, I was just not paying close enough attention.

Right now I am able to generate new encrypted password, but it is not auto updating in the UI.  An idea dawned on me this morning.

When I generate a new password, I can see the encrypted password, but the encrypted dialog item is not updating automatically.  If I select another account and go back to the one that was just generated, I can see the password.  So my idea is, when I generate a new password, I will set the selectedaccount property to null and then rebind to the account that was just modified.... Hope that works...

Filed under: Projects No Comments
9Jul/120

MVVM why do you hate me

or why do I feel the need to use frameworks that are poorly documented.  Basically, Password safe needs the user to input the "master" password to decrypt the data file, but my input is not being captured when I enter it.  Guess I will have to read more on Apex's operations.

So basically right now I have ported the console version that was working into a WPF version.  The UI is basic, but dont need anything fancy yet.

Filed under: Projects No Comments
27Jun/120

Hello world!

It is about time I start using this domain that I have paid for!

I will post various info here, like projects I am working on, etc

 

Filed under: Uncategorized No Comments