예제 #1
0
        void addControl()
        {
            //Center Menu
            ElementProperties prop_c = new ElementProperties();

            prop_c.ElementSupport.AddSupport(TouchFramework.TouchAction.Tap);

            CenterMenuCont = new MTSmoothContainer(center_menu, MainElement, prop_c);
            CenterMenuCont.SetPosition((float)MainElement.ActualWidth / 2, (float)MainElement.ActualHeight / 2, 0, 1.0);
            framework.RegisterElement(CenterMenuCont);

            center_menu.setInit(MainElement, window, framework, CenterMenuCont, 0);

            MainElement.Children.Add(center_menu);

            //SmartPhoneCont
            ElementProperties prop2 = new ElementProperties();

            prop2.ElementSupport.AddSupportForAll();

            smartPhoneCont = new MTSmoothContainer(smartPhone_img, MainElement, prop2);
            framework.RegisterElement(smartPhoneCont);

            //createSmartArea();
        }
예제 #2
0
        public void Item_TouchUp(PointF p, string ipAddress)
        {
            //절대 좌표로 변경
            PointF globalPt = new PointF(thisCont.ObjectTouches.MoveCenter.X, thisCont.ObjectTouches.MoveCenter.Y);

            if (IsSelecting == true)
            {
                IsSelecting = false;
                main.Children.Remove(contactsObj);

                if (itemState == 1) //연락처 전송
                {
                    contactsObj.sendContact(ipAddress);
                }
                else if (itemState == 2)
                {
                }
                else
                {
                    ContactsObject cObj = new ContactsObject(window, main, contactsObj.contacts);

                    ElementProperties cObjProp = new ElementProperties();
                    cObjProp.ElementSupport.AddSupportForAll();

                    MTSmoothContainer cObjCont = new MTSmoothContainer(cObj, main, cObjProp);
                    framework.RegisterElement(cObjCont);

                    cObj.setInit(framework, cObjCont);

                    main.Children.Add(cObj);

                    cObjCont.SetPosition(globalPt.X, globalPt.Y, thisAngle + thisCont.RotateFilter.Target, 1.0);
                }
            }
        }
예제 #3
0
        public void bt_filebox_Click(object sender, RoutedEventArgs e)
        {
            if (main.Children.Contains(fBox) == false)
            {
                fBox = new FileBox3();
                main.Children.Add(fBox);

                fBoxProp.ElementSupport.AddSupport(TouchAction.Tap);
                fBoxProp.ElementSupport.AddSupport(TouchAction.Drag);
                fBoxProp.ElementSupport.AddSupport(TouchAction.ScrollY);

                fBoxCont = new MTSmoothContainer(fBox, main, fBoxProp);
                fBoxCont.SetPosition(thisPosition.X, thisPosition.Y,
                    thisAngle + thisCont.RotateFilter.Target, 1.0);

                framework.RegisterElement(fBoxCont);
                fBox.setInit(main, window, framework, fBoxCont, thisAngle, userIP);

                isCreated = true;
            }
            else
            {
                main.Children.Remove(fBox);
                framework.UnregisterElement(fBoxCont.Id);
                fBox = new FileBox3();
                isCreated = false;
            }
        }
예제 #4
0
        public void createSmartArea(string _ip, PointF pt, double angle)
        {
            //Init SmartArea Control
            SmartArea smartArea = new SmartArea();

            ElementProperties prop = new ElementProperties();

            prop.ElementSupport.AddSupport(TouchFramework.TouchAction.Drag);
            prop.ElementSupport.AddSupport(TouchFramework.TouchAction.Tap);

            smartAreaCont = new MTSmoothContainer(smartArea, MainElement, prop);
            framework.RegisterElement(smartAreaCont);

            smartArea.Tag        = _ip;
            smartAreaCont.userIP = _ip;

            MainElement.Children.Add(smartArea);
            smartArea.setInit(MainElement, window, framework, smartAreaCont, _ip, angle);

            smartAreaCont.SetPosition(pt.X, pt.Y, angle, 1.0);

            SingleToneTrans.getInstance().addToArea(smartArea);
            SingleToneTrans.getInstance().addToCont(smartAreaCont);
            _smartArea = smartArea;
        }
