473,406 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

forms and controls design question

Bob
I want to have all forms out of my controls' DLL and in their own, only some
controls have to create these forms under certain conditions. For instance,
a base data-viewing control needs to bring up a configuration form when the
user control+right-clicks. It is acceptable practice to have these controls
raise shared events (i.e. "form1 popup request") and then attach delegates
to them on app startup (or do it all through a single common shared event)?
I don't particularly like the idea but it's the only way I can think of
doing it. Would it be better just to keep the forms where they are? I don't
like that, either, it doesn't sit right with me to have forms part of a
controls DLL.

Bob

Nov 21 '05 #1
1 941
Bob
I suppose I should clarify a bit more - I want the forms DLL's separated
according to function, they shouldn't be referencing each other. So the
controls that bring up the configuration forms should only do so if the DLL
containing them is referenced in the top-level assembly...

Oh never mind. Maybe I'm just making it too complicated.

Bob

"Bob" <no****@nowhere.com> wrote in message
news:u0****************@tk2msftngp13.phx.gbl...
I want to have all forms out of my controls' DLL and in their own, only some controls have to create these forms under certain conditions. For instance, a base data-viewing control needs to bring up a configuration form when the user control+right-clicks. It is acceptable practice to have these controls raise shared events (i.e. "form1 popup request") and then attach delegates
to them on app startup (or do it all through a single common shared event)? I don't particularly like the idea but it's the only way I can think of
doing it. Would it be better just to keep the forms where they are? I don't like that, either, it doesn't sit right with me to have forms part of a
controls DLL.

Bob


Nov 21 '05 #2

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

Similar topics

19
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
14
by: RL Stevenson | last post by:
What is a reasonable way to manage a complex form with 5 or so tabs with 100 or more controls bound to 5-10 tables in a database? Pasting all those controls, datasets, data adapters directly onto...
6
by: | last post by:
Just a general question... When working with a form containing a treeview or similar control... if you need to show different form fields depending on what is selected in the treeview then what...
11
by: Crirus | last post by:
I need to derive the Windows.Forms.Control 2 times so I design a class like this Public Class BMControl Inherits System.Windows.Forms.UserControl Public Class MapControl Inherits BMControl
3
by: Geraldine Hobley | last post by:
Hello, In my project I am inheriting several forms. However when I inherit from a form and add additional subroutines and methods to my inherited form I get all sorts of problems. e.g. I sometimes...
1
by: Maya | last post by:
Hello everyone, I have a windows form that has 2 child usercontrols i created and added inside, control1 has a label that displays some text based on activities i do in control2, my question is...
10
by: RobinS | last post by:
Hello to all, and happy new year! I have this application that someone wrote that I'm sort of checking out. The forms look fine in design mode, but when I run the application, it crops off the...
4
by: =?Utf-8?B?VGVycmFuY2U=?= | last post by:
I have a question about functionality I was wondering if anyone ever tried. Here is my problem/question. I'm currently in the motions of learning C# with that said I created a windows application...
14
by: =?Utf-8?B?UHVjY2E=?= | last post by:
Hi, I'm using VS2005 and .net 2.0. I'm creating an application that has 3 forms. I want allow users to move forward and backward with the forms and retain the data users have entered. I thought...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.