private void isobaricAnalyzerToolStripMenuItem_Click(object sender, EventArgs e) { SEProQ.ITRAQ.ITRAQControl ic = new SEProQ.ITRAQ.ITRAQControl(); setControlInPanel2(ic); labelBreadCrumb.Text = ".: Quant :: Isobaric Analyzer"; ic.Dock = DockStyle.Fill; }
private void isobaricAnalyzerToolStripMenuItem_Click(object sender, EventArgs e) { WindowsFormsHost host = new WindowsFormsHost(); SEProQ.ITRAQ.ITRAQControl ic = new SEProQ.ITRAQ.ITRAQControl(); host.Child = ic; GridContent.Children.Clear(); GridContent.Children.Add(host); labelBreadCrumb.Content = ".: Quant :: Isobaric Analyzer"; }