예제 #5
0
        public void bt1_Click(object sender, RoutedEventArgs e)
        {
            if (main.Children.Contains(fBox) == false)
            {
                fBox = new FileBox3();
                main.Children.Add(fBox);

                fBoxProp.ElementSupport.AddSupport(TouchAction.Tap);
                fBoxProp.ElementSupport.AddSupport(TouchAction.Drag);
                fBoxProp.ElementSupport.AddSupport(TouchAction.ScrollY);

                fBoxCont = new MTSmoothContainer(fBox, main, fBoxProp);
                fBoxCont.SetPosition(thisPosition.X, thisPosition.Y,
                                     thisAngle + thisCont.RotateFilter.Target, 1.0);

                framework.RegisterElement(fBoxCont);
                fBox.setInit(main, window, framework, fBoxCont, thisAngle, userIP);

                fBox.Tag = "f/" + userIP;
                SingleToneTrans.getInstance().addToFileBox(fBox);

                isCreated = true;
            }
            else
            {
                main.Children.Remove(fBox);
                framework.UnregisterElement(fBoxCont.Id);
                fBox = new FileBox3();

                SingleToneTrans.getInstance().removeFileBox(fBox);
                isCreated = false;
            }
        }
예제 #6
0
        void bt1_Click(object sender, RoutedEventArgs e)
        {
            if (!(main.Children.Contains(pMenu)))
            {
                PointF globalPt = new PointF(thisCont.ObjectTouches.MoveCenter.X, thisCont.ObjectTouches.MoveCenter.Y);
                pMenu = new phoneMenu();

                main.Children.Add(pMenu);

                pMenuProp.ElementSupport.AddSupportForAll();

                pMenuCont = new MTSmoothContainer(pMenu, main, pMenuProp);

                pMenuCont.SetPosition(globalPt.X, globalPt.Y, gridRotateTrans.Angle, 1.0);
                framework.RegisterElement(pMenuCont);

                pMenu.setInit(main, window, framework, pMenuCont, gridRotateTrans.Angle, userIP);
            }
            else
            {
                main.Children.Remove(pMenu);
                framework.UnregisterElement(pMenuCont.Id);
                pMenuCont.isRemoved = true;
            }
        }
예제 #7
0
 public void setInit(Canvas _main, Window target, FrameworkControl fw, MTSmoothContainer cont, double angle)
 {
     main      = _main;
     window    = target;
     framework = fw;
     thisCont  = cont;
     thisAngle = angle;
 }
예제 #8
0
 public void setInit(Canvas _main, Window target, FrameworkControl fw, MTSmoothContainer cont, double angle)
 {
     main = _main;
     window = target;
     framework = fw;
     thisCont = cont;
     thisAngle = angle;
 }
예제 #9
0
 public void setInit(Canvas _main, Window target, FrameworkControl fw, MTSmoothContainer cont, string _ip, double angle)
 {
     main                  = _main;
     window                = target;
     framework             = fw;
     thisCont              = cont;
     userIP                = _ip;
     gridRotateTrans.Angle = angle;
 }
예제 #10
0
        public void setInit(Canvas _main, Window target, FrameworkControl fw, MTSmoothContainer cont, double angle, ObjectInfo _objInfo)
        {
            objInfo = _objInfo;
            imgPath = objInfo.Path;
            img.Source = new BitmapImage(new Uri(imgPath, UriKind.Absolute));

            main = _main;
            window = target;
            framework = fw;
            thisCont = cont;
            thisAngle = angle;
        }
예제 #11
0
        public void setInit(Canvas _main, Window target, FrameworkControl fw, MTSmoothContainer cont, double angle, ObjectInfo _objInfo)
        {
            objInfo    = _objInfo;
            imgPath    = objInfo.Path;
            img.Source = new BitmapImage(new Uri(imgPath, UriKind.Absolute));

            main      = _main;
            window    = target;
            framework = fw;
            thisCont  = cont;
            thisAngle = angle;
        }
예제 #12
0
        public void setInit(Canvas _main, Window target, FrameworkControl fw, MTSmoothContainer cont, double angle, string _ip)
        {
            main      = _main;
            window    = target;
            framework = fw;
            thisCont  = cont;
            thisAngle = angle;
            userIP    = _ip;

            t = new Thread(new ThreadStart(thread_recv));
            t.Start();
        }
예제 #13
0
        public void setInit(Canvas _main, Window target, FrameworkControl fw, MTSmoothContainer cont, double angle, string _ip)
        {
            main = _main;
            window = target;
            framework = fw;
            thisCont = cont;
            thisAngle = angle;
            userIP = _ip;

            t = new Thread(new ThreadStart(thread_recv));
            t.Start();
        }
