コード例 #1
0
ファイル: Client.cs プロジェクト: weArkBriceCanteneur/Grevit
 // Invokable method to set received component collections to the static component collection
 private void AddComponents(Grevit.Types.ComponentCollection componentCollection)
 {
     if (this.debugTextBox.InvokeRequired)
     {
         SetComponentsCallback d = new SetComponentsCallback(AddComponents);
         this.Invoke(d, new object[] { componentCollection });
     }
     else
     {
         this.componentCollection = componentCollection;
     }
 }
コード例 #2
0
ファイル: Client.cs プロジェクト: samuto/Grevit
 // Invokable method to set received component collections to the static component collection
 private void AddComponents(Grevit.Types.ComponentCollection componentCollection)
 {
     if (this.debugTextBox.InvokeRequired)
     {
         SetComponentsCallback d = new SetComponentsCallback(AddComponents);
         this.Invoke(d, new object[] { componentCollection });
     }
     else
     {
         this.componentCollection = componentCollection;
     }
 }