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.18 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-06-15
Pages: < Prev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Next >
[21:08]<y-gz`juv>override the close method ?
[21:08]<vxyzmly2z>well i have an mdi form with a bunch of links on the sidebar that are from the parent
[21:08]<vxyzmly2z>is there a certain event i can use?
[21:09]<vxyzmly2z>s/are from the parent/inherited from the parent
[21:10]<vxyzmly2z>nevermind that
[21:10]<vxyzmly2z>what event is triggered when a user clicks on the 'x' in a form
[21:10]<vxyzmly2z>to close a form
[21:10]<vxyzmly2z>the default windows close button on the top right corner
[21:10]<vxyzmly2z>can i make a delegate
[21:11]<y-gz`juv>"You can prevent the closing of a form at run time by handling the Closing event and setting the Cancel property of the CancelEventArgs passed as a parameter to your event handler. "
[21:11]<y-gz`juv>http://msdn2.microsoft.com/en-us/library/system.windows.forms.form.close.aspx
[21:11]<vxyzmly2z>thanks man
[21:11]<y-gz`juv>next time
[21:11]<y-gz`juv>read on msdn
[21:11]<vxyzmly2z>nah
[21:12]<y-gz`juv>the fact that I have used winforms twice speaks for itself
[21:12]<y-gz`juv>:)
[21:12]<y-gz`juv>just learn to search argh :)
[21:13]<svzz[wjzc]>hey guys, i came up with this to _Reach a record having a certain text in the name field_ http://rafb.net/paste/results/w2uqP056.html BUT i think that's a bit of Overprocessing to find the rows of the table matching... and then find the Record the BindingSource
[21:13]<jjxgdjn6n1>Is there a .NET interpreter I could type some code in real time and it would show me the results?
[21:14]<svzz[wjzc]>the Immaediate window does that in VC# at run time
[21:16]<txnjzd>or there's booish
[21:19]<jjxgdjn6n1>booish ?
[21:20]<txnjzd>boo interactive shell
[21:20]<txnjzd>it's not c#/vb, but it's quite nice
[21:20]<jjxgdjn6n1>is that the one thats like python?
[21:20]<txnjzd>yes
[21:22]<jjxgdjn6n1>sounds a lot like ironpython
[21:23]<jjxgdjn6n1>does boo have implicitly derived types?
[21:23]<txnjzd>yes
[21:24]<txnjzd>assuming you mean what I think you mean by that
[21:24]<txnjzd>http://boo.codehaus.org/
[21:24]<jjxgdjn6n1>i'm reading the manifesto now
[21:24]<jjxgdjn6n1>i mean int y = 1; int b = 2; .... auto c = y b; //compiler detects c to be int
[21:24]<jjxgdjn6n1>that should be "auto c = y -b;"
[21:24]<cfudsd>johndoe793, there is powershell, and my interactive dotnet enviroment
[21:25]<cfudsd>JohnDoe793: for a demo of it (quite some time ago) http://karlprosser.edify.us/flashdemos/mshapart1.htm
[21:26]<jjxgdjn6n1>klumsy: looks like what msh should have been
[21:26]<cfudsd>and here is an example of it in work, where i load a C# assembly.. and type highlight various commands dynamically, running stuff, and viewing the results in the appropriate format (in this case XML)
[21:26]<cfudsd>http://www.karlprosser.com/blogpics/powershellXML.PNG
[21:26]<slwm1z>i
[21:26]<slwm1z>hi
[21:26]<cfudsd>well its built on top of MSH (now called powershell)
[21:26]<jjxgdjn6n1>oh msh is powershell now?
[21:27]<cfudsd>yep, but its stuck in the console.. i give it live, with rich input, and even richer output
[21:27]<jjxgdjn6n1>whats so good about it then , it looked gimp back in beta 3
[21:27]<jjxgdjn6n1>i thought the scripting was toow eak
[21:28]<kjr>sweet. phone screen passed
[21:28]<sdnffdxdlld>??
[21:28]<cfudsd>kog, for intel?
[21:29]<kjr>no, I already interviewed them
[21:29]<kjr>(and vice versa)
[21:29]<kjr>don't really think it'd be appropriate to say more... but yeah
[21:29]<kjr>smellyhippy: figure out your XML issue?
[21:29]<sdnffdxdlld>nope
[21:30]<sdnffdxdlld>the code works on others machines so i'm thinking it must be mine
[21:30]<jjxgdjn6n1>klumsy: seems like what powershell should have been
[21:30]<cfudsd>johndoe793, well the piping of objects is really what is so great about it.. as well as the whole cmdlet, provider thinking opens up a huge range of possibilities.. the scripting language syntax is tedious, because to be shelly things like > < and - are already used
[21:30]<sdnffdxdlld>I'll try downloading the latest msxml in a bit
[21:30]<jjxgdjn6n1>klumsy: yah the cmdlet was the only part i liked
[21:30]<kjr>klumsy: what exactly are cmdlets?
[21:30]<kjr>klumsy: Powershell shell scripts?
[21:30]<jjxgdjn6n1>Kog: when you run a command it returns objects
[21:30]<jjxgdjn6n1>Kog: and then you can manipulate command results and do something with it
[21:31]<cfudsd>in unix/dos etc.. commands pipe in plain text, and pipeout text.. a command internally implements the parsing of the commandline parameters etc
[21:31]<jjxgdjn6n1>in a traditional shell you only get a string back... at least thats how i understood it
[21:31]<kjr>JohnDoe793: erm, you can get ints too
[21:31]<kjr>JohnDoe793: but usually you get the output of the program
[21:31]<jjxgdjn6n1>an int is an object :)
[21:31]<kjr>not in C it isn't
[21:31]<jjxgdjn6n1>this is .NET, an int is an object :)
[21:31]<cfudsd>with a cmdlet, there is a standard VERB-NOUN.. you can write commandlets in powershell, but ussually in C#.. but you don't implment the parrse, rather its more consistant, you just implement interfaces, and grab the parameters from powershell, you takein a stream of dotnet objects from the input pipeline ,do what you will, and pouput a stream of objects
[21:32]<kjr>JohnDoe793: not first class
[21:32]<sdnffdxdlld>if your talking about c# int isnt an object its a value type
[21:32]<jjxgdjn6n1>Kog: never mind, just try it for yourself
[21:32]<kjr>JohnDoe793: heh
[21:32]<kjr>klumsy: so they're basically like objective shell scripts
[21:32]<kjr>oh wait, they're in C#
[21:32]<cfudsd>also with cmdlets there is consisentcy, that you support certian things like -whatif.. for example in powershell type del *.* -whatif, it will tell you what it would have done, if you did that..
[21:32]<kjr>yeah, I saw a demo of whatif somewhere... probably your vid
[21:32]<jjxgdjn6n1>except it doesnt have anything else good that traditional shells have.. like ease of use
[21:33]<cfudsd>serious cmdlets are made in C#, but you can make them in script
[21:33]<kjr>dunno how I feel about compiling glorified shellscript ;)
[21:33]<cfudsd>however my vid, isn't about making cmdlets.. mine app is an eviroment for shell users
[21:33]<kjr>klumsy: I'm aware
[21:33]<kjr>but it had a whatif in it I think
[21:33]<cfudsd>kog: powershell pipeline and extendable type system will be build into dotnet 4.0
[21:33]<jjxgdjn6n1>yes i liked that part too
[21:33]<kjr>phone
[21:33]<jjxgdjn6n1>klumsy: you mean for returning cmdlets or what?
[21:34]<cfudsd>JohnDoe793: regarding wht?
[21:34]<jjxgdjn6n1>klumsy: regarding powershell being built into dotnet 4.0
[21:34]<svzz[wjzc]>hey guys, in VB6, a Static variable in a function was a variable that carried through all execution of the function, it's like a global variable, but that only this function can use... is there such a variable type in C# ?
[21:34]<vxyzmly2z>why is it so fucking hard to duplicate a windows form
[21:35]<cfudsd>oh yep, and just the whole pipeline functionality.. the dotnet framework will be reworked to make that sort of thing faster, and the cmdlet will be part of the base framework, as everything is going to be powershell based (the admin side of it ) starting with Exchange, MOM yada yada, sql server, MMC
[21:35]<svzz[wjzc]>thirdLibr thought about making a class ClonableForm : System.Windows.Forms.Form, ICloneable ?
[21:35]<cfudsd>team systems
[21:35]<jjxgdjn6n1>klumsy: you mean basically going up to where unix was 30 years ago?
[21:36]<vxyzmly2z>StaZ[work]: i am now, thanks
[21:36]<svzz[wjzc]>thirdLibr i don't say it'll work, it's just a logical suggestion







