Example #1
0
 private void trendQuestToolStripMenuItem_Click(object sender, EventArgs e)
 {
     TrendQuest.TrendQuestControl tc = new TrendQuest.TrendQuestControl();
     setControlInPanel2(tc);
     labelBreadCrumb.Text = ".: Analyze :: TrendQuest";
     tc.Dock = DockStyle.Fill;
 }
        private void trendQuestToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WindowsFormsHost host = new WindowsFormsHost();

            TrendQuest.TrendQuestControl tc = new TrendQuest.TrendQuestControl();
            host.Child = tc;
            GridContent.Children.Clear();
            GridContent.Children.Add(host);
            labelBreadCrumb.Content = ".: Analyze :: TrendQuest";
        }