namespace Catalyst_Launcher { using Microsoft.VisualBasic; using Microsoft.VisualBasic.CompilerServices; using System; using System.ComponentModel; using System.Diagnostics; using System.Drawing; using System.Runtime.CompilerServices; using System.Windows.Forms; [DesignerGenerated] public class download_worker : Form { [CompilerGenerated] private object _form1; private IContainer components; public download_worker() { base.Load += new EventHandler(this.Form2_Load); this.InitializeComponent(); } [DebuggerNonUserCode] protected override void Dispose(bool disposing) { try { if (disposing && (this.components != null)) { this.components.Dispose(); } } finally { base.Dispose(disposing); } } public static void downloader() { throw new NotImplementedException(); } public object downloader(object local, object filename, object download) { try { object[] arguments = new object[] { new Uri(Conversions.ToString(Operators.ConcatenateObject("http://www.Lugapha.com/patchdata/", filename))), RuntimeHelpers.GetObjectValue(filename) }; bool[] copyBack = new bool[] { false, true }; NewLateBinding.LateCall(download, null, "DownloadFileAsync", arguments, null, null, copyBack, true); if (copyBack[1]) { filename = RuntimeHelpers.GetObjectValue(arguments[1]); } } catch (Exception exception1) { ProjectData.SetProjectError(exception1); Exception exception = exception1; Interaction.MsgBox("The patch file is missing please contact \r\r'Catalyst Support Team'\rhttp://www.Lugapha.com/contact", MsgBoxStyle.ApplicationModal, null); ProjectData.ClearProjectError(); return false; } return true; } private void Form2_Load(object sender, EventArgs e) { } [DebuggerStepThrough] private void InitializeComponent() { this.SuspendLayout(); SizeF ef2 = new SizeF(8f, 16f); this.AutoScaleDimensions = ef2; this.AutoScaleMode = AutoScaleMode.Font; Size size2 = new Size(0x10b, 0xac); this.ClientSize = size2; this.Name = "download_worker"; this.Text = "Form2"; this.ResumeLayout(false); } private object form1 { get => this._form1 set { this._form1 = RuntimeHelpers.GetObjectValue(value); } } } }