private void btnAddObject_Click(object sender, EventArgs e)
        {
            this.Hide();

            _addObjectsWindow     = new AddObjectsWindow(this);
            _addObjectsWindow.Tag = _presenterModel.GetWebDriverHost();
            _addObjectsWindow.Start();

            _addObjectsWindow.UpdateSelectedTree = new TreeUpdatedDelegate(_presenterModel.MergeTree);
        }
        private void toolStripbtnUpdate_Click(object sender, EventArgs e)
        {
            if (_selectedNode == null || (_selectedNode.Tag as TestObjectNurse) == null)
            {
                MessageBox.Show(StringResources.LPSpy_SpyMainWindow_RefreshobjWarningMsg,
                                StringResources.LPSpy_SpyMainWindow_RefreshobjWarningTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                return;
            }
            this.Hide();
            _addObjectsWindow       = new AddObjectsWindow(this, AddObjWndModeType.UpdateProperties);
            _addObjectsWindow.Tag   = _selectedNode;
            _addObjectsWindow.Owner = this;
            _addObjectsWindow.Start();

            _addObjectsWindow.UpdateSelectedNode = new TreeNodeUpdatedDelegate(_presenterModel.UpdateSelNode);
        }