예제 #14
0
        public void removeSmartArea(string _ip)
        {
            //Init SmartArea Control
            SmartArea         smartArea = SingleToneTrans.getInstance().getArea(_ip);
            MTSmoothContainer cont      = SingleToneTrans.getInstance().getCont(_ip);

            SingleToneTrans.getInstance().removeArea(smartArea);
            SingleToneTrans.getInstance().removeCont(cont);

            main.Children.Remove(smartArea);
            framework.UnregisterElement(cont.Id);
            cont.isRemoved = true;
        }
예제 #15
0
        public void setInit(Canvas _main, Window target, FrameworkControl fw, MTSmoothContainer cont, double angle, ObjectInfo _objInfo)
        {
            main = _main;
            window = target;
            framework = fw;
            thisCont = cont;
            thisAngle = angle;

            objInfo = _objInfo;

            ReadPPTfile(objInfo.FilePath);
            MakePPTIamge(objInfo.DirPath);
            ViewPPTImage(objInfo.DirPath, 0);
        }
예제 #16
0
        public void setInit(Canvas _main, Window target, FrameworkControl fw, MTSmoothContainer cont, double angle, ObjectInfo _objInfo)
        {
            main      = _main;
            window    = target;
            framework = fw;
            thisCont  = cont;
            thisAngle = angle;

            objInfo = _objInfo;

            ReadPPTfile(objInfo.FilePath);
            MakePPTIamge(objInfo.DirPath);
            ViewPPTImage(objInfo.DirPath, 0);
        }
예제 #17
0
        public void removeSmartArea(string _ip)
        {
            //Init SmartArea Control
            SmartArea smartArea = SingleToneTrans.getInstance().getArea(_ip);


            SingleToneTrans.getInstance().addToArea(smartArea);
            int _index             = SingleToneTrans.getInstance().getAreaIndex(smartArea);
            MTSmoothContainer cont = SingleToneTrans.getInstance().getIndexAtCont(_index);

            MainElement.Children.Remove(smartArea);
            framework.UnregisterElement(cont.Id);
            cont.isRemoved = true;
        }
예제 #18
0
        public void setInit(Canvas _main, Window target, FrameworkControl fw, MTSmoothContainer cont, double angle, string _ip)
        {
            main = _main;
            window = target;
            framework = fw;
            thisCont = cont;
            thisAngle = angle;
            userIP = _ip;

            thisPath = path + userIP + "\\";
            currentPath += userIP + "\\MyBox\\";

            makeDir();
            setListBox(path + "MyBox\\");
        }
예제 #19
0
        public void setInit(Canvas _main, Window target, FrameworkControl fw, MTSmoothContainer cont, double angle, string _ip)
        {
            main      = _main;
            window    = target;
            framework = fw;
            thisCont  = cont;
            thisAngle = angle;
            userIP    = _ip;

            thisPath     = path + userIP + "\\";
            currentPath += userIP + "\\MyBox\\";

            makeDir();
            setListBox(path + "MyBox\\");
        }
예제 #20
0
        /// <summary>
        /// Creates a new video and adds it as a touch managed object to the MTElementDictionary withing the framework.
        /// Randomly positions and rotates the photo within the screen area.
        /// </summary>
        /// <param name="filePath">Full path to the image.</param>
        void AddVideo(string filePath)
        {
            VideoControl p = new VideoControl();

            System.Windows.Shapes.Rectangle i = p.SetVideo(filePath);

            ElementProperties prop = new ElementProperties();

            prop.ElementSupport.AddSupportForAll();

            MTContainer cont = new MTSmoothContainer(p, canvas1, prop);

            framework.RegisterElement(cont);

            canvas1.Children.Add(p);

            cont.MaxX = (int)(this.screen_width);
            cont.MaxY = (int)(this.screen_height);
            cont.MinX = (int)(this.screen_width / 10);
            cont.MinY = (int)(this.screen_height / 10);
        }
예제 #21
0
        void AddFeed(string url)
        {
            ElementProperties prop = new ElementProperties();

            prop.ElementSupport.AddSupportForAll();

            RssList r = new RssList();

            r.Read(url);

            MTContainer cont = new MTSmoothContainer(r, canvas1, prop);

            framework.RegisterElement(cont);

            canvas1.Children.Add(r);

            cont.MaxX = (int)(this.screen_width);
            cont.MaxY = (int)(this.screen_height);
            cont.MinX = (int)(this.screen_width / 10);
            cont.MinY = (int)(this.screen_height / 10);
        }
