private void LinkLabel1LinkClicked1(object sender, LinkLabelLinkClickedEventArgs e) { var d = new DownloaderForm { Url = MainForm.Website + "/getcontent.aspx?name=translations", SaveLocation = Program.AppDataPath + @"XML\Translations.xml" }; d.ShowDialog(this); if (d.DialogResult == DialogResult.OK) { LocRm.TranslationsList = null; UISync.Execute(ReloadLanguages); } d.Dispose(); }
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { var d = new DownloaderForm { Url = MainForm.Website + "/getcontent.aspx?name=sources", SaveLocation = Program.AppDataPath + @"XML\Sources.xml" }; d.ShowDialog(this); if (d.DialogResult == DialogResult.OK) { MainForm.Sources = null; LoadSources(); } d.Dispose(); }
private void LinkLabel6LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { var d = new DownloaderForm { Url = MainForm.Website + "/getcontent.aspx?name=PTZ2", SaveLocation = Program.AppDataPath + @"XML\PTZ2.xml" }; d.ShowDialog(this); if (d.DialogResult == DialogResult.OK) { MainForm.PTZs = null; LoadPTZs(); } d.Dispose(); }