Пример #1
0
        private void mnuCompare_Click(object sender, System.EventArgs e)
        {
            try
            {
                if (_navigationComparer == null)
                {
                    _navigationComparer      = new NavigationCompareControl();
                    _navigationComparer.Dock = DockStyle.Fill;
                }

                SetActiveControl(_navigationComparer);
            }
            catch (Exception ex)
            {
                MessageBox.Show(this, "Unable to load navigation comparer. " + ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #2
0
        private void mnuCompare_Click(object sender, System.EventArgs e)
        {
            try
            {
                if (_navigationComparer == null)
                {
                    _navigationComparer = new NavigationCompareControl();
                    _navigationComparer.Dock = DockStyle.Fill;
                }

                SetActiveControl(_navigationComparer);
            }
            catch (Exception ex)
            {
                MessageBox.Show(this, "Unable to load navigation comparer. " + ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }