protected virtual void ShowHideRows_Click(object sender, EventArgs e)
        {
            var dialog = new StringConvertibleMatrixRowVisibilityDialog(this.dataGridView.Rows.Cast <DataGridViewRow>());

            dialog.ShowDialog();
            RowVisibility = dialog.Visibility;
        }
 protected virtual void ShowHideRows_Click(object sender, EventArgs e) {
   var dialog = new StringConvertibleMatrixRowVisibilityDialog(this.dataGridView.Rows.Cast<DataGridViewRow>());
   dialog.ShowDialog();
   RowVisibility = dialog.Visibility;
 }