Exemplo n.º 1
0
 void PythonProjectNode_OnProjectPropertyChanged(object sender, ProjectPropertyChangedArgs e)
 {
     if (e.PropertyName == CommonConstants.StartupFile)
     {
         if (this.PropertyPage != null && this.PropertyPage.Control != null)
         {
             var ctrl = (PythonGeneralyPropertyPageControl)this.PropertyPage.Control;
             ctrl.StartupFile = e.NewValue;
         }
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Whenever project property has changed - refresh project hierarachy.
 /// </summary>
 private void CommonProjectNode_OnProjectPropertyChanged(object sender, ProjectPropertyChangedArgs e)
 {
     if (e.PropertyName == CommonConstants.StartupFile)
     {
         // just update the old and new items...
         RefreshStartupFile(this, MakeAbsolutePath(e.OldValue), MakeAbsolutePath(e.NewValue));
     }
     else
     {
         RefreshHierarchy();
     }
 }
Exemplo n.º 3
0
 private void OnProjectPropertyChanged(object sender, ProjectPropertyChangedArgs args)
 {
     // In theory here we should decide if we have to invalidate the group according with the kind of property
     // that is changed.
     InvalidateGroup();
 }