Re: Beginning GUI

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Dan,

I disagree with your sentiments completely.
Sure I was able to figure most things out myself when I started out but it
wasn't until I picked up a book (Simon Robinsons Professional C#) that I
even realised I could use:

textBox1.DataBindings.Add("Text", obj, "Name");

Previous to that I was constantly copying the values back and forth like a
retard.

Buying that kind of knowledge IS massively useful and helps developers
become better programmers.

Are you telling me that it doesn't make you a better programmer to read
things like the Framework Design Guidelines
(http://www.amazon.com/Framework-Design-Guidelines-Conventions-Development/d
p/0321246756/sr=1-1/qid=1161709609/ref=sr_1_1/104-1806346-1142323?ie=UTF8&s=
books)
or GOF
(http://www.amazon.com/Design-Patterns-Object-Oriented-Addison-Wesley-Profes
sional/dp/0201633612)?

I will confess that I was shit before I started reading up on books, sure I
thought I was great at the time but that's only because I didn't realise
just how much I didn't know at that point.
I'm a contracter so I get to move from company to company and get to see a
lot of people's different work.
The amount of times i've seen all sorts of crazy ass implementations that
were devised just because someone never read up on simple standards is
astonishing.

I have not yet encountered a programmer that I admire that heavily uses the
VS designer gui without really understanding what goes on in the background.
This is made worse by VS 2005 that places the automagicality of the designer
in a completely seperate file.
I still prefer to see events hooked up in either the Ctor or a method that
is called from the Ctor, it makes the code more readable IMO.

Simon

"Daniel" <DanielV@xxxxxxxxxxxxxxxx> wrote in message
news:%23YS$Gn49GHA.4196@xxxxxxxxxxxxxxxxxxxxxxx
Ok....

Event based, when you clcik a control or do anythign with it it triggers
an
event

Vis studio does the catching of that event for you when you double click
the
control for a button it does the onclick handler and you code there what
you
want the button or control to do when clicked.

To see other events you clcik the lightneing bolt symbol and then choose
the
event you want to handle from the list, and voila same thing.

To make your own events which is more advanced, look up on the net any
tutorial on this, LOADS of them.

So a quick explanation and online tutorials that are up to date because
they
are always getting posted....total cost £0 .

or buy a book, that is one authors opinion of how to implement it and
costs
£25 or so and goes out of date. But as i DID SAY if you feel better with
a
book get one.

But from a console background are you going to think it's magic? lol. i am
sorry Basil, but your opinion is a tad ignorant and insulting to the
original posters intellect.



"Basil Abusamrah" <tehbio@xxxxxxxxx> wrote in message
news:453E3907.1040301@xxxxxxxxxxxx
I disagree. If you're fairly new to programming and are just starting to
move into the Windows Forms world, you should definitely use a resource.

Chances are you are new to an event-based application and without the
proper resource(s) you would probably end out thinking it's 'magic.'

Daniel wrote:
I wouldn't even say you need a book but if you feel better that way.

Assuming visual studio:

You just make a win form application, and drop and place controls you
want for your gui on to the form and begin on your way. Best way to
learn
is experiment. understand the basics too, drag a button on the form,
and
for its click code, click the button on the designer and it takes oyu
to
where you want to put your code for the button on click etc

v.easy nowadays


"Lint Radley" <scanomatic@xxxxxxxxxxxxxxxxxxx> wrote in message
news:7No%g.80657$073.14089@xxxxxxxxxxx
Hi Everyone,

I've done several C# console applications now, and feel comfortable
with
the language. Can anyone recommend a web site, book, etc which has
information on starting to develop full GUI applications?

Many Thanks,

Lint




.



Relevant Pages

  • Re: zinc performance
    ... >>> Is zinc stable for real time system like vxWorks? ... So I am mostly using code to design my GUI rather ... > I have had the same problem of designer crashing on windows 2000. ... These are different approaches to device configuration. ...
    (comp.os.vxworks)
  • Re: agile/xp question (formal analysis)
    ... > Designer: We need to add a feature to moduleX to perform a task. ... > Programmer: Ok, i'll check out module X and make the change. ... Because our documentation is out of date, ...
    (comp.object)
  • Re: agile/xp question (formal analysis)
    ... >Andy's question sounded to me very much like "where do user stories come ... Designer: We need to add a feature to moduleX to perform a task. ... Programmer: Ok, i'll check out module X and make the change. ...
    (comp.object)
  • Error Handling
    ... I'm trying to figure out some "best practices" for error handling. ... User input errors in a GUI. ... The classes that write the resumes use various utility classes to ... Serious errors causes by programmer error. ...
    (comp.lang.java.programmer)
  • Re: Programmer knowledge
    ... Programmer Dude wrote: ... > Then the divide is real and not artificial, ... a GUI would indeed be appropriate for providing a UI to G when a UI to ... I hope you'll forgive me for saying this, but your articles seem ...
    (comp.programming)