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.44 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-09-04
[05:24]<wxrvs_yg_r_grdn>efine
[05:24]<vjnv0z>o
[05:24]<vjnv0z>there is mdi stuff
[05:24]<vjnv0z>hehe
[05:24]<wxrvs_yg_r_grdn>yes..
[05:24]<wxrvs_yg_r_grdn>thats what im working on
[05:24]<vjnv0z>wish i knew that
[05:24]<vjnv0z>hehe
[05:24]<wxrvs_yg_r_grdn>?
[05:24]<wxrvs_yg_r_grdn>its all in my paste
[05:25]<vjnv0z>this is true
[05:25]<vjnv0z>hehe
[05:25]<vjnv0z>wait
[05:25]<vjnv0z>now ive never done too much with mdi containers
[05:25]<vjnv0z>but doesnt the parent have to be showing in order for the child to be showing?
[05:26]<vjnv0z>i could be 100% wrong but i thought thats how it had to be
[05:26]<wxrvs_yg_r_grdn>well.. the parent is showing with .ShowDialog
[05:27]<wxrvs_yg_r_grdn>i need to use .show() on parent?
[05:27]<wxrvs_yg_r_grdn>instead of .showdialog
[05:27]<wxrvs_yg_r_grdn>n\m
[05:27]<wxrvs_yg_r_grdn>i dont even call .showdialog on parent
[05:27]<wxrvs_yg_r_grdn>i just say Application.run()
[05:28]<wxrvs_yg_r_grdn>and pass in my form
[05:29]<sxyg-rr>good its hard comming up with a name
[05:29]<sxyg-rr>god*
[05:31]<vjnv0z>yep
[05:32]<sxyg-rr>im thinking about FuBoard = Fusion Board
[05:32]<sxyg-rr>lol
[05:37]<jusvygc>EFF YOU!
[05:37]<jusvygc>board
[05:38]<sjuzp>JustinC hi
[05:38]<sjuzp>only seeing
[05:40]<sjuzp>Where could I looking for a good material about csharp? ... please don't tell me google rsrss ... a good tutorial, manual , book to download!
[05:40]<wxrvs_yg_r_grdn>msdn
[05:40]<wxrvs_yg_r_grdn>the api documentation has a lot of nice examples /snippets
[05:41]<sjuzp>Could I take a offline material there?
[05:41]<wxrvs_yg_r_grdn>i dont know if thats online or not tbh
[05:41]<wxrvs_yg_r_grdn>im always online
[05:41]<sjuzp>ok thank you I will there!
[05:41]<wxrvs_yg_r_grdn>you can probably download the docs if its online anyways
[05:42]<wxrvs_yg_r_grdn>just go into visual c#, help->index
[05:43]<sjuzp>It's because I will download the visual C# 2005 yeat ... I'm here online with the visual C++ Express
[05:43]<sjuzp>only ... sorry
[05:43]<sjuzp>But I'm using the sharpdevelop in the moment!
[05:44]<sjuzp>while I download V C# here!
[05:51]<cjmgrug>http://news.bbc.co.uk/2/hi/entertainment/5310416.stm LMAO!!
[06:24]<wxrvs_yg_r_grdn>anyone here use zone alarm
[06:31]<jusvygc>I have used it before
[06:31]<jusvygc>I am generally not to enthusiastic about firewalls
[06:40]<wxrvs_yg_r_grdn>do you know where the 'approved program' list it stored
[06:40]<wxrvs_yg_r_grdn>if in the reigstry what key
[06:40]<wxrvs_yg_r_grdn>im having trouble finding it
[07:20]<jusvygc>how do you show a window that's already displayed?
[07:20]<jusvygc>i.e., bring it to the top of all the existing windows
[07:20]<jdvgdjgcgd>you can set it as topmost then unset it
[07:21]<jusvygc>I think there's a method that does exactly that thing tho
[07:21]<jusvygc>I don't remember the name though
[07:22]<pxyfkc>Focus() ?
[07:22]<jusvygc>that might do it. i'll try
[07:22]<jusvygc>nope :(
[07:23]<jusvygc>maybe Activate()
[07:23]<jusvygc>yep
[07:23]<jusvygc>Activate() works
[07:24]<jdvgdjgcgd>dont always work
[07:24]<jusvygc>it should... it's what it says it does :P
[07:24]<jdvgdjgcgd>hey, here's something you should look into for us
[07:24]<jdvgdjgcgd>hiding a form on startup
[07:25]<jusvygc>catch the Shown() event
[07:25]<jdvgdjgcgd>some wierd timing thing or something, is such that if you call .Hide() on load, it isnt honored
[07:25]<jdvgdjgcgd>aha
[07:25]<jusvygc>it's only thown the first time the form is shown
[07:26]<jdvgdjgcgd>thats all i need
[07:28]<jdvgdjgcgd>someone come play trivia with me
[07:28]<frsdgmd[frlld]>Hi all. I'm aware of the Convert class to convert a string to an int, but the only methods in there specify the size of the int (e.g. toInt32 and toInt64). Is there a way to convert a string to an int in a way that is neutral to the size of the int (i.e. one that always uses the word size of the processor, like the int type)?
[07:28]<jdvgdjgcgd>#lptrivia
[07:29]<jusvygc>lasindi[lappy]: What type would that be within the C# type system?
[07:29]<jusvygc>lasindi[lappy]: Every type in .NET (and C#) has to have a static, compile-time type. Let's say such a method existed as you propose. What would its return type be?
[07:29]<frsdgmd[frlld]>JustinC: it would be int
[07:30]<jusvygc>int is a type that is aliased to either System.Int32 or System.Int64 or one of those things
[07:30]<frsdgmd[frlld]>JustinC: right, so why isn't there a toInt method?
[07:31]<jusvygc>On what object?
[07:31]<jusvygc>There is: int.Parse()
[07:31]<frsdgmd[frlld]>on Convert
[07:31]<jusvygc>string s;
[07:31]<jdvgdjgcgd>there is no .ToInt()
[07:31]<jusvygc>s = "3";
[07:31]<jusvygc>int n = int.Parse(s);
[07:31]<frsdgmd[frlld]>Right
[07:31]<frsdgmd[frlld]>I'm just wondering about the convert class specifically.
[07:32]<jusvygc>I don't understand your question
[07:32]<frsdgmd[frlld]>My question is: Why does the Convert class not have a toInt() method?
[07:32]<jusvygc>Because "int" is not a .NET framework type.
[07:32]<jusvygc>It's a C# only alias for one of the .NET types.
[07:33]<jusvygc>C# and .NET are different things. C# is implemented on .NET, but .NET supports other languages. .NET has a set of types. C# has a set of other names. Those other names happen to refer to .NET types.
[07:33]<jusvygc>"int" is just another name for a single, exact .NET type.
[07:34]<jusvygc>What the compiler picks for int happens to be implementation-dependant. But it doesn't exist after compile-time, thus there can be no ToInt(). Because the return type needs to be System.Int32 or System.Int64 or one of those.
[07:34]<jusvygc>Make sense?
[07:34]<jusvygc>dependent*
[07:35]<jusvygc>Aha.
[07:35]<jusvygc>I found out how to name C# things that are reserved keywords







