コード例 #1
0
 private void SetToDirty()
 {
     isDirty = true;
     if (null == PropertyPageSite)
     {
         PropertyPageSite = GetPropertyPageSite();
     }
     PropertyPageSite.OnStatusChange();
 }
コード例 #2
0
 private void valueChanged(object sender, EventArgs e)
 {
     if (propertyPageSite == null)
     {
         return;                                       // still loading
     }
     if (isDirty)
     {
         return;                      //already called
     }
     isDirty = true;
     propertyPageSite.OnStatusChange();
 }
コード例 #3
0
 private void CheckBoxShowTasksButton_CheckedChanged(object sender, EventArgs e)
 {
     isDirty = true; ppSite.OnStatusChange();
 }
コード例 #4
0
 private void textBox1_TextChanged(object sender, EventArgs e)
 {
     isDirty = true;
     propertyPageSite.OnStatusChange(); // this enables the apply button
 }