Click here to Skip to main content
15,921,959 members
Home / Discussions / C#
   

C#

 
QuestionProblem with moving picturebox with Cursor on Mouse_Move event. Pin
Chintan.Desai25-Oct-07 1:50
Chintan.Desai25-Oct-07 1:50 
AnswerRe: Problem with moving picturebox with Cursor on Mouse_Move event. Pin
Christian Graus25-Oct-07 1:55
protectorChristian Graus25-Oct-07 1:55 
GeneralRe: Problem with moving picturebox with Cursor on Mouse_Move event. Pin
Chintan.Desai25-Oct-07 22:59
Chintan.Desai25-Oct-07 22:59 
AnswerRe: Problem with moving picturebox with Cursor on Mouse_Move event. Pin
Abhijit Jana25-Oct-07 2:34
professionalAbhijit Jana25-Oct-07 2:34 
QuestionHow to store and retreave a word document in sql server data base using c#.net Pin
bobin scaria25-Oct-07 1:39
bobin scaria25-Oct-07 1:39 
AnswerRe: How to store and retreave a word document in sql server data base using c#.net Pin
Pete O'Hanlon25-Oct-07 1:46
mvePete O'Hanlon25-Oct-07 1:46 
Questioncustom control Pin
Tauseef A25-Oct-07 1:17
Tauseef A25-Oct-07 1:17 
AnswerRe: custom control Pin
Martin#25-Oct-07 1:40
Martin#25-Oct-07 1:40 
QuestionRe: custom control Pin
Tauseef A25-Oct-07 2:01
Tauseef A25-Oct-07 2:01 
QuestionGDI+ question Pin
ali_reza_zareian25-Oct-07 1:17
ali_reza_zareian25-Oct-07 1:17 
AnswerRe: GDI+ question Pin
Thomas Krojer25-Oct-07 5:27
Thomas Krojer25-Oct-07 5:27 
GeneralRe: GDI+ question Pin
ali_reza_zareian25-Oct-07 6:44
ali_reza_zareian25-Oct-07 6:44 
AnswerRe: GDI+ question Pin
Dave Kreskowiak25-Oct-07 7:31
mveDave Kreskowiak25-Oct-07 7:31 
Question"dot" Pin
new2pgrmg25-Oct-07 0:52
new2pgrmg25-Oct-07 0:52 
AnswerRe: "dot" Pin
Christian Graus25-Oct-07 1:00
protectorChristian Graus25-Oct-07 1:00 
GeneralRe: "dot" Pin
kabutar25-Oct-07 1:58
kabutar25-Oct-07 1:58 
GeneralRe: "dot" Pin
Christian Graus25-Oct-07 2:10
protectorChristian Graus25-Oct-07 2:10 
AnswerRe: "dot" Pin
azifaliazif25-Oct-07 2:31
azifaliazif25-Oct-07 2:31 
Well i believe u must be familiar with properties and functions. Every object of any class has some properties and methods. e.g

class MyClass
{
int i;
string j;
void MyClass(){}//this is constructor
Public void MyMethod( int x )//this is member function
{
return x*x;
}
}
Now if i make an object of this class
MyClass obj = new MyClass();//Notice I called the constructor.

Because obj is an instance of MyClass so it must have a cope of i,j and MyMethod(int x) of its own.

So what i should do to access these properties(i,j) or member function of MyClass.............Here is wat i would do.

obj.i=9;//so i m using dot to access the properties of the object.
obj.MyFunction(8);//Here i m calling the member functon.

Now to the code u provided.

obj.delegateobject = new windowsdelegates.Form2.nameofdelegate(SetText);

Look at this in pieces
obj is an object of any class
this class must have some property delegateobject
we are assigning this property(delegateobject) an object of class form2 by setting its name "Set Text". So here is the moral lesson dot is also used to access classes within a namespace.

I will recomend u so hav some good book on C#.NET for beginner level. u will get the answers to most of ur questions.
GeneralRe: "dot" Pin
sujithkumarsl25-Oct-07 2:48
sujithkumarsl25-Oct-07 2:48 
QuestionRe: "dot" Pin
wrzhi_200525-Oct-07 4:15
wrzhi_200525-Oct-07 4:15 
AnswerRe: "dot" Pin
sujithkumarsl25-Oct-07 4:25
sujithkumarsl25-Oct-07 4:25 
GeneralRe: "dot" Pin
wrzhi_200525-Oct-07 4:36
wrzhi_200525-Oct-07 4:36 
GeneralRe: "dot" Pin
sujithkumarsl25-Oct-07 5:02
sujithkumarsl25-Oct-07 5:02 
GeneralRe: "dot" Pin
new2pgrmg25-Oct-07 20:11
new2pgrmg25-Oct-07 20:11 
Questioncrystal report viewer using ms access in c# Pin
bhebhekoh25-Oct-07 0:38
bhebhekoh25-Oct-07 0:38 

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.