Ejemplo n.º 1
0
        /// <summary>
        /// Checks if the selected <see cref="ExcelInterop.Range"/> contains any data in it and updates that status in the corresponding panel.
        /// </summary>
        /// <param name="range">The <see cref="ExcelInterop.Range"/> where the selection is.</param>
        public void UpdateExcelSelectedDataStatus(ExcelInterop.Range range)
        {
            if (!Visible)
            {
                return;
            }

            DBObjectSelectionPanel3.ExcelSelectionContainsData = range.ContainsAnyData();
        }