-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some progressbar dialog fixes #2150
Some progressbar dialog fixes #2150
Conversation
…elled event , also made IsCancelled read only Note : this isn't a breaking change , only the read only properties might be breaking
/// Gets if the wrapped ProgressDialog is open. | ||
/// </summary> | ||
public bool IsOpen { get { return m_isopen; } } | ||
private bool m_isopen; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this change? IsOpen is already marked as obsolete, so this is not necessary...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i use IsOpen to check if the dialog is visible so i close it programmatically , so it filled vs with warnings of it being obsolete
/// <summary> | ||
/// This event is raised when the associated <see cref="ProgressDialog"/> was cancelled by the user. | ||
/// </summary> | ||
public event EventHandler Cancelled; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
;-) -> Canceled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typical Americanism. Everywhere else in the world it's cancelled (with double l).
http://grammarist.com/spelling/cancel/
Though, sticking with one convention is best. (and it seems MS prefers us english :))
i think this is how progressbar dialog should be , removed the obsolete from IsOpen property and made it read only , also added cancelled event