Here are the examples of the csharp api class BrightIdeasSoftware.ObjectListView.GetControlValue(System.Windows.Forms.Control) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
24 Examples
0
1. Example
Project: tesvsnip
Source File: ObjectListView.cs
Source File: ObjectListView.cs
protected virtual void CellEditor_Validating(object sender, CancelEventArgs e) { cellEditEventArgs.Cancel = false; cellEditEventArgs.NewValue = GetControlValue(cellEditor); OnCellEditorValidating(cellEditEventArgs); if (cellEditEventArgs.Cancel) { cellEditEventArgs.Control.Select(); e.Cancel = true; } else FinishCellEdit(); }
0
2. Example
Project: tesvsnip
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual void CancelCellEdit() { if (!IsCellEditing) return; // Let the world know that the user has cancelled the edit operation cellEditEventArgs.Cancel = true; cellEditEventArgs.NewValue = GetControlValue(cellEditor); OnCellEditFinishing(cellEditEventArgs); // Now cleanup the editing process CleanupCellEdit(); }
0
3. Example
Project: tesvsnip
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual bool PossibleFinishCellEditing() { if (!IsCellEditing) return true; cellEditEventArgs.Cancel = false; cellEditEventArgs.NewValue = GetControlValue(cellEditor); OnCellEditorValidating(cellEditEventArgs); if (cellEditEventArgs.Cancel) return false; FinishCellEdit(); return true; }
0
4. Example
Project: falloutsnip
Source File: ObjectListView.cs
Source File: ObjectListView.cs
protected virtual void CellEditor_Validating(object sender, CancelEventArgs e) { cellEditEventArgs.Cancel = false; cellEditEventArgs.NewValue = GetControlValue(cellEditor); OnCellEditorValidating(cellEditEventArgs); if (cellEditEventArgs.Cancel) { cellEditEventArgs.Control.Select(); e.Cancel = true; } else FinishCellEdit(); }
0
5. Example
Project: falloutsnip
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual void CancelCellEdit() { if (!IsCellEditing) return; // Let the world know that the user has cancelled the edit operation cellEditEventArgs.Cancel = true; cellEditEventArgs.NewValue = GetControlValue(cellEditor); OnCellEditFinishing(cellEditEventArgs); // Now cleanup the editing process CleanupCellEdit(); }
0
6. Example
Project: falloutsnip
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual bool PossibleFinishCellEditing() { if (!IsCellEditing) return true; cellEditEventArgs.Cancel = false; cellEditEventArgs.NewValue = GetControlValue(cellEditor); OnCellEditorValidating(cellEditEventArgs); if (cellEditEventArgs.Cancel) return false; FinishCellEdit(); return true; }
0
7. Example
Project: MapViewer
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual void CancelCellEdit() { if (!this.IsCellEditing) return; // Let the world know that the user has cancelled the edit operation this.CellEditEventArgs.Cancel = true; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditFinishing(this.CellEditEventArgs); // Now cleanup the editing process this.CleanupCellEdit(false, this.CellEditEventArgs.AutoDispose); }
0
8. Example
Project: MapViewer
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual bool PossibleFinishCellEditing(bool expectingCellEdit) { if (!this.IsCellEditing) return true; this.CellEditEventArgs.Cancel = false; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditorValidating(this.CellEditEventArgs); if (this.CellEditEventArgs.Cancel) return false; this.FinishCellEdit(expectingCellEdit); return true; }
0
9. Example
Project: logwizard
Source File: ObjectListView.cs
Source File: ObjectListView.cs
protected virtual void CellEditor_Validating(object sender, CancelEventArgs e) { this.CellEditEventArgs.Cancel = false; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditorValidating(this.CellEditEventArgs); if (this.CellEditEventArgs.Cancel) { this.CellEditEventArgs.Control.Select(); e.Cancel = true; } else FinishCellEdit(); }
0
10. Example
Project: logwizard
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual void CancelCellEdit() { if (!this.IsCellEditing) return; // Let the world know that the user has cancelled the edit operation this.CellEditEventArgs.Cancel = true; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditFinishing(this.CellEditEventArgs); // Now cleanup the editing process this.CleanupCellEdit(false, this.CellEditEventArgs.AutoDispose); }
0
11. Example
Project: logwizard
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual bool PossibleFinishCellEditing(bool expectingCellEdit) { if (!this.IsCellEditing) return true; this.CellEditEventArgs.Cancel = false; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditorValidating(this.CellEditEventArgs); if (this.CellEditEventArgs.Cancel) return false; this.FinishCellEdit(expectingCellEdit); return true; }
0
12. Example
Project: Bulk-Crap-Uninstaller
Source File: ObjectListView.cs
Source File: ObjectListView.cs
protected virtual void CellEditor_Validating(object sender, CancelEventArgs e) { this.CellEditEventArgs.Cancel = false; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditorValidating(this.CellEditEventArgs); if (this.CellEditEventArgs.Cancel) { this.CellEditEventArgs.Control.Select(); e.Cancel = true; } else FinishCellEdit(); }
0
13. Example
Project: Bulk-Crap-Uninstaller
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual void CancelCellEdit() { if (!this.IsCellEditing) return; // Let the world know that the user has cancelled the edit operation this.CellEditEventArgs.Cancel = true; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditFinishing(this.CellEditEventArgs); // Now cleanup the editing process this.CleanupCellEdit(false, this.CellEditEventArgs.AutoDispose); }
0
14. Example
Project: Bulk-Crap-Uninstaller
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual bool PossibleFinishCellEditing(bool expectingCellEdit) { if (!this.IsCellEditing) return true; this.CellEditEventArgs.Cancel = false; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditorValidating(this.CellEditEventArgs); if (this.CellEditEventArgs.Cancel) return false; this.FinishCellEdit(expectingCellEdit); return true; }
0
15. Example
Project: SquareOne
Source File: ObjectListView.cs
Source File: ObjectListView.cs
protected virtual void CellEditor_Validating(object sender, CancelEventArgs e) { this.CellEditEventArgs.Cancel = false; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditorValidating(this.CellEditEventArgs); if (this.CellEditEventArgs.Cancel) { this.CellEditEventArgs.Control.Select(); e.Cancel = true; } else FinishCellEdit(); }
0
16. Example
Project: SquareOne
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual void CancelCellEdit() { if (!this.IsCellEditing) return; // Let the world know that the user has cancelled the edit operation this.CellEditEventArgs.Cancel = true; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditFinishing(this.CellEditEventArgs); // Now cleanup the editing process this.CleanupCellEdit(false, this.CellEditEventArgs.AutoDispose); }
0
17. Example
Project: SquareOne
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual bool PossibleFinishCellEditing(bool expectingCellEdit) { if (!this.IsCellEditing) return true; this.CellEditEventArgs.Cancel = false; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditorValidating(this.CellEditEventArgs); if (this.CellEditEventArgs.Cancel) return false; this.FinishCellEdit(expectingCellEdit); return true; }
0
18. Example
Project: tesvsnip
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual void FinishCellEdit() { if (!IsCellEditing) return; cellEditEventArgs.Cancel = false; cellEditEventArgs.NewValue = GetControlValue(cellEditor); OnCellEditFinishing(cellEditEventArgs); // If someone doesn't cancel the editing process, write the value back into the model if (!cellEditEventArgs.Cancel) { cellEditEventArgs.Column.PutValue(cellEditEventArgs.RowObject, cellEditEventArgs.NewValue); RefreshItem(cellEditEventArgs.ListViewItem); } CleanupCellEdit(); }
0
19. Example
Project: falloutsnip
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual void FinishCellEdit() { if (!IsCellEditing) return; cellEditEventArgs.Cancel = false; cellEditEventArgs.NewValue = GetControlValue(cellEditor); OnCellEditFinishing(cellEditEventArgs); // If someone doesn't cancel the editing process, write the value back into the model if (!cellEditEventArgs.Cancel) { cellEditEventArgs.Column.PutValue(cellEditEventArgs.RowObject, cellEditEventArgs.NewValue); RefreshItem(cellEditEventArgs.ListViewItem); } CleanupCellEdit(); }
0
20. Example
Project: MapViewer
Source File: ObjectListView.cs
Source File: ObjectListView.cs
protected virtual void CellEditor_Validating(object sender, CancelEventArgs e) { this.CellEditEventArgs.Cancel = false; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditorValidating(this.CellEditEventArgs); if (this.CellEditEventArgs.Cancel) { this.CellEditEventArgs.Control.Select(); e.Cancel = true; } else FinishCellEdit(); }
0
21. Example
Project: logwizard
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual void FinishCellEdit(bool expectingCellEdit) { if (!this.IsCellEditing) return; this.CellEditEventArgs.Cancel = false; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditFinishing(this.CellEditEventArgs); // If someone doesn't cancel the editing process, write the value back into the model if (!this.CellEditEventArgs.Cancel) { this.CellEditEventArgs.Column.PutValue(this.CellEditEventArgs.RowObject, this.CellEditEventArgs.NewValue); this.RefreshItem(this.CellEditEventArgs.ListViewItem); } this.CleanupCellEdit(expectingCellEdit, this.CellEditEventArgs.AutoDispose); }
0
22. Example
Project: Bulk-Crap-Uninstaller
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual void FinishCellEdit(bool expectingCellEdit) { if (!this.IsCellEditing) return; this.CellEditEventArgs.Cancel = false; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditFinishing(this.CellEditEventArgs); // If someone doesn't cancel the editing process, write the value back into the model if (!this.CellEditEventArgs.Cancel) { this.CellEditEventArgs.Column.PutValue(this.CellEditEventArgs.RowObject, this.CellEditEventArgs.NewValue); this.RefreshItem(this.CellEditEventArgs.ListViewItem); } this.CleanupCellEdit(expectingCellEdit, this.CellEditEventArgs.AutoDispose); // Tell the world that the cell has been edited this.OnCellEditFinished(this.CellEditEventArgs); }
0
23. Example
Project: SquareOne
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual void FinishCellEdit(bool expectingCellEdit) { if (!this.IsCellEditing) return; this.CellEditEventArgs.Cancel = false; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditFinishing(this.CellEditEventArgs); // If someone doesn't cancel the editing process, write the value back into the model if (!this.CellEditEventArgs.Cancel) { this.CellEditEventArgs.Column.PutValue(this.CellEditEventArgs.RowObject, this.CellEditEventArgs.NewValue); this.RefreshItem(this.CellEditEventArgs.ListViewItem); } this.CleanupCellEdit(expectingCellEdit, this.CellEditEventArgs.AutoDispose); }
0
24. Example
Project: MapViewer
Source File: ObjectListView.cs
Source File: ObjectListView.cs
public virtual void FinishCellEdit(bool expectingCellEdit) { if (!this.IsCellEditing) return; this.CellEditEventArgs.Cancel = false; this.CellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor); this.OnCellEditFinishing(this.CellEditEventArgs); // If someone doesn't cancel the editing process, write the value back into the model if (!this.CellEditEventArgs.Cancel) { this.CellEditEventArgs.Column.PutValue(this.CellEditEventArgs.RowObject, this.CellEditEventArgs.NewValue); this.RefreshItem(this.CellEditEventArgs.ListViewItem); } this.CleanupCellEdit(expectingCellEdit, this.CellEditEventArgs.AutoDispose); // Tell the world that the cell has been edited this.OnCellEditFinished(this.CellEditEventArgs); }