예제 #22
0
        public void setInit(Canvas _main, System.Windows.Window target, FrameworkControl fw, MTSmoothContainer cont, double angle, ObjectInfo _objInfo)
        {
            main = _main;
            window = target;
            framework = fw;
            thisCont = cont;
            thisAngle = angle;

            string wordDocument = _objInfo.FilePath;

            string convertedXpsDoc = string.Concat(System.IO.Path.GetTempPath(), "\\", Guid.NewGuid().ToString(), ".xps");
            XpsDocument xpsDocument = ConvertWordToXps(wordDocument, convertedXpsDoc);
            if (xpsDocument == null)
            {
                return;
            }

            documentviewWord.Document = xpsDocument.GetFixedDocumentSequence();
//             System.Windows.Controls.ContentControl cc = documentviewWord.Template.FindName("PART_FindToolBarHost", documentviewWord) as System.Windows.Controls.ContentControl;
//             cc.Visibility = Visibility.Collapsed;
            
        }
예제 #23
0
        public void setInit(Canvas _main, System.Windows.Window target, FrameworkControl fw, MTSmoothContainer cont, double angle, ObjectInfo _objInfo)
        {
            main      = _main;
            window    = target;
            framework = fw;
            thisCont  = cont;
            thisAngle = angle;

            string wordDocument = _objInfo.FilePath;

            string      convertedXpsDoc = string.Concat(System.IO.Path.GetTempPath(), "\\", Guid.NewGuid().ToString(), ".xps");
            XpsDocument xpsDocument     = ConvertWordToXps(wordDocument, convertedXpsDoc);

            if (xpsDocument == null)
            {
                return;
            }

            documentviewWord.Document = xpsDocument.GetFixedDocumentSequence();
//             System.Windows.Controls.ContentControl cc = documentviewWord.Template.FindName("PART_FindToolBarHost", documentviewWord) as System.Windows.Controls.ContentControl;
//             cc.Visibility = Visibility.Collapsed;
        }
예제 #24
0
        /// <summary>
        /// Creates a new photo and adds it as a touch managed object to the MTElementDictionary withing the framework.
        /// Randomly positions and rotates the photo within the screen area.
        /// </summary>
        /// <param name="filePath">Full path to the image.</param>
        void AddPhoto(string filePath)
        {
            BitmapImage bi = new BitmapImage(new Uri(filePath));
            Photo       p  = new Photo();

            System.Windows.Controls.Image i = p.SetPicture(filePath);

            RenderOptions.SetBitmapScalingMode(i, BitmapScalingMode.HighQuality);

            ElementProperties prop = new ElementProperties();

            prop.ElementSupport.AddSupportForAll();

            MTContainer cont = new MTSmoothContainer(p, canvas1, prop);

            framework.RegisterElement(cont);

            canvas1.Children.Add(p);

            cont.MaxX = (int)(this.screen_width);
            cont.MaxY = (int)(this.screen_height);
            cont.MinX = (int)(this.screen_width / 10);
            cont.MinY = (int)(this.screen_height / 10);
        }
예제 #25
0
 public void setInit(FrameworkControl fw, MTSmoothContainer cont)
 {
     framework           = fw;
     thisCont            = cont;
     bt_close.Visibility = Visibility.Visible;
 }
예제 #26
0
 public void removeCont(MTSmoothContainer e)
 {
     contList.Remove(e);
 }
예제 #27
0
 public void addToCont(MTSmoothContainer e)
 {
     contList.Add(e);
 }
