Exemple #1
0
        virtual internal bool OnShowing()
        {
            var e = new GuppyEventArgs(this);

            if (EvShowing != null)
            {
                EvShowing(e);
            }
            return(e.Block);
        }
Exemple #2
0
        virtual public bool OnChanged()
        {
            var e = new GuppyEventArgs(this);

            if (EvChanged != null)
            {
                EvChanged(e);
            }
            return(e.Block);
        }
Exemple #3
0
        virtual internal bool OnEnter()
        {
            var e = new GuppyEventArgs(this);

            if (EvEnter != null)
            {
                EvEnter(e);
            }
            return(e.Block);
        }
Exemple #4
0
        virtual internal bool OnShowed()
        {
            GuppyEventArgs e = new GuppyEventArgs(this);

            if (EvShowed != null)
            {
                EvShowed(e);
            }
            return(e.Block);
        }
Exemple #5
0
        virtual internal bool OnClicked()
        {
            var e = new GuppyEventArgs(this);

            if (EvClicked != null)
            {
                EvClicked(e);
            }
            return(e.Block);
        }
Exemple #6
0
        virtual internal bool OnClosing()
        {
            GuppyEventArgs e = new GuppyEventArgs(this);

            if (EvClosing != null)
            {
                EvClosing(e);
            }
            return(e.Block);
        }
Exemple #7
0
        virtual public bool OnLeave()
        {
            var e = new GuppyEventArgs(this);

            if (EvLeave != null)
            {
                EvLeave(e);
            }
            return(e.Block);
        }
Exemple #8
0
        virtual internal bool OnDoubleClick()
        {
            var e = new GuppyEventArgs(this);

            if (EvDoubleClick != null)
            {
                EvDoubleClick(e);
            }
            return(e.Block);
        }
Exemple #9
0
        virtual internal bool OnChanged()
        {
            if (eventblock)
            {
                return(false);
            }
            var e = new GuppyEventArgs(this);

            if (EvChanged != null)
            {
                EvChanged(e);
            }
            return(e.Block);
        }
Exemple #10
0
        virtual internal bool OnClicked()
        {
            //handle buttons built-in response function
            if (response != null)
            {
                Window w = Window;
                if (w != null)
                {
                    w.Close(response);
                }
            }

            var e = new GuppyEventArgs(this);

            if (EvClicked != null)
            {
                EvClicked(e);
            }
            return(e.Block);
        }
Exemple #11
0
 void Splitter_EvChanged(GuppyEventArgs e)
 {
     Child1.Update();
     Child2.Update();
 }