Ejemplo n.º 1
0
        public bool FillDown()
        {
            PropertyDescriptor[] propertyDescriptors;
            int firstRowIndex;
            int lastRowIndex;

            if (!GetRectangularSelection(out propertyDescriptors, out firstRowIndex, out lastRowIndex))
            {
                return(false);
            }
            var skylineWindow = ((SkylineDataSchema)BindingListSource.ViewInfo.DataSchema).SkylineWindow;

            if (null == skylineWindow)
            {
                return(false);
            }
            _dataGridViewPasteHandler.PerformUndoableOperation(Resources.DataboundGridControl_FillDown_Fill_Down,
                                                               longWaitBroker => DoFillDown(longWaitBroker, propertyDescriptors, firstRowIndex, lastRowIndex));
            return(false);
        }