« first day (194 days earlier)      last day (3955 days later) » 

07:43
morning guys - obviously been quiet in here ! :)
 
2 hours later…
09:34
Morning people
morning
have you tangoed much with the wpf datagrid?
Hey.. i was just looking at your question that you mentioned yesterday
the sorting one?
i dont see another persons response - yea
It was mostly a sanity check, so much can be configured on the wpf controls
did not want to go the eventhandler path if it was not needed
the self reply works ok the little I have tested it
09:37
well i like the answer you gave. I had wondered about the same thing but i never needed a tri sort state
I struggled with phrasing the tri sort, maybe tri sort would be better?
I really feel event handler paths are like stop gaps in WPF to cover for situations that WPF team didn't foresee
well i just coined that from the Tri-state checkbox thing
behaviour could be one option but not super nice either
better potential for re-use though
i dislike adding that dll
really how many times have you actually reused your stuff?
while everybody talks about it - i find that if I'm reusing stuff, then I've stopped learning
because generally by the time i arrive at the same problem again, I've learned more than I knew in past and i have a better solution this time around
yeah and re-using has a cost, adds a lot of complexity to managing stuff
09:40
nod
re-use probably sounds best in conference rooms when people who only drink coffee talk about it
I'm guessing you upvoted something on my answer list?
i have +10 rep than usual >.<
not today, scan you guys every now and then though
heh, nah I don't usually answer questions now
i only wanted 2k rep to be able to modify stuff without having to be peer reviewed
and well you know how chat is - once you start answering here, rep stops churning :)
10:14
morning all
Afternoon more like! ;P
@E.LDunn I have felt so incomplete!
lol johan you so crazy :)
Morning E.L dunn :)
only for you apparently :P
and gregory i wish it was time is going to slowly
and how are you mav :)
10:26
for all but DUnn has been missing :)
I'm good, thanks sir E.L Dunn
10:44
are you at work today?
me? if it was me then yes i am, but im not well :(
ok take care
Hi @BalajiSelvarajan
yes also hi
10:51
This chat is getting quieter and quieter after each passing day. Only a couple of weeks ago it was buzzin` with people!
means we're all gone wiser!
no more questions to ask! :)
its a good sign!
give it time, I'll be throwing questions left right and center next week! :)
@gregory.bmclub I thin we miss Rudi
@JohanLarsson I think your right. With his inappropriate messages. LOL :)
11:13
where has he gone anyways?
hes uber busy with his job
he's handling two jobs apparently. He mentioned it'll resolve itself in a few weeks so we might see him then
Last status update was last night around 2am
where he was up with coffee and whiskey to get something implemented for 9am >.<
Think I'm gonna write some wpf today only problem is sun, sun, sun
Stupid q: how do I buy an app for my Nexus? Do I have to create an account?
I presume so. On your gmail setting on the play store, are there any options?
I have Hotmail but gonna have a look, there is no buy button that I can see
Oh, I would have said create a gmail account to use.
in all fairness, never actually brought an app from the play store! :S
I think mine comes out of my monthly bill.
11:27
there is no monthly for the Nexus as it is wifi only
think I found help now this looks promising
sorry, meant monthly contract.
11:38
ha worked, needed a google wallet
@JohanLarsson wallet is an option but it isn't required
All my purchases are linked via my credit card directly
ok lol, now gf has a wallet any way
and yes you need a gmail account for nexus
or any other android for that matter
gf had one
11:41
somehow you don't sound like a nexus person to me :P
haha
But I hate Apple :D
why go with nexus? xperia or htc one would have been friendlier options
idk, just bought it was really cheap
N4 ?
bought it for gf mostly
11:44
N4 is only like £250 for 8GB Mav.
12:03
yea i know, i have one :)
they did an amazing number with that price tag
though my main reason for N4 was just cos it was nexus!
still i'm pretty inclined for my next phone to be Oppo Find 5
if that thing had come out when i was buying N4, i would have had that instead
hi aal i have a very little probulam
double ListCount = _salaryBillList.Count;
double x = ListCount / 40;
int totalPages = Convert.ToInt32(x);
i want that if the value of x come in like 1.25 then total page equal to value 2
currently it give 1 if i put 1.25
??? plz
@kapil use Math.Ceiling(x)
thanks u
@Maverik love u <3
:)
you're welcome
12:48
Youve got a new friend mav, lol
:) can never have enough of those :)
13:02
the tab in mahapps looks terrible in my opinion :/
lol
feel free to change it :P
its just text thats bigger... normal tab seperates contents much more nicely.
well its not a mahapps thing, its more how ModernUI has chosen to go with
still you can change it all :)
13:23
for anybody working with WCF, this might be of interest: Fault Tolerant WCF Proxies
Hello :)
I created a stackpanel with orientation= horizontal. I would like to set my last item attached to the right. Is it possible with a stackPanel ?
13:40
just use HorizontalAlignment="Right" on last child?
oh wait..
that'll have no effect unless stackpanel was full width
why do you want to use a stackpanel? perhaps dockpanel will serve you better?
i use a dockpanel, and stackpanel Inside ! :)
use a dockpanel within a dockpanel?
you can do it with stackpanel, but you'll have to fiddle with it
i wrote the question here : stackoverflow.com/questions/16319271/…
with all the détails :) and picture
looks like a grid with a nested stackpanel + you rightmost button is the solution
^ that
13:50
or dockpanel might be better
nah, dockpanel will involve more modifications
take the last button out of your StackPanel and have it next to stackpanel
surround these two in a grid with two columns wiht last Column on AutoWidth
gonna try a dockpanel for fun :)
? i already have a dockpanel with stackpanel inside
but i can take my last button out of my stackpanel yes
Dockpanel -> Grid -> StackPanel | Button on right
Grid will get you the right hand alignment while rest of stackpanel can stay as it is
i have done this : DockPanel -> border -> StackPanel | Grid->Button
and it's ok :)
:)
yes but the mine work ! But it's not the best !
<DockPanel Height="40" VerticalAlignment="Top" Background="{StaticResource DegradeCouleurTheme}" >
<Border>

<StackPanel Orientation="Horizontal" Background="{StaticResource DegradeCouleurTheme}">

<Image Source="ElipseGauche.png" Height="28" Margin="10,0,0,0" />

<StackPanel Orientation="Horizontal" Height="28">

<StackPanel.Background>
<ImageBrush ImageSource="ElipseMilieu.png"></ImageBrush>
</StackPanel.Background>

<Button Template="{StaticResource BoutonRessourcesTpl}" Click="Button_Click_Goto_Premier">
14:01
euw, the progress bar in mahapps is hideous!
@Maverik you know why I fail docking the grid to the bottom of the dockpanel?
it is at bottom
but bottom is full height
maybe it is just in the designer the
no add another child in dock - an empty TextBlock
that'll act as fill, and you bottom will become bottom
right now bottom is full height while grid can only take 50px. thus it ends up in mid
<DockPanel LastChildFill="False">
that solved it
14:05
or that :)
<DockPanel LastChildFill="False">
    <Grid Height="50" DockPanel.Dock="Bottom" >
        <StackPanel HorizontalAlignment="Left" VerticalAlignment="Stretch" Orientation="Horizontal">
            <Button>Button1</Button>
            <Button>Button2</Button>
            <Button>Button3</Button>
            <Button>Button4</Button>
        </StackPanel>
        <Button HorizontalAlignment="Right" Width="50">Button</Button>
    </Grid>
</DockPanel>
I scare myself by forgetting everything all the time, knew that one :(
that's pretty much what i was about to paste as well.
woo recycle bin!
1 message moved to recycle bin
I threw away my old crap, no point in having that on the screen still :D
14:08
lol check out the pic in recycle bin
yup - its nice to have clean transcript
haha
first time I binned anything I think
how do you bin stuff?
go to room > Move messages then select messages and where to move them
Bins 3/4 of the messages I have sent
Learn something new every day :D
14:19
Anyone up for geekin a little with Datagrid?
posted on May 01, 2013 by Eric Lippert

I'm back from a short but productive trip to beautiful San Francisco only to discover that the May-June issue of Dot Net Curry magazine in my inbox apparently has me on the cover. 1 It's free, it's online, but you … Continue reading →

14:41
sorry Johan, busy with work :(
i hate my noobness in ado.net
i'm trying to do a simple Select() and i can't figure how >.>
linq has spoiled me so much - you only realise that when you don't have linq to hand
well ef+linq
When I did ado.net we used alot of stored procedures
nah no stored procedures here
@Maverik today is holiday in Sweden, some worker day
aaa
we have it next week on monday - dunno if its the same holiday
I have to work next monday :(
14:50
i think I'm off
but you never know!
bane of working for a 24/7 company
 
2 hours later…
17:11
i have a PreviewKeyUp event on a window that monitors for Escape key presses to close the window
but those events are firing even when the window is not focused
is that normal?
if op en my window, open task manager, cilck my window, click task manager, press escape, both windows close
17:37
i wouldn't expect that to happen
but then i've never done a previewkeyup at a window level
try constraining PreviewKeyUp to container instead (like your grid)
no change
its probably something else then - i've never had that

« first day (194 days earlier)      last day (3955 days later) »