예제 #28
0
        public void Item_TouchUp(PointF p)
        {
            //절대 좌표로 변경
            PointF globalPt = new PointF(thisCont.ObjectTouches.MoveCenter.X, thisCont.ObjectTouches.MoveCenter.Y);

            if (IsSelecting == true)
            {
                IsSelecting = false;
                main.Children.Remove(fileBoxObject);

                if (fileBoxObject.fileType == "image")
                {
                    ImageView imgView = new ImageView();
                    main.Children.Add(imgView);

                    ElementProperties imgViewProp = new ElementProperties();
                    imgViewProp.ElementSupport.AddSupportForAll();

                    MTSmoothContainer imgViewCont = new MTSmoothContainer(imgView, main, imgViewProp);
                    imgViewCont.SetPosition(globalPt.X, globalPt.Y,
                                            thisAngle + thisCont.RotateFilter.Target, 1.0);

                    framework.RegisterElement(imgViewCont);

                    imgView.setInit(main, window, framework, imgViewCont, thisAngle + thisCont.RotateFilter.Target, fileBoxObject.objInfo);
                }
                else if (fileBoxObject.fileType == "ppt")
                {
                    PptViewer pptViewer = new PptViewer();
                    main.Children.Add(pptViewer);

                    ElementProperties pptViewerProp = new ElementProperties();
                    pptViewerProp.ElementSupport.AddSupportForAll();

                    MTSmoothContainer pptViewerCont = new MTSmoothContainer(pptViewer, main, pptViewerProp);
                    pptViewerCont.SetPosition(globalPt.X, globalPt.Y,
                                              thisAngle + thisCont.RotateFilter.Target, 1.0);

                    framework.RegisterElement(pptViewerCont);

                    pptViewer.setInit(main, window, framework, pptViewerCont, thisAngle + thisCont.RotateFilter.Target, fileBoxObject.objInfo);
                }
                else if (fileBoxObject.fileType == "video")
                {
                    VideoControl videoCon             = new VideoControl();
                    System.Windows.Shapes.Rectangle i = videoCon.SetVideo(fileBoxObject.objInfo.FilePath);

                    ElementProperties vprop = new ElementProperties();
                    vprop.ElementSupport.AddSupportForAll();

                    MTSmoothContainer cont = new MTSmoothContainer(videoCon, main, vprop);
                    cont.SetPosition(globalPt.X, globalPt.Y,
                                     thisAngle + thisCont.RotateFilter.Target, 1.0);

                    framework.RegisterElement(cont);

                    main.Children.Add(videoCon);
//
//                     cont.MaxX = (int)(this.screen_width);
//                     cont.MaxY = (int)(this.screen_height);
//                     cont.MinX = (int)(this.screen_width / 10);
//                     cont.MinY = (int)(this.screen_height / 10);
                }
                else if (fileBoxObject.fileType == "doc")
                {
                    DocViewer dv = new DocViewer();

                    ElementProperties vprop = new ElementProperties();
                    vprop.ElementSupport.AddSupportForAll();

                    MTSmoothContainer cont = new MTSmoothContainer(dv, main, vprop);
                    cont.SetPosition(globalPt.X, globalPt.Y,
                                     thisAngle + thisCont.RotateFilter.Target, 1.0);
                    framework.RegisterElement(cont);

                    dv.setInit(main, window, framework, cont, thisAngle + thisCont.RotateFilter.Target, fileBoxObject.objInfo);

                    main.Children.Add(dv);
                    //
                    //                     cont.MaxX = (int)(this.screen_width);
                    //                     cont.MaxY = (int)(this.screen_height);
                    //                     cont.MinX = (int)(this.screen_width / 10);
                    //                     cont.MinY = (int)(this.screen_height / 10);
                }
            }
            if (IsMoving == true)
            {
                IsMoving = false;
            }
            if (IsRotating == true)
            {
                IsRotating = false;
                firstAng   = false;
            }
        }
예제 #29
0
 public void setInit(FrameworkControl fw, MTSmoothContainer cont)
 {
     framework = fw;
     thisCont = cont;
     bt_close.Visibility = Visibility.Visible;
 }
