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.55 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-05-31
[21:27]<zgzzcydjvgev><ResenT|vudew> its a web 2.0 blogosphere podcasting social bookmarking network on rails
[21:27]<zgzzcydjvgev><ResenT|vudew> ....in beta
[21:39]<awjzdd>smellyhippy!!!!!
[21:40]<sdnffdxdlld>lo :)
[21:41]<awjzdd>ehhem
[21:44]<-- fyzgrfrw_ xrs fuy>chat, bb when done")
[21:48]<krffnjs>hi. How do I destroy a running thread?
[21:48]<krffnjs>without calling abort cuz of this abort exception
[21:50]<dgrrdrg69>Kalleos you can catch the abort exception and decide not to do anything with it so it doesnt get thrown to the next in the call stack
[21:50]<dgrrdrg69>but from what i've read abort is deprecated
[21:51]<krffnjs>i hate deprecated things :)
[22:03]<srlj>hi all, anyone here can help me with windows forms and binding navigator?
[22:06]<y-gz>Site, Component and Container - what is the relation
[22:06]<y-gz>what does "sited" mean :|
[22:07]<y-gz>why is there a need for a Site
[22:07]<kjr>a site is a specific component. A container holds things
[22:07]<kjr>or... so I'd gather
[22:08]<y-gz>Well yea the container is a collection of controls let's say
[22:09]<y-gz>err components
[22:09]<kjr>a container as I know it is usually a GUI container
[22:09]<y-gz>nah
[22:09]<kjr>as distinct from a collection
[22:09]<kjr>an ArrayList is a collection, but not a container
[22:09]<y-gz>this has to do with design-time stuff
[22:09]<kjr>so?
[22:09]<omdss1us>anyone know of a quick and dirty guide to URL Rewriting in ASP.NET 2.0?
[22:09]<kjr>controls are widgets
[22:09]<y-gz>IComponent, IContainer and ISite
[22:10]<y-gz>controls are Components
[22:10]<kjr>yes
[22:10]<y-gz>visual components even
[22:10]<kjr>yes
[22:10]<kjr>so a container contains GUI elements "controls"
[22:18]<y-gz>Container contains components, but when added to a container they also "sited" according to msdn docs
[22:19]<cfudsd>when you drag non visual components onto a form.. they are still components right?
[22:20]<y-gz>err
[22:20]<y-gz>They are indeed components
[22:20]<y-gz>I mean every control is a component i think
[22:20]<y-gz>and every component/control has a designer
[22:21]<cfudsd>yep, but say a backgroundworker component, or timer, or dataadapter, dataset etc, are components, but are not controls right?
[22:21]<y-gz>so the designerhost initializes the designer
[22:21]<y-gz>visual and non visual components
[22:21]<y-gz>a component is not said to be visual
[22:21]<y-gz>actualyl component is just an implmentation of IComponent
[22:21]<kjr>i-nZ: a control seems to be
[22:21]<cfudsd>what you trying to do, a few years back, i made a runtime forms designer, but it was very tedious to do
[22:21]<y-gz>and it has nothing to do with visuallity o0
[22:22]<y-gz>I see the concept of design
[22:22]<cfudsd>and a component doesnt neccisarily have to be in a container right?
[22:22]<y-gz>basically you have a component, a designer matching the component and a designer host
[22:22]<y-gz>something like that (very simplified version actually)
[22:22]<y-gz>but still I don't understand the ISite interface
[22:24]<cfudsd>what are the methods of Isite, that will prob help you understand
[22:24]<cfudsd>it hs events like OnComponentChanged
[22:26]<cfudsd>so i assume its more the global host, that can get notified of changes, because a control can be a container right? a container is basically a control that can have controls in it?
[22:26]<y-gz>the host is IDesignerHost
[22:26]<cfudsd>so a site, is like a enviroment where multiple controls, containers can live
[22:26]<cfudsd>IdesignerHost is very specific, while ISite would contain the more generic interfaces right?
[22:26]<y-gz>it seems that the site is something that has a relation to both the component and the container
[22:26]<y-gz>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemcomponentmodelisiteclasstopic.asp
[22:26]<cfudsd>http://www.developerfusion.co.uk/show/4351/5/
[22:27]<y-gz>Sites bind a Component to a Container and enable communication between them, as well as provide a way for the container to manage its components. Sites can also serve as a repository for container-specific, per-component information, such as the component name.
[22:27]<y-gz>I've seen that article on codeproject i think
[22:28]<y-gz>it's the only one i haven't rpinted because it was like 70 pages :P
[22:28]<cfudsd>kapai
[22:30]<y-gz>one more thing is the TypeDescriptor
[22:31]<y-gz>used by IDesingerFilter ... :}
[22:32]<trc>hmm - can't you attach javascript handlers to asp.net textboxes?
[22:35]<trc>oh, ugh @ having to fuck with codebehind for that
[22:37]<y-gz>Btw is there a particular difference when implementing an interface if one uses IMyInterface.Method or just Method ?
[22:38]<y-gz>for the definition in a class that is
[22:38]<y-gz>and implementation
[22:58]<ruyprrruyr>a continuation from my question earler :) http://www.nomorepasting.com/paste.php?pasteID=63083 placing my var in class doesn't seem to allow my method to see it: either that or its just syntax
[23:00]<rjjgwq>make int i static
[23:00]<cjfmfusyjg>GUIPenguin, why dont you do for(int t=0; t<11;t++{}
[23:01]<cjfmfusyjg>that t you creat in that forloop then is local to that scope
[23:01]<cjfmfusyjg>and is the way everyone I know does it
[23:01]<ruyprrruyr>I could: but I am also interested in how I can get a var to been seen by other methods
[23:02]<cfudsd>is thre a reason why your methods are static?
[23:03]<cfudsd>if your methods are not static, then it can see the instance variables fine
[23:03]<cfudsd>however if its static, then you'd have to make the variables static as well , which is doable.. but if you have a variety of methods, wanting to use local data, i would question why you are doing static rather than instance methods in the first place
[23:04]<sdnffdxdlld>it isnt very often you need statics
[23:05]<ruyprrruyr>even if I remove static: I still get An object reference is required for the nonstatic field, method, or property
[23:05]<ruyprrruyr>when I have set int i; in the class
[23:05]<svzz[wjzc]>is there a way to use XP icons in my program?
[23:08]<ruyprrruyr>I guess the only part I am confused about is this: lets say I take user input and save it as a var, age. How can I have this var in main() be shared with a method that I might call further in my program
[23:08]<vufvuzn>GUIPenguin: if you declare it in main - that's where it is. You can pass it from there to other places.
[23:09]<vufvuzn>If you declare it with a larger scope (outside main - read Sun's tutorial on scope) it can be accessed from a wider area..
[23:09]<vufvuzn>s/Sun's/Microsoft's/
[23:09]<vufvuzn>(eh, I thought I was answering a Java question (I'll blame that on the fact that you didn't capitalize Main)
[23:09]<mupmvz_>application and user settings
[23:12]<ruyprrruyr>well placing the var in class: it still cannot be seen from void MyMethod() unless I add that int i; localy in the method and then it compiles
[23:12]<mupmvz_>look at user and application settings
[23:15]<mupmvz_>http://blogs.msdn.com/rprabhu/articles/433979.aspx
[23:16]<vufvuzn>GUIPenguin: present a test case ..
[23:16]<vufvuzn>I'd guess you're having an issue with "static", but it's rather hard to tell.
[23:17]<faccau_>something interesting for those of you who do some SQL programming, and want to be able to process a lot of commands at once (insert, updates, etc): http://www.lokkju.com/blog/index.php/2006/05/31/sql_cli-a-simple-sql-command-executor/
[23:19]<-- dvxn|syzzzyus xzs>http://www.bagdadsoftware.de")







