Click here to Skip to main content
15,943,089 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: What are your experiences working with 'meaning' in code? Pin
Peter_in_278011-Apr-18 18:16
professionalPeter_in_278011-Apr-18 18:16 
AnswerRe: What are your experiences working with 'meaning' in code? Pin
Gerry Schmitz12-Apr-18 5:40
mveGerry Schmitz12-Apr-18 5:40 
SuggestionMaking a dynamic tool system : help, advice Pin
new Human("Carson");10-Mar-18 5:36
new Human("Carson");10-Mar-18 5:36 
GeneralRe: Making a dynamic tool system : help, advice Pin
Richard MacCutchan10-Mar-18 22:17
mveRichard MacCutchan10-Mar-18 22:17 
GeneralRe: Making a dynamic tool system : help, advice Pin
jschell14-Mar-18 16:21
jschell14-Mar-18 16:21 
GeneralRe: Making a dynamic tool system : help, advice Pin
Mycroft Holmes14-Mar-18 17:34
professionalMycroft Holmes14-Mar-18 17:34 
GeneralRe: Making a dynamic tool system : help, advice Pin
Eddy Vluggen15-Mar-18 1:44
professionalEddy Vluggen15-Mar-18 1:44 
GeneralRe: Making a dynamic tool system : help, advice Pin
BillWoodruff17-Mar-18 16:11
professionalBillWoodruff17-Mar-18 16:11 
new Human("Carson"); wrote:
The tool forms should also be reshape-able inside the main form, and therefore should have an affect on the other forms in the layout.

... Right now I have all the tool forms as separate forms, and I want to keep it that way.
First, do not put a WinForm inside another WinForm by adding it to the other Form's Controls collection. While it's possible, it's a needlessly "heavy" choice, and you can use a Panel to implement the same functionality.

The question you need to answer is whether you want these tool windows inside the Main Form, or outside: if outside, you can set the 'Owner property of the tool form to the Main Form, which will keep the tool form always above the Main Form.

For Panels in the Form, you can use 'Dock and 'Anchor properties to simulate docking and dynamic re-size; you can easily make a Panel re-sizable at run-time with very little effort.

However, if your goal is to allow the run-time user to change the tool form docking, that's a major effort, and I suggest you download and study the code of the open-source DockPanel Suite: [^]. Note that this project is not being actively maintained.developed.
«... thank the gods that they have made you superior to those events which they have not placed within your own control, rendered you accountable for that only which is within you own control For what, then, have they made you responsible? For that which is alone in your own power—a right use of things as they appear.» Discourses of Epictetus Book I:12

QuestionWhat is the fastest and bestest programming language for math and games? Pin
mirkocontroller5-Mar-18 3:42
mirkocontroller5-Mar-18 3:42 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
Richard MacCutchan5-Mar-18 4:07
mveRichard MacCutchan5-Mar-18 4:07 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
Vivi Chellappa20-Jul-18 2:15
professionalVivi Chellappa20-Jul-18 2:15 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
Richard MacCutchan20-Jul-18 2:31
mveRichard MacCutchan20-Jul-18 2:31 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
Vivi Chellappa20-Jul-18 10:17
professionalVivi Chellappa20-Jul-18 10:17 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
Gerry Schmitz5-Mar-18 8:24
mveGerry Schmitz5-Mar-18 8:24 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
mirkocontroller5-Mar-18 22:20
mirkocontroller5-Mar-18 22:20 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
Pete O'Hanlon5-Mar-18 23:22
mvePete O'Hanlon5-Mar-18 23:22 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
Gerry Schmitz6-Mar-18 5:38
mveGerry Schmitz6-Mar-18 5:38 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
Eddy Vluggen6-Mar-18 5:55
professionalEddy Vluggen6-Mar-18 5:55 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
jschell10-Mar-18 10:20
jschell10-Mar-18 10:20 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
Member 1377603012-Apr-18 3:57
Member 1377603012-Apr-18 3:57 
QuestionHow can certain languages hold 96-bit values? Pin
deXo-fan25-Feb-18 1:27
deXo-fan25-Feb-18 1:27 
GeneralRe: How can certain languages hold 96-bit values? Pin
harold aptroot25-Feb-18 2:09
harold aptroot25-Feb-18 2:09 
GeneralRe: How can certain languages hold 96-bit values? Pin
deXo-fan25-Feb-18 2:58
deXo-fan25-Feb-18 2:58 
GeneralRe: How can certain languages hold 96-bit values? Pin
harold aptroot25-Feb-18 3:42
harold aptroot25-Feb-18 3:42 
AnswerRe: How can certain languages hold 96-bit values? Pin
Eddy Vluggen25-Feb-18 4:58
professionalEddy Vluggen25-Feb-18 4:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.