12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
-
- namespace Microsoft.Windows.Forms
- {
- public partial class Sprite
- {
- private bool m_AutoFeedback = false;
-
-
-
- public bool AutoFeedback
- {
- get
- {
- return this.m_AutoFeedback;
- }
- set
- {
- if (value != this.m_AutoFeedback)
- {
- this.m_AutoFeedback = value;
- }
- }
- }
- private IUIControl m_Owner;
-
-
-
- public IUIControl Owner
- {
- get
- {
- return this.m_Owner;
- }
- }
-
-
-
- public void Feedback()
- {
- this.Feedback(false);
- }
-
-
-
-
- public void Feedback(bool force)
- {
- if (this.m_Owner != null && (force || this.m_AutoFeedback))
- this.m_Owner.Invalidate();
- }
- }
- }
|