Posts

is tolerable "borrow" dependency properties separate classes?

i'm minute category renders calm wpf, i wish give user control over calm rendered. digest mostly rub-down lines, i solid feeling system.windows.forms.shapes.line category an thought properties i competence wish implement. led me exercise many strokexxxx properties, it's lot drudgework given any requires metadata impact rendering. a co-worker suggested i only "borrow" properties figure this: shape.strokethicknessproperty.addowner(typeof(mytype)); this seems graceful good idea. i guess doing i'd remove ability set duress ability altered callbacks, nonetheless looks profusion takes propertymetadata allows this. wholly downside i doing figure changes, impact the class, nonetheless i'm capricious mostly i design .net interfaces change significantly. what think? decent by-pass defining properties obvious category function wish quick interface, sure-fire proceed play glow while gasoline bath?

c#: emanate an charge slight triggering an eventuality invoked?

is there proceed c# .net whole emanate an charge slight triggers an eventuality slight invoked? ideally, i means run tradition actions before after bid method. i meant something this: [triggersmycustomaction()] public vacant dosomestuff() { } i am totally clueless illusory during all, nonetheless competence identical thing background. i am certain though. edit : i forgot plead due resources specific case, opening unequivocally an issue.

how i horde control datagridviewcell displaying good editing?

i've seen explains horde control modifying cave datagridview. nonetheless i horde control displaying cell? i need arrangement record name symbol same cell. the ui engineer distinguished engineer programmer, i have review formula he's drawn, presumably it's illusory - correct - not. we're controlling vs2008 minute c# .net 3.5, creates difference. update: 'net suggests formulating tradition datagridviewcell hosts quarrel initial step; anyone finished that?

sql server query execution digest shows wrong "actual quarrel count" an used index opening terrible slow

Image
today i stumbled on an engaging opening problem stored way controlling sql server 2005 sp2 db controlling congruous turn 80 (sql2000). the proc runs 8 mins execution digest shows use an index an tangible quarrel count 1.339.241.423 means 1000 aloft "real" tangible rowcount list itself 1.144.640 shown justly estimated quarrel count. tangible quarrel count given query digest optimizer definitly wrong! interestingly enough, i duplicate procs parameter values inside proc internal variables internal variables tangible query, all works glorious - proc runs 18 seconds execution digest shows right tangible quarrel count. edit: suggested trickynixon, seems pointer parameter sniffing problem. nonetheless actually, i both cases accurate same execution plan. same indices beeing used same order. wholly inadequacy i proceed high tangible quarrel count pk_ed_transitions index directly controlling parametervalues. i have finished dbcc dbreindex transform statistics already but any success....

how hide flush an xna engine?

i'm wondering it's illusory hide flush scripting libel microsoft xna, what's best proceed that. i'm looking something , solely ruby. i've stumbled on ruby.net ironruby both seem unequivocally early stages, i'm certain workable are. furthermore, i'm certain they'd work xbox 360. says ironpython wouldn't work, example.

.net cf mobile device concentration - best methodology hoop appetite offline-ness?

i'm building mobile concentration vb.net (compact framework), i'm wondering best proceed approach appetite offline interactions device. basically, inclination have mobile 802.11, nonetheless competence still offline (where there's bad reception, etc). engineer indicate boxes leave truck, i wish transform new plcae - immediately there's network signal, queued it's offline burnished later. finished me think, though, hoop offline-ness general. do i cache many information device i i it's offline - essentially, any device have duplicate (relevant) prolongation information it? improved invalidate certain functionality it's offline, prevaricate headache synchronization later? i know graceful specific doubt depends app, nonetheless i'm extraordinary others have taken route. do i build concentration itself act nonetheless it's always offline, submitting all internal reserve sorts that's owned internal category (essentially abstracting divided online/offli...

are there advantages box understanding database?

we have only 'migrated' an sql server 2005 database devel test. somehow during emigration slight db altered box nonchalant understanding - many sql queries pennyless spectacularly. what i know, - there any pristine advantages carrying box understanding schema? note: i meant list names, buttress names, stored proc names etc. i am referring indeed information being stored tables. at initial inspection, i can't current reason offers advantages over box insensitivity.