Ejemplo n.º 1
0
 public void RequestNewRectangleTest()
 {
     VideoMirror target = new VideoMirror(); // TODO: Initialize to an appropriate value
     target.RequestNewRectangle();
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Ejemplo n.º 2
0
 public void AddVideoClone(MeTLLib.DataTypes.Video element)
 {
     if (!videoExistsOnCanvas(element) && element.tag().privacy == "public")
     {
         var videoClone = new MeTLLib.DataTypes.VideoMirror();
         videoClone.id = element.tag().id;
         if (videoClone.Rectangle == null)
             videoClone.RequestNewRectangle();
         Children.Add(videoClone);
         InkCanvas.SetLeft(videoClone, element.X);
         InkCanvas.SetTop(videoClone, element.Y);
         videoClone.Height = element.Height;
         videoClone.Width = element.Width;
     }
 }