void _radDock_FloatingWindowCreated(object sender, FloatingWindowEventArgs e) { RadDock radDock = (sender as RadDock); if (radDock != null && radDock.ActiveWindow is ISmartViewer) { e.Window.MinimizeBox = true; e.Window.MaximizeBox = true; e.Window.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable; } }
private void kryptonDockingManager_FloatingWindowAdding(object sender, FloatingWindowEventArgs e) { // Set all new floating windows to a larger than default size e.FloatingWindow.ClientSize = new Size(400, 400); }
private void kryptonDockingManager_FloatingWindowRemoved(object sender, FloatingWindowEventArgs e) { kFWList.Remove(e.FloatingWindow); }
private void kryptonDockingManager_FloatingWindowAdding(object sender, FloatingWindowEventArgs e) { e.FloatingWindow.Size = new Size(800, 500); e.FloatingWindow.MinimumSize = new System.Drawing.Size(800, 500); kFWList.Add(e.FloatingWindow); }