public void method_1(Class321.Delegate9 delegate9_1) { Class321.Delegate9 @delegate = this.delegate9_0; Class321.Delegate9 delegate2; do { delegate2 = @delegate; Class321.Delegate9 value = (Class321.Delegate9)Delegate.Combine(delegate2, delegate9_1); @delegate = Interlocked.CompareExchange <Class321.Delegate9>(ref this.delegate9_0, value, delegate2); }while (@delegate != delegate2); }
private void UpdateSearchText(int percentComplete, string currentFile) { if (base.InvokeRequired) { Class321.Delegate9 method = new Class321.Delegate9(this.UpdateSearchText); base.Invoke(method, new object[] { percentComplete, currentFile }); return; } this.Text = string.Concat(new object[] { "Texture Explorer - LOOKING FOR TEXTURES - ", percentComplete, "% - (", currentFile, ")" }); }
private void UpdateSearchText(int percentComplete, string currentFile) { if (base.InvokeRequired) { Class321.Delegate9 method = new Class321.Delegate9(this.UpdateSearchText); base.Invoke(method, new object[] { percentComplete, currentFile }); return; } this.Text = string.Concat(new object[] { "Texture Explorer - LOOKING FOR TEXTURES - ", percentComplete, "% - (", currentFile, ")" }); }