public PictureSlice(ICmPicture picture)
{
m_picBox = new PictureBox();
m_picBox.Click += new EventHandler(pb_Click);
m_picBox.Location = new Point(0,0); // not docked, because width may not be whole width
m_picBox.SizeMode = PictureBoxSizeMode.Zoom;
m_picture = picture;
InstallPicture(m_picBox);
// We need an extra layer of panel because the slice's control is always docked,
// and we don't want that for the picture box.
Panel panel = new Panel();
panel.Controls.Add(m_picBox);
panel.SizeChanged += new EventHandler(panel_SizeChanged);
this.Control = panel;
}