[MonoDevelop] Can't get basic code to work
Marcos Marín
marcosmarin at gmail.com
Wed Jul 25 23:19:41 EDT 2007
On 7/25/07, George Lober <georgelober at glowsoftware.ca> wrote:
>
> Sergio Hernandez wrote:
> > By the way, probably you want to try this so you clearly understand the
> order
> > the events/signal occurs:
> >
> > protected virtual void OnButton1Clicked(object sender,
> System.EventArgs e){
> > label1.Text = "Clicked";
> > entry1.Text = "Clicked";}
> >
> > protected virtual void OnButton1Activated(object sender,
> System.EventArgs e){
> > label1.Text = "Activated";
> > entry1.Text = "Activated";}
> >
> > protected virtual void OnButton1Entered(object sender,
> System.EventArgs e){
> > label1.Text = "Entered";
> > entry1.Text = "Entered";}
> >
> > protected virtual void OnButton1Pressed(object sender,
> System.EventArgs e){
> > label1.Text = "Pressed";
> > entry1.Text = "Pressed";}
> >
> > protected virtual void OnButton1Released(object sender,
> System.EventArgs e){
> > label1.Text = "Released";
> > entry1.Text = "Released";}
> >
> > protected virtual void OnButton1Left(object sender,
> System.EventArgs e){
> > label1.Text = "Left";
> > entry1.Text = "Left";}
> >
> > And don't forget to initialice the all the signals on Stetic.
> >
>
> Good suggestion. As luck would have it, the two that I chose
> (ButtonPressEvent and Activated) don't seem to do much.
>
> One signal/event which I'm trying to find is the equivalent of the
> delphi form onCreate event (when a window is created). Would this be the
> "Realized" signal ? I would need this to put one-time run start-up code
> into.
Why not use the class' constructor?
Thank you,
> George
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20070725/c719efc0/attachment.html
More information about the Monodevelop-list
mailing list