/// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="floatingWindow"></param>
 public SerializableFloatingWindow(FloatingWindow floatingWindow)
 {
     //copy properties for seriazliation
     this.dockContainer = floatingWindow.DockContainer;
     this.ClientSize    = floatingWindow.ClientSize;
     this.Location      = floatingWindow.Location;
     this.BackColor     = floatingWindow.BackColor;
     this.zIndex        = floatingWindow.ZIndex;
     //TODO
     //this.AllowTheming = floatingWindow.AllowTheming;
     //this.AllowTransparency = floatingWindow.AllowTransparency;
     //this.BackgroundImage = floatingWindow.BackgroundImage;
     //this.BackgroundImageLayout = floatingWindow.BackgroundImageLayout;
 }
Example #2
0
 public FloatingWindowEventArgs(FloatingWindow instance)
 {
     this.window = instance;
 }