Пример #1
0
        private void assistDataToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                AssistViewData wnd = new AssistViewData(config);

                wnd.MdiParent = this;
                wnd.Show();
                wnd.Activate();
            }
            catch (Exception ex) { MessageBox.Show(ex.TargetSite + " " + ex.Message, "Error!", MessageBoxButtons.OK, MessageBoxIcon.Error); }
        }
Пример #2
0
        private void ToolStripMenuItemAssistViewData_Click(object sender, EventArgs e)
        {
            try
            {
                AssistViewData wnd = new AssistViewData(config);

                wnd.MdiParent = this;
                wnd.Show();
                wnd.Activate();
            }
            catch (Exception ex) { }
        }