IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.43 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-08-06
[16:08]<szzcyn>lets try :)
[16:08]<szzcyn>but i see not so different
[16:09]<mracn>Honestly, I think %.1f was easier
[16:09]<mracn>;o)
[16:09]<szzcyn>ditto
[16:09]<szzcyn>but sometimes it didnt round correctly :)
[16:10]<lcs>either i am very stupid, or framework people didnt think that someone might be willing to actualy get the data from selected row/cell
[16:11]<mracn>pks: The DataGrid is a beast
[16:13]<lcs>yea, probably i will have to run function bar with the row number i want to get xored with the hash value of "foo"
[16:13]<lcs>or something intuitive like that
[16:14]<szzcyn>sounds like an arse
[17:36]<cxzysddd>How does the defintion of a function look like which would contain a parameter which is another function like a void function for example?
[17:37]<aznnlnz->accept a delegate you declared earlier
[17:38]<aznnlnz->the one that matches your function
[17:39]<lcs>any datagrid pro here?
[17:39]<cxzysddd>oh ok.. thank you im going to try that
[17:45]<mracn>how can you constrain a generic argument so that it must implement a certain interface while at the same time implementing a paremeterless constructor?
[17:46]<mracn>public class Foo<T> where T : IBar, new() { ... }
[17:46]<mracn>that doesn't seem to do it
[17:46]<mracn>rather it seems to work with any class that implements a paremeterless constructor
[18:04]<dzycnzu>Is there a way to force an event to occur
[18:04]<dzycnzu>like, if I do txtExample.Text = "Hello";
[18:04]<mracn>fire it
[18:04]<dzycnzu>I want it to execute the code in my text_changed event
[18:04]<dzycnzu>okay, let me go google that
[18:04]<mracn>if (MyEvent != null) { MyEvent(sender, args); }
[18:04]<dzycnzu>just didn't know the terms
[18:04]<dzycnzu>Thank you
[18:05]<mracn>not sure you can fire an event in another class without overriding though
[18:05]<dzycnzu>Well, it wants to know what args is, hehe
[18:06]<dzycnzu>nevermind
[18:06]<dzycnzu>I think I got it
[18:07]<dzycnzu>no, I did
[18:07]<dzycnzu>txtCurrentAmt_TextChanged(sender, e);
[18:07]<dzycnzu>compiles fine, but doesn't fire the event
[18:09]<mracn>that doesn't look like an event really, but rather and event handler
[18:09]<mracn>an even
[18:09]<mracn>google for events c#
[18:09]<dzycnzu>I'm sorry, it is an event handler
[18:09]<mracn>it's really not that complex when you get into it
[18:10]<dzycnzu>mmk
[18:10]<dzycnzu>ty
[18:10]<dzycnzu>agh, Internet going incredibly slow
[18:10]<dzycnzu>taking awhile just to load Google
[18:23]<mracn>=)
[19:26]<djadja>can anyone send me course 2541 pdfs :(
[19:33]<cjmgrug>damn.. this is the most irritating thing ever happened to me. This app 'Democracy Player' which lets you subscribe to posdasts from your computer, is skinned and the worst part is, i cant maximise it. I mean, the maximizing-methods arent working, and it displaying as a 1"x1" square :(
[19:33]<cjmgrug>podcasts*
[19:39]<djadja>can anyone send me course 2541 pdfs?
[20:03]<kfylsax>The thread 0x1bb4 has been stopped with code 0 (0x0).
[20:03]<kfylsax>can we give names to the threads insted of 0x1bb4...
[20:09]<lcs>es
[20:09]<lcs>yes, threads have Name property
[20:10]<kfylsax>ah yes
[20:10]<kfylsax>cool!
[20:10]<lcs> this.synchronizationThread = new Thread(new ThreadStart(synchronizationCallback));
[20:10]<lcs> this.synchronizationThread.Name = "Synchronization";
[20:10]<lcs> this.synchronizationThread.Start();
[20:11]<kfylsax>yes its ok hee
[20:11]<kfylsax>thanks
[20:12]<kfylsax>http://rafb.net/paste/results/nsG62J20.html last thing: if i close my program it seems the thread isnt stopping unless it has done the sleep...
[20:12]<kfylsax>should i abord the thread myself?
[20:15]<lcs>yes
[20:15]<lcs>and catch System.ThreadAbortException
[20:16]<lcs>and handle it properly
[20:16]<kfylsax>ok
[20:18]<kfylsax>umm ive setted names to my thread
[20:18]<kfylsax>but it dosent show the name(in output window) when the thread is stopped
[20:21]<22vnax>What came out first java or C#?
[20:21]<szzcyn>java
[20:21]<szzcyn>by many years
[20:21]<22vnax>ok, thanks :D
[20:24]<kfylsax>haha
[20:24]<lcs>lol
[20:24]<lcs>:>
[20:25]<kfylsax>pks u have an idea about it?
[20:25]<lcs>nope
[20:25]<lcs>i am fighting with threads right now
[20:25]<lcs>;p
[20:25]<kfylsax>:P
[20:28]<cjmgrug>do you guys see anything in the extreme top left of your screens( if you're on winXP home) when you double-click the desktop?(my desktop has a black background and no icons showing)
[20:29]<cjmgrug>if i rightclick it, i get a context menu : Copy, Select all and Print. << weird.
[20:31]<lcs>is there any bufffered stream access in .net? Because my app uses 99% of cpu when downloading data ;/
[20:35]<cjmgrug>Moridin8!
[20:37]<mjzymygo>yo
[20:41]<cjmgrug>now i know why so many people write IRC clients of their own. Its coz mIRC 'looks' complicated. ;)
[20:41]<cjmgrug>also cluttered.
[20:42]<mjzymygo>what?
[20:42]<mjzymygo>nah
[20:42]<lcs>its complicated
[20:43]<mjzymygo>well. It can be for n00b's. it perplexed me when I firt started for what really is a simple process
[20:43]<lcs>Moridin8: so write an irc bot, that will be knowing its exact penalty :)
[20:43]<lcs>ro even a client
[20:43]<mjzymygo>pks: I work a little on SpikeLite.. does that count ?
[20:43]<cjmgrug>i'm thinking of writing an IRC client :p
[20:43]<lcs>so that it wont be sending data which will have no chance to eb parsed :)
[20:44]<lcs>Moridin8: afaik spike lite is not a time critical client
[20:44]<lcs>its just help bot







