Пример #1
0
        public AutomationDataGridViewCell(AutomationDataGridView grid, AutomationDataGridViewRow row, DataGridViewCell cell)
        {
            if (grid == null)
            {
                throw new ArgumentNullException("grid");
            }

            if (row == null)
            {
                throw new ArgumentNullException("row");
            }

            if (cell == null)
            {
                throw new ArgumentNullException("cell");
            }

            _grid = grid;
            _row = row;
            _cell = cell;
        }
Пример #2
0
        public AutomationDataGridViewHeaderCell(AutomationDataGridView grid, IRawElementProviderFragmentRoot parent, DataGridViewHeaderCell headerCell)
        {
            if (grid == null)
                throw new ArgumentNullException("grid");

            if (headerCell == null)
                throw new ArgumentNullException("headerCell");

            if (parent == null)
                throw new ArgumentNullException("parent");

            _grid = grid;
            _headerCell = headerCell;
            _parent = parent;
        }
Пример #3
0
        /// <summary>
        /// Class Constructor.
        /// </summary>
        /// <param name="grid"></param>
        /// <param name="row"></param>
        public AutomationDataGridViewRow(AutomationDataGridView grid, DataGridViewRow row)
        {
            if (grid == null)
            {
                throw new ArgumentNullException("grid");
            }

            if (row == null)
            {
                throw new ArgumentNullException("row");
            }

            _grid = grid;
            _row = row;

        }
Пример #4
0
        /// <summary>
        /// Class Constructor.
        /// </summary>
        /// <param name="grid"></param>
        /// <param name="row"></param>
        public AutomationDataGridViewHeaderRow(AutomationDataGridView grid)
        {
            if (grid == null)
            {
                throw new ArgumentNullException("grid");
            }

            _grid = grid;
        }