System.Windows.Forms.DataGridViewCell.ToString()

Here are the examples of the csharp api class System.Windows.Forms.DataGridViewCell.ToString() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: OsEngine
Source File: NewSecurityUi.xaml.cs
View license
private void ButtonAccept_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            if (_grid.SelectedCells[0] == null ||
                string.IsNullOrWhiteSpace(_grid.SelectedCells[0].ToString()))
            {
                return;
            }

            SelectedSecurity = _securities.Find(security => security.Name == _grid.SelectedCells[0].Value.ToString());
            Close();
        }