private void Item_PreviewMouseMove(object sender, MouseEventArgs e) { DesignerContainer dci = sender as DesignerContainer; DesignerItem di = dci.Content as DesignerItem; if (di._DShowWindow != null) { di._DShowWindow(di); } }