Click here to Skip to main content
15,881,882 members
Home / Discussions / C#
   

C#

 
AnswerRe: C#,Close Excel whitout the save as dialog Pin
Guffa29-Jan-06 21:02
Guffa29-Jan-06 21:02 
AnswerRe: C#,Close Excel whitout the save as dialog Pin
AB777129-Jan-06 23:11
AB777129-Jan-06 23:11 
GeneralRe: C#,Close Excel whitout the save as dialog Pin
jzb30-Jan-06 20:14
jzb30-Jan-06 20:14 
AnswerRe: C#,Close Excel whitout the save as dialog Pin
Drew McGhie30-Jan-06 3:35
Drew McGhie30-Jan-06 3:35 
QuestionPassing Data Pin
bootn29-Jan-06 17:15
bootn29-Jan-06 17:15 
AnswerRe: Passing Data Pin
Colin Angus Mackay29-Jan-06 17:40
Colin Angus Mackay29-Jan-06 17:40 
GeneralRe: Passing Data Pin
bootn29-Jan-06 17:51
bootn29-Jan-06 17:51 
GeneralRe: Passing Data Pin
Colin Angus Mackay29-Jan-06 18:04
Colin Angus Mackay29-Jan-06 18:04 
bootn wrote:
Is there any way of Directly accessing a control on the parent form from the 3rd level pop-up (ie a text box)


This way lies maddness....


One form really ought not to know about another form. (There are some exceptions, like a series of forms that make up a wizard - but even then it probably isn't the best idea)

You should be passing information around using events to notify other forms that data has changed, the other form then has the option to update itself based on those events. You can read this article on passing values between forms[^] to see how to use events to pass information between forms. By doing this you decouple forms from one another which leaves you open to easier changes in the future.

Also, the idea of a third-level popup should be ignored unless the previous popups were modal dialogs. The reason for this is that the user won't see it that way. Popping up forms that can be independently dismissed provides no meaningful heirarchy to the user. When you use modal dialogs you have to dismiss the most recent to get to the previous dialog and so on. This does provide a meaningful heirarchy. So, in your situations all forms are children to the main form.





ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

GeneralRe: Passing Data Pin
bootn29-Jan-06 20:15
bootn29-Jan-06 20:15 
QuestionThread NOT aborting nicely!!!! Pin
WetRivrRat29-Jan-06 17:13
WetRivrRat29-Jan-06 17:13 
AnswerRe: Thread NOT aborting nicely!!!! Pin
leppie29-Jan-06 18:34
leppie29-Jan-06 18:34 
GeneralRe: Thread NOT aborting nicely!!!! Pin
WetRivrRat30-Jan-06 2:32
WetRivrRat30-Jan-06 2:32 
GeneralRe: Thread NOT aborting nicely!!!! Pin
WetRivrRat30-Jan-06 3:59
WetRivrRat30-Jan-06 3:59 
QuestionRefreshing DataSet Pin
emran83429-Jan-06 13:57
emran83429-Jan-06 13:57 
AnswerRe: Refreshing DataSet Pin
imsathy29-Jan-06 20:12
imsathy29-Jan-06 20:12 
GeneralRe: Refreshing DataSet Pin
emran83430-Jan-06 5:58
emran83430-Jan-06 5:58 
AnswerRe: Refreshing DataSet Pin
Drew McGhie30-Jan-06 3:38
Drew McGhie30-Jan-06 3:38 
GeneralRe: Refreshing DataSet Pin
emran83430-Jan-06 6:14
emran83430-Jan-06 6:14 
GeneralRe: Refreshing DataSet Pin
Drew McGhie30-Jan-06 10:15
Drew McGhie30-Jan-06 10:15 
GeneralRe: Refreshing DataSet Pin
emran83430-Jan-06 11:52
emran83430-Jan-06 11:52 
GeneralRe: Refreshing DataSet Pin
imsathy30-Jan-06 18:27
imsathy30-Jan-06 18:27 
GeneralRe: Successful but had to modify little. Pin
emran83431-Jan-06 17:04
emran83431-Jan-06 17:04 
Questionsql server license Pin
fmardani29-Jan-06 12:54
fmardani29-Jan-06 12:54 
AnswerRe: sql server license Pin
bootn29-Jan-06 17:21
bootn29-Jan-06 17:21 
AnswerRe: sql server license Pin
Dario Solera29-Jan-06 22:22
Dario Solera29-Jan-06 22:22 

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.