public ImagePanel(Base parent)
            : base(parent)
        {
            /* Normal */
            {
                Control.ImagePanel img = new Control.ImagePanel(this)
                {
                    ImageName = "gwen.png"
                };
                img.SetPosition(10, 10);
                img.SetSize(100, 100);
            }

            /* Missing */
            {
                Control.ImagePanel img = new Control.ImagePanel(this)
                {
                    ImageName = "missingimage.png"
                };
                img.SetPosition(120, 10);
                img.SetSize(100, 100);
            }

            /* Clicked */
            {
                Control.ImagePanel img = new Control.ImagePanel(this)
                {
                    ImageName = "gwen.png"
                };
                img.SetPosition(10, 120);
                img.SetSize(100, 100);
                img.Clicked += Image_Clicked;
            }
        }
Ejemplo n.º 2
0
        public ImagePanel(Base parent)
            : base(parent)
        {
            /* Normal */
            {
                Control.ImagePanel img = new Control.ImagePanel(this);
                img.ImageName = "gwen.png";
                img.SetPosition(10, 10);
				img.SetSize(100, 100);
            }

            /* Missing */
            {
                Control.ImagePanel img = new Control.ImagePanel(this);
                img.ImageName = "missingimage.png";
                img.SetPosition(120, 10);
				img.SetSize(100, 100);
            }

			/* Clicked */
			{
				Control.ImagePanel img = new Control.ImagePanel(this);
				img.ImageName = "gwen.png";
				img.SetPosition(10, 120);
				img.SetSize(100, 100);
				img.Clicked += Image_Clicked;
			}
        }
Ejemplo n.º 3
0
        public ImagePanel(ControlBase parent)
            : base(parent)
        {
            /* Normal */
            {
                Control.ImagePanel img = new Control.ImagePanel(this);
                img.Margin    = Margin.Five;
                img.Dock      = Dock.Top;
                img.Size      = new Size(100, 100);
                img.ImageName = "tex.dds";
            }



            /* Missing */
            {
                Control.ImagePanel img = new Control.ImagePanel(this);
                img.Margin    = Margin.Five;
                img.Dock      = Dock.Top;
                img.Size      = new Size(100, 100);
                img.ImageName = "missingimage.png";
            }

            /* Clicked */
            {
                Control.ImagePanel img = new Control.ImagePanel(this);
                img.Margin    = Margin.Five;
                img.Dock      = Dock.Top;
                img.Size      = new Size(100, 100);
                img.ImageName = "gwen.png";
                img.Clicked  += Image_Clicked;
            }
        }
Ejemplo n.º 4
0
        public ImagePanel(Base parent)
            : base(parent)
        {
            // Normal
            {
                Control.ImagePanel img = new Control.ImagePanel(this);
                img.ImageName = "gwen.png";
                img.SetPosition(10, 10);
                img.SetBounds(10, 10, 100, 100);
            }

            // Missing
            {
                Control.ImagePanel img = new Control.ImagePanel(this);
                img.ImageName = "missingimage.png";
                img.SetPosition(120, 10);
                img.SetBounds(120, 10, 100, 100);
            }
        }
Ejemplo n.º 5
0
        public ImagePanel(ControlBase parent)
            : base(parent)
        {
            // Normal
            {
                Control.ImagePanel img = new Control.ImagePanel(this);
                img.ImageName = "gwen.png";
                img.SetPosition(10, 10);
                img.SetBounds(10, 10, 100, 100);
            }

            // Missing
            {
                Control.ImagePanel img = new Control.ImagePanel(this);
                img.ImageName = "missingimage.png";
                img.SetPosition(120, 10);
                img.SetBounds(120, 10, 100, 100);
            }
        }
Ejemplo n.º 6
0
        public ImagePanel(ControlBase parent)
            : base(parent)
        {
            /* Normal */
            {
                Control.ImagePanel img = new Control.ImagePanel(this)
                {
                    Margin    = Margin.Five,
                    Dock      = Dock.Top,
                    Size      = new Size(100, 100),
                    ImageName = "gwen.png"
                };
            }


            /* Missing */
            {
                Control.ImagePanel img = new Control.ImagePanel(this)
                {
                    Margin    = Margin.Five,
                    Dock      = Dock.Top,
                    Size      = new Size(100, 100),
                    ImageName = "missingimage.png"
                };
            }

            /* Clicked */
            {
                Control.ImagePanel img = new Control.ImagePanel(this)
                {
                    Margin    = Margin.Five,
                    Dock      = Dock.Top,
                    Size      = new Size(100, 100),
                    ImageName = "test16.png"
                };
                img.Clicked += Image_Clicked;
            }
        }