Reputation: 87 Whiz
- Active Members
- Active Posts:
- 1,094 (0.49 per day)
- 09-May 09
- Profile Views:
- Last Active:
- May 26 2015 04:54 AM
- OS Preference:
- Favorite Browser:
- Internet Explorer
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Dream Kudos:
Posts I've Made
Posted 25 May 2015damn you snoopy, I needed u 12months ago.
Posted 25 May 2015Json maybe
Newtonsoft has some great JsonConvert methods for creating files based on objects
db would be the best option if you have to do lots of filtering for your results. Have a look at SQLite
Posted 25 May 2015the error defines the issue,
you have a primary key defined and your inserting a new object were the key has the same value.
You should use AutoIncrement for primary keys, when inserting you don't need to specify a key.
display you Model which defines the table
Posted 22 May 2015I did with my own windows form project but I didn't need full transparency.
I made a custom semi transparent panel then sat controls on top and the background could come though. I had tried the overlay option but was never able to get exactly want I wanted.
My advice would be the same as many other gave me, drop windows forms and move to wpf.
if this is not an option then , create a small panel, add your label to it then use the picturebox.decoration method to add the panel.
set the panels width property to be the same as the image width
hope this helps
Posted 21 May 2015I found the issue
Like I said im new to MVVM and the concepts
I had created a class (followed a tutorial) which was a base class that has the onpropertychanged function which was inherited by my viewModel class
Looking at msdn I could see that their view model inherited INotifyPropertyChange and the method for propertyChanged resided within the viewmodel itself. So I changed it to match.
So when I was calling PropertyChanged it was doing nothing therefore the get method was not being called.
Thank you everyone for the help, the public private property might have taken me a lifetime to spot
- Member Title:
- D.I.C Lover
- 30 years old
- December 28, 1984
- Derry / Londonderry
Play in the North West Snooker league each year
Programme everyday for fun
- Full Name:
- Kevin Deery
- Years Programming:
- Programming Languages:
- C++, Java, C#, Vb.Net , SQL,