Click here to Skip to main content
15,888,527 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Problem to communicate between forms Pin
N a v a n e e t h14-Mar-09 6:00
N a v a n e e t h14-Mar-09 6:00 
GeneralRe: Problem to communicate between forms Pin
roshihans14-Mar-09 16:08
roshihans14-Mar-09 16:08 
GeneralRe: Problem to communicate between forms Pin
N a v a n e e t h14-Mar-09 16:21
N a v a n e e t h14-Mar-09 16:21 
GeneralRe: Problem to communicate between forms Pin
roshihans14-Mar-09 17:33
roshihans14-Mar-09 17:33 
GeneralRe: Problem to communicate between forms Pin
N a v a n e e t h15-Mar-09 5:14
N a v a n e e t h15-Mar-09 5:14 
GeneralRe: Problem to communicate between forms Pin
roshihans15-Mar-09 18:12
roshihans15-Mar-09 18:12 
QuestionDelegates for instance methods between AppDomains... Pin
MrBhbk11-Mar-09 10:28
MrBhbk11-Mar-09 10:28 
QuestionSingle Textbox EventHandler for all Pin
Badboy22TR9-Mar-09 14:23
Badboy22TR9-Mar-09 14:23 
Hi, i have lots of textbox on my form, instead of adding several eventhandlers for textchanged or keypressed, i wrote a single one for all. It worked then i decided to move it to another class, but i can't bind it to eventhandler. I don't know what i did wrong. Can anyone help me please?

//If i put the code on form's class it works
this->textBox7->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &AA::SM_KeyPress);

private: System::Void SM_KeyPress(System::Object^ sender, System::Windows::Forms::KeyPressEventArgs^ e) { ...}

//But when i try to do this, i got several errors
//1>error C2276: '&' : illegal operation on bound member function expression
//1>error C3350: 'System::Windows::Forms::KeyPressEventHandler' : a delegate constructor expects 2 argument(s)

this->textBox9->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &AA::G1->SM_KeyPress);

G1 is an another class, i added these lines to use library.

#include "Genel.h"
using namespace Util;

private : Util::Genel^ G1;



Thank you very much...
AnswerRe: Single Textbox EventHandler for all Pin
ky_rerun10-Mar-09 5:00
ky_rerun10-Mar-09 5:00 
AnswerRe: Single Textbox EventHandler for all Pin
Badboy22TR10-Mar-09 12:07
Badboy22TR10-Mar-09 12:07 
QuestionUpdating a label's text automatically? (New programmer) Pin
TabascoSauce9-Mar-09 12:50
TabascoSauce9-Mar-09 12:50 
GeneralRe: Updating a label's text automatically? (New programmer) Pin
Luc Pattyn9-Mar-09 13:09
sitebuilderLuc Pattyn9-Mar-09 13:09 
GeneralRe: Updating a label's text automatically? (New programmer) Pin
TabascoSauce9-Mar-09 14:10
TabascoSauce9-Mar-09 14:10 
QuestionInt64 minus.... Pin
Thilek8-Mar-09 6:46
Thilek8-Mar-09 6:46 
AnswerRe: Int64 minus.... Pin
Mark Salsbery8-Mar-09 9:19
Mark Salsbery8-Mar-09 9:19 
AnswerRe: Int64 minus.... Pin
Dave Doknjas8-Mar-09 13:56
Dave Doknjas8-Mar-09 13:56 
Question(C++/CLI) "FileNotFoundException" raised in "Activator::GetObject()" method of Remoting programming Pin
zkii4-Mar-09 3:08
zkii4-Mar-09 3:08 
AnswerRe: (C++/CLI) "FileNotFoundException" raised in "Activator::GetObject()" method of Remoting programming Pin
led mike4-Mar-09 4:41
led mike4-Mar-09 4:41 
GeneralRe: (C++/CLI) "FileNotFoundException" raised in "Activator::GetObject()" method of Remoting programming Pin
zkii4-Mar-09 16:54
zkii4-Mar-09 16:54 
GeneralRe: (C++/CLI) "FileNotFoundException" raised in "Activator::GetObject()" method of Remoting programming Pin
led mike5-Mar-09 4:28
led mike5-Mar-09 4:28 
GeneralRe: (C++/CLI) "FileNotFoundException" raised in "Activator::GetObject()" method of Remoting programming Pin
zkii5-Mar-09 16:02
zkii5-Mar-09 16:02 
GeneralRe: (C++/CLI) "FileNotFoundException" raised in "Activator::GetObject()" method of Remoting programming Pin
led mike6-Mar-09 4:47
led mike6-Mar-09 4:47 
QuestionStreamReader delimiters in C++/CLI Pin
J_E_D_I3-Mar-09 22:14
J_E_D_I3-Mar-09 22:14 
AnswerRe: StreamReader delimiters in C++/CLI Pin
ky_rerun5-Mar-09 6:50
ky_rerun5-Mar-09 6:50 
AnswerRe: StreamReader delimiters in C++/CLI Pin
dybs6-Mar-09 17:58
dybs6-Mar-09 17: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.