// todo: join with the solution and group by solution name in the tree private void ShowExistingWebResources() { try { ToggleControls(false); UpdateStatus("Loading web resources ..."); webresources.Nodes.Clear(); var rwrh = new RetrieveWebResourceHandler(BeginShowExistingWebResources); var callback = new AsyncCallback(EndShowExistingWebResources); rwrh.BeginInvoke(callback, rwrh); } catch (Exception ex) { Status.Update(""); Status.Update($"ERROR:\r\n{ex.BuildExceptionMessage()}"); ToggleControl(connect, true); // enable the connect button so the user can try connecting to a different org } }
// todo: join with the solution and group by solution name in the tree private void ShowExistingWebResources() { ToggleControls(false); UpdateStatus("Loading web resources..."); this.webresources.Nodes.Clear(); RetrieveWebResourceHandler rwrh = new RetrieveWebResourceHandler(BeginShowExistingWebResources); AsyncCallback callback = new AsyncCallback(EndShowExistingWebResources); rwrh.BeginInvoke(callback, rwrh); }