Click here to Skip to main content
15,898,792 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: crystal report viewer using ms access in c# Pin
Paul Conrad27-Oct-07 12:30
professionalPaul Conrad27-Oct-07 12:30 
QuestionDynamically changing font font-style size and color of a label Pin
sindhutiwari25-Oct-07 0:31
sindhutiwari25-Oct-07 0:31 
AnswerRe: Dynamically changing font font-style size and color of a label Pin
Christian Graus25-Oct-07 0:37
protectorChristian Graus25-Oct-07 0:37 
GeneralRe: Dynamically changing font font-style size and color of a label Pin
sindhutiwari25-Oct-07 0:43
sindhutiwari25-Oct-07 0:43 
GeneralRe: Dynamically changing font font-style size and color of a label Pin
Christian Graus25-Oct-07 0:50
protectorChristian Graus25-Oct-07 0:50 
QuestionHow to get previous focused control? Pin
Tavbi25-Oct-07 0:22
Tavbi25-Oct-07 0:22 
AnswerRe: How to get previous focused control? Pin
Chintan.Desai25-Oct-07 1:59
Chintan.Desai25-Oct-07 1:59 
QuestionManaging Excel Sheets with C# Pin
dudedotnet25-Oct-07 0:11
dudedotnet25-Oct-07 0:11 
AnswerRe: Managing Excel Sheets with C# Pin
martin_hughes25-Oct-07 2:54
martin_hughes25-Oct-07 2:54 
QuestionCreating a word document using c# Pin
Fahim A Salim24-Oct-07 23:37
Fahim A Salim24-Oct-07 23:37 

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.