public override void OnClick() { frmDataFrameProperty property = new frmDataFrameProperty { FocusMap = this._hookHelper.FocusMap as IBasicMap }; if (property.ShowDialog() != DialogResult.OK) { } }
public override void OnClick() { frmDataFrameProperty _frmDataFrameProperty = new frmDataFrameProperty() { FocusMap = this._context.FocusMap as IBasicMap }; if (_frmDataFrameProperty.ShowDialog() == DialogResult.OK) { this._context.MapDocumentChanged(); this._context.ActiveView.Refresh(); } }