Click here to Skip to main content
15,916,463 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Unwanted Event firing Pin
francoisdotnet28-May-07 11:12
francoisdotnet28-May-07 11:12 
QuestionScroll a listbox Pin
ScottM122-May-07 20:28
ScottM122-May-07 20:28 
AnswerRe: Scroll a listbox Pin
PandemoniumPasha23-May-07 1:51
PandemoniumPasha23-May-07 1:51 
GeneralRe: Scroll a listbox Pin
ScottM123-May-07 2:24
ScottM123-May-07 2:24 
QuestionWorkerthread in .Net 1.1 Pin
matthias s.22-May-07 8:27
matthias s.22-May-07 8:27 
AnswerRe: Workerthread in .Net 1.1 Pin
ScottM122-May-07 20:20
ScottM122-May-07 20:20 
QuestionMDI application help - multiple views Pin
earlgraham22-May-07 7:37
earlgraham22-May-07 7:37 
QuestionButton click event Pin
dodoxor22-May-07 5:49
dodoxor22-May-07 5:49 
Hi,
I've my windows form application with Form1.h where i've implemented the graphic interface.
Then i've Myclass.h where i declare a class

#include "form1.h"
....
class Myclass{
public:
Myclass();
~MyClass();
void func();
void func2();
private:
...
}

and the myclass.cpp file where i implement the class.

Two problems:
1-Where must i have to put "Form1^ fr=gcnew Form1" declaration so that any method of myclass can see fr variable?
2-I want to put a condition in func() body that when button1(in the graphic interface of Form1.h) is clicked i do something. How can i write this condition?
Thank in advance for answers, regards.

AnswerRe: Button click event Pin
Paul Conrad13-Jul-07 13:47
professionalPaul Conrad13-Jul-07 13:47 
AnswerRe: Button click event Pin
dodoxor13-Jul-07 21:33
dodoxor13-Jul-07 21:33 
GeneralRe: Button click event Pin
Paul Conrad14-Jul-07 4:25
professionalPaul Conrad14-Jul-07 4:25 
QuestionClick Once with multiple sites Pin
Garry Pilkington22-May-07 1:01
Garry Pilkington22-May-07 1:01 
QuestionImport a class form Pin
dodoxor21-May-07 22:35
dodoxor21-May-07 22:35 
AnswerRe: Import a class form Pin
sarah_malik22-May-07 1:44
sarah_malik22-May-07 1:44 
QuestionRe: Import a class form Pin
dodoxor22-May-07 2:15
dodoxor22-May-07 2:15 
QuestionASP.NET button transparent in Safari [modified] Pin
hifiger200421-May-07 3:24
hifiger200421-May-07 3:24 
QuestionUsing report viewer control in Windows forms with CLR suppport Pin
Shraddha Gautam19-May-07 19:57
Shraddha Gautam19-May-07 19:57 
QuestionHow to kill exe? Pin
NanaAM18-May-07 22:28
NanaAM18-May-07 22:28 
AnswerRe: How to kill exe? Pin
Giorgi Dalakishvili18-May-07 23:11
mentorGiorgi Dalakishvili18-May-07 23:11 
QuestionHow to Insert row from Binded Combo Box Pin
P.T.R.K18-May-07 20:31
P.T.R.K18-May-07 20:31 
AnswerRe: How to Insert row from Binded Combo Box Pin
PandemoniumPasha19-May-07 19:16
PandemoniumPasha19-May-07 19:16 
AnswerRe: How to Insert row from Binded Combo Box Pin
Ch_Shahzad iqbal21-May-07 23:19
Ch_Shahzad iqbal21-May-07 23:19 
QuestionHow to scroll two listbox together in c# ? Pin
nav_smec18-May-07 1:07
nav_smec18-May-07 1:07 
QuestionRe: How to scroll two listbox together in c# ? Pin
ScottM123-May-07 2:26
ScottM123-May-07 2:26 
AnswerRe: How to scroll two listbox together in c# ? Pin
nav_smec2-Jun-07 0:13
nav_smec2-Jun-07 0:13 

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.