Ejemplo n.º 1
0
        /*
         * public DrawLine(int i)
         * {
         *          Graphics g;
         *
         *          g = pbDesign.CreateGraphics();
         *
         *          Pen myPen = new Pen(Color.Red);
         *          myPen.Width = 4;
         *          myPen.StartCap = System.Drawing.Drawing2D.LineCap.Round;
         *          myPen.EndCap = System.Drawing.Drawing2D.LineCap.ArrowAnchor;
         *          g.DrawLine(myPen, ob_s.Location.X, ob_s.Location.Y,ob_e.Location.X, ob_e.Location.Y);
         * }
         */
        private void hotSpot1_Click(object sender, EventArgs e)
        {
            ActionClass.Instance().Clear();

            Point absoff = new Point
            {
                X = 0,
                Y = 32  // Location plus Fenstertitelrand
            };


            UIDesignTableClass tc = new UIDesignTableClass(pbDesign, "test");

            ActTable = tc;
        }
Ejemplo n.º 2
0
        /*
         * public DrawLine(int i)
         * {
         *          Graphics g;
         *
         *          g = pbDesign.CreateGraphics();
         *
         *          Pen myPen = new Pen(Color.Red);
         *          myPen.Width = 4;
         *          myPen.StartCap = System.Drawing.Drawing2D.LineCap.Round;
         *          myPen.EndCap = System.Drawing.Drawing2D.LineCap.ArrowAnchor;
         *          g.DrawLine(myPen, ob_s.Location.X, ob_s.Location.Y,ob_e.Location.X, ob_e.Location.Y);
         * }
         */
        private void hotSpot1_Click(object sender, EventArgs e)
        {
            ActionClass.Instance().Clear();


            int offsetx = this.Left;
            int offsety = this.Top;

            Point absoff = new Point();

            absoff.X = 0;
            absoff.Y = 32;  // Location plus Fenstertitelrand


            DesignTableClass tc = new DesignTableClass(pbDesign, "test");

            ActTable = tc;
        }