473,587 Members | 2,505 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

book suggestion

I don't create windows application very often, in fact I rarely create a
complete application, but more often am writing plugins.

I have found that when I sit down to create a windows app, I don't really
have a solid plan for the structure of the program. Sometimes I use
Singletons, sometimes I use static members, sometimes I pass references,
etc.

I'm tired of it and would like to find a "Best Practices" book that will
cover common issues such as;
What code goes in the form class?
Do people use an "engine" or "applicatio n" class? If so, how does it
interact with the UI?
If I have User Controls in my WinForms app and I need access to controls in
the Form class, what is the best way to get to them?
Program options, when to load them, when to save them. Registry? XML file?
These are all questions that I have dealt with every time I write an
application, the problem is, I always solve them different and I ALWAYS end
up with a mismatch of inconsistent approaches that confuse and slow me down.

For example, I encounter a problem today where in one of my UserControl
events, I was changing data that was represented in the Form's TreeView. I
thought "Well, I changed the data, that works, but the icon and Text needs
to change in the tree" Do I route this through my "Engine" class? Do I
expose a field for my TreeView? Do I add a reference to my Singleton
"Engine" class and get to everything there?

Just confusing and sloppy.

So like the subject says, I would really like to find a book(or article)
that lays out common, solid approaches to standard Winform applications.

If you have a suggestion, please do share :)

Thanks for reading my rant,
Steve
Nov 17 '05 #1
0 1030

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1010
by: Ajith Prasad | last post by:
I think there should be a good market for a Python book that focuses on the use of Python for decision support work, especially financial decison support which will include financial data warehouse building, data analysis, modelling and reporting/visualisation. It should be "how to" book and not a rehash of existing Python language books. The...
28
2721
by: John McCabe | last post by:
Hi I'm looking for something equivalent to the Data Structures and Algorithms in Ada 95 books by Biedler and Feldman etc, but based towards efficient C++ implementations. Does anyone know of such a thing and could recommend one? I'm particularly interested in coverage of binary search trees, especially Red-Black, Splay and AVL, as well...
12
8461
by: G. | last post by:
Hi all, During my degree, BEng (Hons) Electronics and Communications Engineering, we did C programming every year, but I never kept it up, as I had no interest and didn't see the point. But now I really want to get back into it as I see a point with GNU/Linux. I want to get my old skills back and write something or help on some projects...
6
1721
by: Jon Shemitz | last post by:
My 16 yo son is ready to move beyond level editing and "Multimedia Fusion." He's going to ignore his Mom's suggestion of Visual Basic, and take my suggestion of starting with C#. Now, I actually have an Intro To C# section in my ongoing .NET 2.0 book, but I assumed that my audience does not want e.g. yet another discussion of inheritance and...
11
2350
by: Sam | last post by:
Hi All I don't know anything about C# and I'm planning to learn the language. Does anyone know any good book out there that explains things well? Any suggestion is greatly appreciated Regards, Sam
4
3567
by: Hayato Iriumi | last post by:
I'm a software engineer with 6 years of experience. I know what programming is about, but never had a chance to get into C++, and I'm picking it up now. I'm looking for a book for someone who already has programming background. I don't want to have to go through what is a class or Hello World type of thing. Can anyone suggest a good book...
7
3289
by: noid droid | last post by:
Greetings. I received 4 VB .NET books and looking through the indices and tables of contents, I see that none of them addresses multithreading in VB ..NET. I just bought a bunch of books because they were so cheap. Does anyone have any suggestions for books that cover multithreading? I have enough beginners books. I don't need any more. ...
3
1475
by: Saeid | last post by:
Hi, I want to buy a book about .net Webservices, does any body have a suggestion? Thanks ------------------------ The soldier of Persian Empire
4
2653
by: Johs | last post by:
I am looking for a good C++ book for beginners. I have some experience with C and a lot of experience with Java. I am currently reading Bjarne Stroustrups C++ Programming Language but it starts off rather complex without examples of compiling modules or making and using classes. Is there some C++ books that takes you through the whole...
0
7923
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7852
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8349
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8221
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6629
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5719
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3845
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2364
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.