« first day (951 days earlier)      last day (3198 days later) » 
00:00 - 18:0018:00 - 22:00

6:00 PM
I like how I keep getting "Object reference not set to an instance of an object" in my error list
Infragistics has been totally f'in up the designer for WPF
I got a C# question for ya Bradley.... whats the difference between a 'type' as in Some.Namespace.SomeType, and type as in the result of typeof()
I don't understand the difference.... I just know that the compiler does
 
typeof returns an actual Type object
Some.Namespace.SomeType is actually a compile-time "type"
 
so... are there instances of Type objects in a runtime, or is it like java where a 'type' is a single entity stored by the classloader
 
so to a certain extent, its a runtime-compiletime difference
 
I find it weird that it makes a distinction
 
I'm not sure what either of those statements meant :)
 
6:04 PM
well in java... there is no typeof statement
 
Like I said, there is a run-time/compile-time distinction
 
you just say the type
hum...
 
for example, you can't use Type objects in generics
 
another C# compiler quark
 
because generic type args have to be known at compile-time
but you can use typeof(T) to get the runtime type
as a Type object
not really a quirk even
 
6:05 PM
its a little weird from where im sitting
 
a boson?
 
a higgs boson?
lol
quarks!
top bottom up down strange and charmed
 
is it a strange quark?
 
twas lame, sry
 
6:06 PM
lol
 
blast beat me to it
 
it truly is
there needs to be more physics jokes
 
Keep it as a "compile-time" "run-time" distinction in your head, and you will probably use typeof correctly :)
 
I have no issues identifying where its needed
 
ok... so you should understand the difference then.
Clearly a Type object is not the same as the compile-time type "SomeNamespace.SomeType"
 
6:09 PM
I don't understand the need.... like I cant say Type t = Some.Fully.Qualifed.Name
that should work in my mind
it does in java anyway
lol
 
"Some.Fully.Qualified.Name" doesn't return anything
at best, it derives from object
 
but it is a 'type' :P
 
not Type
 
hehehe
 
not in a variable-type sense its not
 
6:10 PM
because of Quarks
all things go back to physics
 
@MarkW the compiler could do it for you - you could always suggest it on uservoice
 
@Reed agreed!
see!!!!
 
it'd internally just translate to Type t = Type.GetType("Some.Fully.Qualified.Name");, I'm sure
 
it is quarky
 
6:14 PM
Well, the compiler could do lots of stuff for you :)
 
I want that secret compiler.... the one that finishes your application for you
someone beat me to it
 
I have a thread mess with a beautiful thing inside.
 
I ♥ Threading
@JohanLarsson what is this beautiful thing inside of your thread mess
 
and why is it a thread mess?
 
6:30 PM
@MarkW this is the simplest. I think it works.
@ReedCopsey lack of skill
 
I got no clue why that's pretty
but like most modern art, ill take your word for it :D
 
7:00 PM
o/
Just referred this user to the chat room. We'll see if they stop by:
-4
Q: How do I share information between 2 UserControl in my WPF application?

software is funI have a UserControl called "Preferences.xaml" This contains two textbox with default strings 1. Database Path 2. Folder Path (to create txt files) I want to share those strings with other UserControls within my application

 
is your last name Crumbling, or are you like the rest of us developers and just crushed under the weight of your responsibilities?
 
7:17 PM
@MarkW Thanks Mark. You've now crushed my spirit by making fun of my last name. I'll now be sobbing during my whole commute home.
:)
(or ..yes, it is indeed my last name)
 
lol
 
pretty unique.. I'm sure you'll be able to cyber-stalk me fully.
 
don't feel bad my last name is Wolfert... and my middle name is Aurthor (pronounced Arther) so... not only is it proof that my family cant spell, but you can imagine all of the ways my last name was made fun of growing up
hehe
 
Haha (At least your first name isn't that of a girl.)
If I had a quarter .. for every Ms. Lynn Crumbling letter I've gotten in my life...
 
lol take it back! Don't let the feminine claim your name!
 
7:19 PM
I'd have 5 or 6 bucks
 
lol sounds like your oppressed
you should get on tumblr
 
Ha. Indeed.
The "sample package" that I got by accident when I was 16 or 17 was really the low point in my life.
Thanks Tampax.
 
bwahahaha
 
Appreciate that.
 
bearded ladies need lovin too....
 
7:22 PM
Ha. It is fun yelling at telemarkers when they call though.
"Hi, can I speak to Ms. Lynn Crumbling."
 
you could make it really awkward and claim youre post op
 
(rubs hands together... oh boy! fresh blood.)
@MarkW Hahaha
Ok. Off to find some coffee before my next coding run.
 
cya
 
@MarkW think i solved it
Switched to dispatchertimer
 
7:40 PM
@LynnCrumbling He's been here before, the "haven't used MVVM" excuse is getting a bit old
he should have picked up the basics by now
 
@BradleyDotNET Oh? That user's been to the chat room?
 
He been in C#, and I think here at least once
He's able to learn (I think) but it seems he's going for "give me all the code" in his comments
 
@BradleyDotNET Does he take that approach just for WPF-ish things, or for c# programming in general?
 
7:57 PM
1
Q: RichTextBox scroll to end not working when not visible

Landin MartensI have a WPF RichTextBox in my application that sits in Grid. It gets updated every second or two as it displays logs (though sometimes there are no logs for up to a minute depending on the load). The grid is not always visible, as it sits in its own tab. If the user is on another tab, the logge...

 
value converters are awesome
they reduce the number of properties I have to make so much
 
@LynnCrumbling Not sure, I've only seen his WPF questions
@MarkW Yes they are :)
Especially ValueEqualsConverter
 
is that a typical one?
I used a similar one to the enum converter linked in that starred quote over there
as well as one for Boolean to visibility, and ReferenceToBoolean
(false for null true for a ref)
 
mmm - I need to extend my general BooleanConverter to work on predicates
would make it easy to extend out
 
/me goes off to do sick things like embed tv tuner output in a web page.
 
8:12 PM
@MarkW I use it quite a bit, but I have a lot of bound enums :)
 
8:44 PM
converters scatter the logic but Nice that they are available as an option
 
anyone here ? available ?
 
8:59 PM
k I gotta leave the chat... I have to test my code that writes settings out to devices over the network... and I need to be isolated.... incase my code sucks, which historical precedence, and I inadvertently brick every device connected to the network
cya!
 
@BradleyDotNET dear im using gif image in wpf application and also i've tried every thing (in my openion) but still not working !
sure @MarkW take your time !
 
Gif doesn't work
 
are you sure? Pretty sure I have used gif & tiff
 
9:14 PM
I didn't brick my device!
:D
 
pretty sure
Last time I tried, I used a 3rd party control and that went terribly
not sure on tiff
 
confirmed gif works
<Image Source="Untitled.gif" />
svg does not work though
no support for some strange reason
 
As indicated by this post: stackoverflow.com/questions/210922/… it doesn't have native support
you must be doing something special
 
maybe xaml and svg are competing technologies idk
that is an a nimated gif
was that in the spec?
 
9:29 PM
granted, I was testing an animated one
The OP just said "GIF image"
appears to be gone anyways
 
00:00 - 18:0018:00 - 22:00

« first day (951 days earlier)      last day (3198 days later) »