ToolWindow tool = new ToolWindow();
tool.Text = form.Text;
this.radDock1.FloatWindow(tool, new Rectangle(new Point(this.DesktopBounds.X + this.DesktopBounds.Width / 2 - formWidth / 2,
this.DesktopBounds.Y + this.DesktopBounds.Height / 2 - formHeight / 2), new Size(formWidth, formHeight)));
form.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
form.TopLevel = false;
form.Dock = DockStyle.Fill;
form.Show();
foreach(DockWindow dock in this.radDock1.DockWindows)
{
if(GesHelper.Equals(dock.Name, tool.Name))
{
dock.Controls.Add(form);
dock.CloseAction = DockWindowCloseAction.CloseAndDispose;
break;
}
}