private void viewStockToolStripMenuItem_Click(object sender, EventArgs e) { ViewStock viestk = new ViewStock(); contentpanel.Controls.Clear(); contentpanel.Controls.Add(viestk); }