예제 #1
0
        protected virtual void Init()
        {
            m_frame = new Frame();
            m_frame.Parent = this;
            m_frame.MemberName = "Button2Up";
            m_frame.Ink = RasterOps.ROPs.BgTransparent;
            m_frame.Member.ColorKey = Color.FromArgb(0,0,0);
            m_frame.MouseActive = true;
            m_frame.LocZ = 0;

            m_sliderHandle = new SliderHandle();
            m_sliderHandle.Parent = this;
            m_sliderHandle.MemberName = "Button2Up";
            m_sliderHandle.Ink = RasterOps.ROPs.BgTransparent;
            m_sliderHandle.Member.ColorKey = Color.FromArgb(0,0,0);
            m_sliderHandle.RegPoint = new EPoint(15,15);
            m_sliderHandle.Position = 0.5f;
            m_sliderHandle.LocZ = 100;

            this.InitEnd();
        }
예제 #2
0
        protected virtual void Init()
        {
            m_frame                 = new Frame();
            m_frame.Parent          = this;
            m_frame.MemberName      = "Button2Up";
            m_frame.Ink             = RasterOps.ROPs.BgTransparent;
            m_frame.Member.ColorKey = Color.FromArgb(0, 0, 0);
            m_frame.MouseActive     = true;
            m_frame.LocZ            = 0;

            m_sliderHandle                 = new SliderHandle();
            m_sliderHandle.Parent          = this;
            m_sliderHandle.MemberName      = "Button2Up";
            m_sliderHandle.Ink             = RasterOps.ROPs.BgTransparent;
            m_sliderHandle.Member.ColorKey = Color.FromArgb(0, 0, 0);
            m_sliderHandle.RegPoint        = new EPoint(15, 15);
            m_sliderHandle.Position        = 0.5f;
            m_sliderHandle.LocZ            = 100;

            this.InitEnd();
        }