コード例 #1
0
        private void rectangleShapeMouseDowmn(object sender, MouseEventArgs e)
        {
            Node_Front rec = new Node_Front();

            rec.DoDragDrop(rec, DragDropEffects.Copy);
            rec.BringToFront();
        }
コード例 #2
0
 private void rectangleShapeMouseDowmn(object sender, MouseEventArgs e)
 {
     Node_Front rec = new Node_Front();
        // Form1.getInstance().Nodes.Add(rec);
     Form1.getInstance().senderNode = this.newNode;
     Form1.getInstance().startPointHyma2 = new Point(e.X + this.Location.X + this.nodeFront4.Location.X, e.Y + this.Location.Y + this.nodeFront4.Location.Y);
     rec.DoDragDrop(rec, DragDropEffects.Copy);
     rec.BringToFront();
 }
コード例 #3
0
        private void rectangleShapeMouseDowmn(object sender, MouseEventArgs e)
        {
            Node_Front rec = new Node_Front();

            // Form1.getInstance().Nodes.Add(rec);
            Form1.getInstance().senderNode      = this.newNode;
            Form1.getInstance().startPointHyma2 = new Point(e.X + this.Location.X + this.nodeFront4.Location.X, e.Y + this.Location.Y + this.nodeFront4.Location.Y);
            rec.DoDragDrop(rec, DragDropEffects.Copy);
            rec.BringToFront();
        }
コード例 #4
0
 private void rectangleShapeMouseDowmn(object sender, MouseEventArgs e)
 {
     Node_Front rec = new Node_Front();
     rec.DoDragDrop(rec, DragDropEffects.Copy);
     rec.BringToFront();
 }