예제 #30
0
        public void Item_TouchUp(PointF p)
        {
            //절대 좌표로 변경
            PointF globalPt = new PointF(thisCont.ObjectTouches.MoveCenter.X, thisCont.ObjectTouches.MoveCenter.Y);

            if (IsSelecting == true)
            {
                IsSelecting = false;
                main.Children.Remove(fileBoxObject);

                if (fileBoxObject.fileType == "image")
                {
                    ImageView imgView = new ImageView();
                    main.Children.Add(imgView);

                    ElementProperties imgViewProp = new ElementProperties();
                    imgViewProp.ElementSupport.AddSupportForAll();

                    MTSmoothContainer imgViewCont = new MTSmoothContainer(imgView, main, imgViewProp);
                    imgViewCont.SetPosition(globalPt.X, globalPt.Y,
                        thisAngle + thisCont.RotateFilter.Target, 1.0);

                    framework.RegisterElement(imgViewCont);

                    imgView.setInit(main, window, framework, imgViewCont, thisAngle + thisCont.RotateFilter.Target, fileBoxObject.objInfo);
                }
                else if (fileBoxObject.fileType == "ppt")
                {
                    PptViewer pptViewer = new PptViewer();
                    main.Children.Add(pptViewer);

                    ElementProperties pptViewerProp = new ElementProperties();
                    pptViewerProp.ElementSupport.AddSupportForAll();

                    MTSmoothContainer pptViewerCont = new MTSmoothContainer(pptViewer, main, pptViewerProp);
                    pptViewerCont.SetPosition(globalPt.X, globalPt.Y,
                        thisAngle + thisCont.RotateFilter.Target, 1.0);

                    framework.RegisterElement(pptViewerCont);

                    pptViewer.setInit(main, window, framework, pptViewerCont, thisAngle + thisCont.RotateFilter.Target, fileBoxObject.objInfo);                
                }
                else if (fileBoxObject.fileType == "video")
                {
                    VideoControl videoCon = new VideoControl();
                    System.Windows.Shapes.Rectangle i = videoCon.SetVideo(fileBoxObject.objInfo.FilePath);

                    ElementProperties vprop = new ElementProperties();
                    vprop.ElementSupport.AddSupportForAll();

                    MTSmoothContainer cont = new MTSmoothContainer(videoCon, main, vprop);
                    cont.SetPosition(globalPt.X, globalPt.Y,
                        thisAngle + thisCont.RotateFilter.Target, 1.0);

                    framework.RegisterElement(cont);

                    main.Children.Add(videoCon);
// 
//                     cont.MaxX = (int)(this.screen_width);
//                     cont.MaxY = (int)(this.screen_height);
//                     cont.MinX = (int)(this.screen_width / 10);
//                     cont.MinY = (int)(this.screen_height / 10);
                }
                else if (fileBoxObject.fileType == "doc")
                {
                    DocViewer dv = new DocViewer();
                    
                    ElementProperties vprop = new ElementProperties();
                    vprop.ElementSupport.AddSupportForAll();

                    MTSmoothContainer cont = new MTSmoothContainer(dv, main, vprop);
                    cont.SetPosition(globalPt.X, globalPt.Y,
                        thisAngle + thisCont.RotateFilter.Target, 1.0);
                    framework.RegisterElement(cont);

                    dv.setInit(main, window, framework, cont, thisAngle + thisCont.RotateFilter.Target, fileBoxObject.objInfo);                
                
                    main.Children.Add(dv);
                    // 
                    //                     cont.MaxX = (int)(this.screen_width);
                    //                     cont.MaxY = (int)(this.screen_height);
                    //                     cont.MinX = (int)(this.screen_width / 10);
                    //                     cont.MinY = (int)(this.screen_height / 10);
                }
            }
            if (IsMoving == true)
            {
                IsMoving = false;
            }
            if (IsRotating == true)
            {
                IsRotating = false;
                firstAng = false;
            }
        }
예제 #31
0
        public void Item_TouchUp(PointF p, string ipAddress)
        {
            //절대 좌표로 변경
            PointF globalPt = new PointF(thisCont.ObjectTouches.MoveCenter.X, thisCont.ObjectTouches.MoveCenter.Y);

            if (IsSelecting == true)
            {
                IsSelecting = false;
                main.Children.Remove(contactsObj);

                if (itemState == 1) //연락처 전송
                {
                    contactsObj.sendContact(ipAddress);
                }
                else if (itemState == 2)
                {
                }
                else
                {
                    ContactsObject cObj = new ContactsObject(window, main, contactsObj.contacts);
                    
                    ElementProperties cObjProp = new ElementProperties();
                    cObjProp.ElementSupport.AddSupportForAll();

                    MTSmoothContainer cObjCont = new MTSmoothContainer(cObj, main, cObjProp);
                    framework.RegisterElement(cObjCont);

                    cObj.setInit(framework, cObjCont);
                    
                    main.Children.Add(cObj);

                    cObjCont.SetPosition(globalPt.X, globalPt.Y, thisAngle + thisCont.RotateFilter.Target, 1.0);
                }
            }
        }
예제 #32
0
 public void addToCont(MTSmoothContainer e)
 {
     contList.Add(e);
 }
예제 #33
0
 public void removeCont(MTSmoothContainer e)
 {
     contList.Remove(e);
 }