Click here to Skip to main content
15,886,666 members
Home / Discussions / C#
   

C#

 
Generalinstall project paths Pin
mcgahanfl2-Jul-04 4:07
mcgahanfl2-Jul-04 4:07 
GeneralPlease see this Pin
saud_a_k2-Jul-04 1:31
saud_a_k2-Jul-04 1:31 
GeneralRe: Please see this Pin
Colin Angus Mackay2-Jul-04 2:10
Colin Angus Mackay2-Jul-04 2:10 
GeneralRe: Please see this Pin
saud_a_k2-Jul-04 2:48
saud_a_k2-Jul-04 2:48 
GeneralRe: Please see this Pin
Gary Thom2-Jul-04 2:29
Gary Thom2-Jul-04 2:29 
GeneralRe: Please see this Pin
saud_a_k2-Jul-04 2:41
saud_a_k2-Jul-04 2:41 
GeneralUsing the same currency manager more than once Pin
WillemM2-Jul-04 1:17
WillemM2-Jul-04 1:17 
GeneralRe: Using the same currency manager more than once Pin
Heath Stewart2-Jul-04 3:08
protectorHeath Stewart2-Jul-04 3:08 
I wouldn't recommend sharing the CurrencyManager, which wouldn't work anyway since your binding contexts are technically different (one form binds to a DataSet while the other binds to a DataView, even though it is over a DataTable within the same DataSet - binding contexts must be exactly the same).

I would recommend using the event model. Define an event on one or both of the forms (depending on whether or not you want one-way or two-way synchronization) that when a button is clicked (or whatever you use for navigation), an event is also raised that the other form handles and increments it's CurrencyManager.Position as well. This also gives you a little more flexibility with future development.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Using the same currency manager more than once Pin
WillemM2-Jul-04 3:47
WillemM2-Jul-04 3:47 
QuestionHow to Serialize object's property by its Category Pin
nakey_yang2-Jul-04 1:06
nakey_yang2-Jul-04 1:06 
AnswerRe: How to Serialize object's property by its Category Pin
Stefan Troschuetz2-Jul-04 1:19
Stefan Troschuetz2-Jul-04 1:19 
GeneralRe: How to Serialize object's property by its Category Pin
nakey_yang2-Jul-04 1:53
nakey_yang2-Jul-04 1:53 
GeneralRe: How to Serialize object's property by its Category [EDITED] Pin
Stefan Troschuetz2-Jul-04 2:12
Stefan Troschuetz2-Jul-04 2:12 
GeneralRe: How to Serialize object's property by its Category Pin
Heath Stewart2-Jul-04 3:02
protectorHeath Stewart2-Jul-04 3:02 
AnswerRe: How to Serialize object's property by its Category Pin
nakey_yang2-Jul-04 4:33
nakey_yang2-Jul-04 4:33 
GeneralTCP/IP Pin
Melanius2-Jul-04 1:05
Melanius2-Jul-04 1:05 
GeneralRe: TCP/IP Pin
Colin Angus Mackay2-Jul-04 2:12
Colin Angus Mackay2-Jul-04 2:12 
Generalpositioning a popup window correctly when large fonts are used... Pin
misterbear1-Jul-04 23:33
misterbear1-Jul-04 23:33 
GeneralRe: positioning a popup window correctly when large fonts are used... Pin
Heath Stewart2-Jul-04 3:01
protectorHeath Stewart2-Jul-04 3:01 
GeneralMultiple problems related to PrinPreviewControl Pin
sachinkalse1-Jul-04 23:00
sachinkalse1-Jul-04 23:00 
GeneralRe: Multiple problems related to PrinPreviewControl Pin
Heath Stewart2-Jul-04 2:58
protectorHeath Stewart2-Jul-04 2:58 
QuestionHow to Serialize object's property by its Category Pin
Anonymous1-Jul-04 23:00
Anonymous1-Jul-04 23:00 
AnswerRe: How to Serialize object's property by its Category Pin
Heath Stewart2-Jul-04 2:47
protectorHeath Stewart2-Jul-04 2:47 
GeneralResizing a Form Pin
Anonymous1-Jul-04 14:03
Anonymous1-Jul-04 14:03 
GeneralRe: Resizing a Form Pin
Anonymous1-Jul-04 14:04
Anonymous1-Jul-04 14:04 

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.