private void _createTimeshiftingShareButton_Click(object sender, EventArgs e) { if (_uncTimeshiftingDataGridView.SelectedRows.Count > 0) { ShowCreateShareForm(_uncTimeshiftingDataGridView.SelectedRows[0].DataBoundItem as UncPathItem); } }