public PackageDownloader(ref Form1 Method, ShowMessageDownloader mesD, MetroFramework.Controls.MetroProgressBar pb, Panel pan, Label labelInd, string FileName, string LinqFile) { FileNameDownload = FileName; LinqFileDownload = LinqFile; form1 = Method; swDownl = mesD; progressBar = pb; labelIndicator = labelInd; panelD = pan; }
public Form1() { InitializeComponent(); form1 = this; this.StyleManager = mSM; ds = messageBoxCaller; mSM.Style = MetroFramework.MetroColorStyle.Purple; mSM.Theme = MetroFramework.MetroThemeStyle.Dark; comboVersion.SelectedIndex = 0; MsgDwnldUpt = messageBoxCaller; messaged = messageBoxCaller; installer = new Installer(ref form1, messaged, progressProg); CheckUpdate = new CheckUpdates("EasyVysorPro", Application.ProductVersion, Constants.vysorServerDownload, MsgDwnldUpt, progressProg, notifyIcon1, panelUpdateDownloading, labelUpdate); }