Exemplo n.º 1
0
        internal static void Inspect(bool findAll)
        {
            if (_findDock == null)
            {
                _findDock       = new FindDock();
                _findDock.Owner = MainWindow.Instance;
            }

            _findDock._findAll = findAll;

            if (findAll)
            {
                _findDock.findPreviousButton.Visible = false;
                _findDock.findNextButton.Text        = Resources.FindAll;
            }
            else
            {
                _findDock.findPreviousButton.Visible = true;
                _findDock.findNextButton.Text        = Resources.FindNext;
            }

            _findDock.Show();

            if (Settings.Default.FindDockLocation.X > 0 && Settings.Default.FindDockLocation.Y > 0)
            {
                _findDock.Location = Settings.Default.FindDockLocation;
            }
        }
Exemplo n.º 2
0
        internal static void Inspect(bool findAll)
        {
            if (_findDock == null)
            {
                _findDock = new FindDock();
            }

            _findDock._findAll = findAll;

            if (findAll)
            {
                _findDock.findPreviousButton.Visible = false;
                _findDock.findNextButton.Text        = Resources.FindAll;
            }
            else
            {
                _findDock.findPreviousButton.Visible = true;
                _findDock.findNextButton.Text        = Resources.FindNext;
            }

            _findDock.Show();
        }