Click here to Skip to main content
15,885,164 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: GDI Drawings and Erase Pin
afridy24-Aug-08 20:19
afridy24-Aug-08 20:19 
GeneralRe: GDI Drawings and Erase [modified] Pin
afridy25-Aug-08 3:56
afridy25-Aug-08 3:56 
QuestionHide control inherited from a base form in a specific derived form, this at design-time ! Pin
sixadOne22-Aug-08 13:53
sixadOne22-Aug-08 13:53 
AnswerRe: Hide control inherited from a base form in a specific derived form, this at design-time ! Pin
rtklueh23-Aug-08 4:16
rtklueh23-Aug-08 4:16 
GeneralRe: Hide control inherited from a base form in a specific derived form, this at design-time ! Pin
sixadOne23-Aug-08 4:56
sixadOne23-Aug-08 4:56 
GeneralRe: Hide control inherited from a base form in a specific derived form, this at design-time ! Pin
Frank Horn23-Aug-08 9:19
Frank Horn23-Aug-08 9:19 
GeneralRe: Hide control inherited from a base form in a specific derived form, this at design-time ! Pin
sixadOne24-Aug-08 5:31
sixadOne24-Aug-08 5:31 
QuestionDataSet HasChanges doesn't pick up changes made by bound TextBoxes Pin
rtklueh22-Aug-08 11:13
rtklueh22-Aug-08 11:13 
I've seen this question in various forms in several places, but I have yet to see a satisfactory solution.

Using .Net Framework 2, I've got a DataSet with elements bound to several TextBoxes which are scattered on several tab pages on a form. I can then change any of the TextBox texts, and the corresponding changes do appear in the DataSet.

I want to enable an Apply button when any of these elements have changed. I tried to use the DataSet's HasChanges, but it will not return a 'true'. I also tried a RowChanged event on one of the DataTables in the DataSet, but it never triggered. I tried to resort to using the TextChanged event from all the TextBoxes. That almost works, but the event is raised when the binding initially sets the TextBox contents. I can tolerate that on the first tab page of my form, but the TextBoxes on the other tab pages don't get set until you initially select those tabs, and it is difficult to distinguish between a user-initiated change and the original setting.

Thanks for your suggestions.
AnswerRe: DataSet HasChanges doesn't pick up changes made by bound TextBoxes Pin
Mycroft Holmes22-Aug-08 20:11
professionalMycroft Holmes22-Aug-08 20:11 
GeneralRe: DataSet HasChanges doesn't pick up changes made by bound TextBoxes Pin
rtklueh23-Aug-08 3:59
rtklueh23-Aug-08 3:59 
GeneralRe: DataSet HasChanges doesn't pick up changes made by bound TextBoxes Pin
sixadOne23-Aug-08 5:28
sixadOne23-Aug-08 5:28 
GeneralRe: DataSet HasChanges doesn't pick up changes made by bound TextBoxes Pin
Mycroft Holmes23-Aug-08 13:52
professionalMycroft Holmes23-Aug-08 13:52 
GeneralRe: DataSet HasChanges doesn't pick up changes made by bound TextBoxes Pin
rtklueh23-Aug-08 15:20
rtklueh23-Aug-08 15:20 
GeneralRe: DataSet HasChanges doesn't pick up changes made by bound TextBoxes Pin
rtklueh25-Aug-08 5:52
rtklueh25-Aug-08 5:52 
QuestionWindows Service Pin
varshavmane22-Aug-08 5:08
varshavmane22-Aug-08 5:08 
AnswerRe: Windows Service Pin
Pavel Klocek22-Aug-08 11:15
Pavel Klocek22-Aug-08 11:15 
GeneralRe: Windows Service Pin
varshavmane24-Aug-08 19:45
varshavmane24-Aug-08 19:45 
AnswerRe: Windows Service Pin
rtklueh23-Aug-08 4:06
rtklueh23-Aug-08 4:06 
AnswerRe: Windows Service Pin
lisan_al_ghaib23-Aug-08 12:23
lisan_al_ghaib23-Aug-08 12:23 
GeneralRe: Windows Service Pin
varshavmane24-Aug-08 19:47
varshavmane24-Aug-08 19:47 
QuestionHow to print data across then down in RDLC report Pin
tantja22-Aug-08 3:53
tantja22-Aug-08 3:53 
QuestionScript (VBS) (WMI) To query Resultant Set of Policy (RSoP) and get security settings Pin
rocker198721-Aug-08 1:23
rocker198721-Aug-08 1:23 
Questioncannot invalidate() mdi child form from another Pin
Member 251239120-Aug-08 16:38
Member 251239120-Aug-08 16:38 
AnswerRe: cannot invalidate() mdi child form from another Pin
led mike21-Aug-08 5:12
led mike21-Aug-08 5:12 
QuestionWindows Forms + External Program Pin
raymondk20-Aug-08 11:17
raymondk20-Aug-08 11:17 

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.