private void SetToDirty() { isDirty = true; if (null == PropertyPageSite) { PropertyPageSite = GetPropertyPageSite(); } PropertyPageSite.OnStatusChange(); }
private void valueChanged(object sender, EventArgs e) { if (propertyPageSite == null) { return; // still loading } if (isDirty) { return; //already called } isDirty = true; propertyPageSite.OnStatusChange(); }
private void CheckBoxShowTasksButton_CheckedChanged(object sender, EventArgs e) { isDirty = true; ppSite.OnStatusChange(); }
private void textBox1_TextChanged(object sender, EventArgs e) { isDirty = true; propertyPageSite.OnStatusChange(); // this enables the apply button }