Hi Czarek,

2006/11/29, Cezary Zawadzki <[EMAIL PROTECTED]>:
>
>   Hi!
>
>   My name is Czarek and I'm from Poland.
>   I've decided to write to you, because I really don't know
>   where to find a good tutorial about gtk#. There are programs
>   only for a console, but I couldn't find for windows.
>   I tried to write a simple window program, but
>   I really don't know how to use members. For example
>   I added two buttons and one label. Then i wanted to change a text
>   in the label (in windows: this.label1.text=...), but
>   i didn't find a member "label1". Please help me (if you can).
>
>   best regards
>   Czarek

Shaika Dzari already told you where to find tutorials, so I won't go into that.

Let me tell you that C# is case sensitive (yes, even MS's version).
What the problem probably was in your particular code is that you
wrote:

this.label1.text="something";

When you should have written:

this.Label1.Text = "something";

By the way, the class library is written in C#, so it is allways case
sensitive regardless of language you use it to access it. Other things
might not be, but the class library is.

Why? This is a perfectly legal declaration in C#:

public class CaseSensitive
{
    public int N;
    public int n;
}

Now, if CaseSensitive was called from a case insensitive language, and
you issued:

casEsensitivE.N

There would be no way of knowing which casEsensitivE.N you refer to.

Jesus bless you,

Victor Rivarola

-- 
FANÁTICO
"Por cuanto eres tibio, y no frío ni caliente, te vomitaré de mi boca."
Apocalipsis 3:16

LOCO
"Porque la Palabra de la Cruz es locura para los que se pierden; pero a
los que se salvan, esto es, a nosotros, es poder de Dios."
1 Corintios 1:18
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
  • [Gtk-sharp-l... Cezary Zawadzki
    • Re: [Gt... Shaika Dzari
    • Re: [Gt... Victor Rafael Rivarola Soerensen (FANATICO y LOCO por Cristo)

Reply via email to