Click here to Skip to main content
15,908,906 members
Home / Discussions / C#
   

C#

 
GeneralAVI file Pin
arshan8-Apr-08 23:28
arshan8-Apr-08 23:28 
GeneralRe: AVI file Pin
Christian Graus8-Apr-08 23:58
protectorChristian Graus8-Apr-08 23:58 
GeneralRe: AVI file Pin
J4amieC8-Apr-08 23:59
J4amieC8-Apr-08 23:59 
GeneralRe: AVI file Pin
Eduard Keilholz9-Apr-08 0:11
Eduard Keilholz9-Apr-08 0:11 
GeneralRe: AVI file Pin
J4amieC9-Apr-08 0:50
J4amieC9-Apr-08 0:50 
GeneralCross-thread operation Pin
mehrdadc488-Apr-08 22:51
mehrdadc488-Apr-08 22:51 
GeneralRe: Cross-thread operation Pin
laserbaronen8-Apr-08 23:10
laserbaronen8-Apr-08 23:10 
GeneralRe: Cross-thread operation Pin
Christian Graus9-Apr-08 0:00
protectorChristian Graus9-Apr-08 0:00 
mehrdadc48 wrote:
I make public some controls on the form


This is always a bad idea.

mehrdadc48 wrote:
send this (current instance of the form) to that class as parameter of constrauctor.


How very ugly


mehrdadc48 wrote:
How can I do this?


Use delegates to call a form and tell it to change it's UI elements. You can then either set things up to invoke the UI changes, when in another thread, or if you prefer nasty solutions, you can just turn off the cross thread operations error.

If you read the article I link to in my sig, and pay particular attention to the section on how to google error messages.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: Cross-thread operation Pin
GuyThiebaut9-Apr-08 3:40
professionalGuyThiebaut9-Apr-08 3:40 
GeneralRe: Cross-thread operation Pin
Christian Graus9-Apr-08 11:40
protectorChristian Graus9-Apr-08 11:40 
GeneralRe: Cross-thread operation Pin
half-life9-Apr-08 5:34
half-life9-Apr-08 5:34 
Questionmouse scroll list view Pin
Pathetic Logic8-Apr-08 21:19
Pathetic Logic8-Apr-08 21:19 
GeneralRe: mouse scroll list view Pin
Christian Graus8-Apr-08 22:01
protectorChristian Graus8-Apr-08 22:01 
QuestionRe: mouse scroll list view Pin
Pathetic Logic8-Apr-08 22:27
Pathetic Logic8-Apr-08 22:27 
GeneralRe: mouse scroll list view Pin
ptr2void8-Apr-08 23:13
ptr2void8-Apr-08 23:13 
QuestionRe: mouse scroll list view Pin
Pathetic Logic8-Apr-08 23:53
Pathetic Logic8-Apr-08 23:53 
GeneralRe: mouse scroll list view Pin
Christian Graus9-Apr-08 0:02
protectorChristian Graus9-Apr-08 0:02 
GeneralRe: mouse scroll list view Pin
Pathetic Logic9-Apr-08 0:43
Pathetic Logic9-Apr-08 0:43 
QuestionDynamically inserting image into a crystal report Pin
Krazy Programmer8-Apr-08 21:19
Krazy Programmer8-Apr-08 21:19 
GeneralRe: Dynamically inserting image into a crystal report Pin
Sandilian8-Apr-08 22:51
Sandilian8-Apr-08 22:51 
GeneralRe: Dynamically inserting image into a crystal report Pin
Krazy Programmer8-Apr-08 23:51
Krazy Programmer8-Apr-08 23:51 
Generaloutlook addin to delete mail Pin
tasumisra8-Apr-08 21:18
tasumisra8-Apr-08 21:18 
GeneralCrystal Report Pin
Manpreet Sadana8-Apr-08 20:53
Manpreet Sadana8-Apr-08 20:53 
GeneralPrintOut Through DMP Pin
help as an alias8-Apr-08 20:12
help as an alias8-Apr-08 20:12 
Questionbolding group box Pin
barak1604878-Apr-08 19:50
barak1604878-Apr-08 19:50 

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.