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.24 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-07
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:11]<svzz[wjzc]>about the relation between BLL and GUI.... i was thinking of setting up a BindingSource using the TheList (of my paste) and bind my controls to this binding source... what you think of that?
[21:11]<fnzjy>that's just as equally stupid as a cop pulling you over for speeding and beating you down!
[21:11]<lyfuym-wjzc>gawd I goto read
[21:11]<lyfuym-wjzc>bbl
[21:11]<svzz[wjzc]>that would allow me to keep all my bindingCode i had... along with an automated navigator and filters and stuff like that
[21:11]<mjzymygo>Staz: well you got the list out of the BL... use it in the most appropriate way for your requirement. If thats a data source bind, then use it... but don't use it blindly is all
[21:12]<mjzymygo>but in the code *state* why you have used a certain method over others for the future.
[21:13]<mjzymygo>Besides... keep as much as you can obviously, but mark anything specifically important with a 'TODO' and refactor on need
[21:13]<svzz[wjzc]>Moridin8 well what would be my option beside a BindingSource... handle all the work a BindingSource does all by my self? that counts : retreiving data from controls, setting data on controls, handle filtering, handle the "current" row, reqrite the navigator...
[21:13]<mjzymygo>If needs be yes.
[21:13]<svzz[wjzc]>refactor?
[21:13]<mjzymygo>if it's sufficiently required.
[21:14]<mjzymygo>http://en.wikipedia.org/wiki/Refactoring <-- not a bad explanation
[21:14]<svzz[wjzc]>oh i see
[21:15]<mjzymygo>the first load of code is just that... usually a first draft.
[21:15]<mjzymygo>constant review and revisit is good.
[21:15]<vynvyv>C# programmers always do it right the first time
[21:15]<lyfuym-wjzc>Moridin8:
[21:15]<svzz[wjzc]>well that's gonna be a lotta fun... and i have a good news for you
[21:15]<lyfuym-wjzc>you got a few minutes for msn?
[21:15]<lyfuym-wjzc>like maybe 10
[21:16]<mjzymygo>teiTYT: it was that attitude from another contractor that made me work 3 days of 14 hours the last week...
[21:16]<svzz[wjzc]>Moridin8 i could actually create a real business layer, and it will do great all values passing from presentation to DAL will pass by my property acessor so i'll be able to do what i want with em i love that finally :D
[21:16]<mjzymygo>double time tho ;)
[21:17]<mjzymygo>dude... re-spit that all again....
[21:17]<lxlwgnz>what differs between a debug and release assembly? why shouldn't the pdb be the only difference?
[21:17]<mjzymygo>s/beet/beer
[21:17]<vynvyv>in a row?
[21:17]<mjzymygo>yeh... in a row.
[21:18]<mjzymygo>but Staz: if your saying what I think you are... yes, use the get{}set{} accessor methods to validate/verify all data in the BL...
[21:18]<ruyperruyr>I can do this.Visible = false; to hide the entire form.... but what is the syntax for hidding a single control such as a button or text box?
[21:19]<vufvuzn>GUIPEnguin: Take a guess.
[21:19]<vufvuzn>how's about you go see what properties your control (such as buttons & text boxes) have..
[21:20]<kjr>sup vulture
[21:21]<vynvyv>Moridin8: how can you be effective without any sleep
[21:21]<vynvyv>that's pretty dumb
[21:21]<vynvyv>were you making a game?
[21:22]<ruyperruyr>vulture: I see nothing in the properties for a text box that would give me an idea about how to hide it with code. I tryed doing different varients of .visible... and cant seem to find the answer
[21:22]<fnzjy>GUIPEnguin: Are you using Notepad or something??
[21:23]<ruyperruyr>no, im using MS visual C# 2005 express IDE
[21:23]<lyfuym-wjzc>sup Kog
[21:23]<kjr>nada Liquid-Work
[21:23]<mjzymygo>tieTYT: many years of development and an addiction to caffiene has given me the ability to work hard for upto a week on those hours...
[21:23]<kjr>trying to get a VPN client for gentoo so I can hop on the company intranet
[21:24]<vynvyv>don't you go crazy aftera week with no sleep?
[21:24]<svzz[wjzc]>Moridin8 yes that's what i was planning to do :)
[21:24]<mjzymygo>tieTYT: and it wasn't a game tho ;)... it was a system worth high six figures in business to my client
[21:24]<mjzymygo>tieTYT... oh I do sleep. just not much ;)
[21:24]<mjzymygo>uh... shite
[21:25]<mjzymygo>gotta go
[21:25]<mjzymygo>my lift has arrived.
[21:25]<vufvuzn>Kog: Hey hey. Not much up here - just playing about with VS as usual.
[21:25]<svzz[wjzc]>have a nice weekend dude
[21:25]<mjzymygo>yeh.. you too
[21:25]<mjzymygo>ciao peeps
[21:25]<traxdjg[]>hi
[21:26]<traxdjg[]>if i create a button in a asp.net website with:
[21:26]<traxdjg[]><asp:Button ID="uploadFile" runat="server" Text="Upload" />
[21:27]<kjr>vulture: word
[21:27]<traxdjg[]>than shoud i load the method public void uploadFile_Click(Object s, EventArgs e) in the code behind, if i click on the button, isnt it?
[21:56]<jyvnzs>i need some regx help
[21:56]<jyvnzs>i'm trying to match any non digit or period in a textbox
[21:56]<svzz[wjzc]>[[^0-9]\.] <- (been a while i haven't done regex)
[21:57]<svzz[wjzc]>i may be very wrong
[21:57]<jyvnzs>thats what i got
[21:57]<jyvnzs>"^[0-9\\.]"
[21:57]<jyvnzs>oh, inside the bracket
[21:59]<jyvnzs>works
[21:59]<kjr>you can also use \d
[21:59]<jyvnzs>d for digit?
[21:59]<kjr>yes
[21:59]<kjr>period needs an escape obviously
[22:02]<jyvnzs>how can i make it, any number between 1 and 254
[22:02]<jyvnzs>or a period
[22:02]<lxlwgnz>Jivers leave the ^ outside
[22:03]<ruyperruyr>I need some help changing the text of the button at a specific time. I remember last time I needed to do this, I used something like int32.parse(string) and then button1.text = string; but it doesnt seem to work
[22:12]<ruyperruyr>can anyone help me plez?
[22:19]<azyfm>what exactly do you want to do, GUIPEnguin?
[22:23]<rmgrg>hi any one knows how to get function returned values through vs.net 2005
[22:24]<rmgrg>so instead of writing bool v=isValid() and then getting the value of v
[22:24]<azyfm>Adnan: Say again?
[22:25]<azyfm>then?
[22:25]<rmgrg>i want to have the returned value returned from isValid function just by stepping over it and watch the value in the locals panel
[22:25]<azyfm>what's the point in calling the function if you don't use the return value anywhere?
[22:26]<rmgrg>like DeleteCustomer()
[22:26]<azyfm>would that have a return value?
[22:27]<rmgrg>it is supposed to delete the cusomer and returning true if every thing goes right
[22:27]<azyfm>but the calling code doesn't check that?
[22:27]<rmgrg>if(DeleteCustomer()) any thing...
[22:27]<rmgrg>so instead of that i have to make bool d=DeleteCustomer() ;
[22:28]<rmgrg>and then if(d)do any thing..
[22:28]<azyfm>uhm, wouldn't the return value be evident based on whether it steps into the if block?
[22:28]<rmgrg>:)
[22:29]<rmgrg>i VC++ you can do that
[22:29]<azyfm>EAX holds the return value, doesn't it?
[22:30]<rmgrg>and AL,AH :)
[22:30]<azyfm>well, you could always single step in the assembly window, even in a .NET app
[22:31]<azyfm>from what I remember from messing with the innards of the Rotor JIT, EAX holds the return value there as well
[22:31]<rmgrg>i don't need to use the assembly window
[22:31]<rmgrg>why all of that







