private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { var d = new downloader { 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 LinkLabel1LinkClicked1(object sender, LinkLabelLinkClickedEventArgs e) { var d = new downloader { Url = MainForm.Website + "/getcontent.aspx?name=translations2&encoding=unicode", SaveLocation = Program.AppDataPath + @"XML\Translations.xml" }; d.ShowDialog(this); if (d.DialogResult == DialogResult.OK) { LocRm.Reset(); UISync.Execute(ReloadLanguages); } d.Dispose(); }
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { var d = new downloader { Url = MainForm.ContentSource + "Sources.zip", UnzipTo = Program.AppDataPath + @"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 downloader { 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(); }
private void LinkLabel1LinkClicked1(object sender, LinkLabelLinkClickedEventArgs e) { var d = new downloader { Url = MainForm.Website + "/getcontent.aspx?name=translations2&encoding=unicode", SaveLocation = Program.AppDataPath + @"XML\Translations.xml" }; d.ShowDialog(this); if (d.DialogResult == DialogResult.OK) { LocRm.Reset(); UISync.Execute(ReloadLanguages); } d.Dispose(); }
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { var d = new downloader { Url = MainForm.ContentSource + "/getcontent.aspx?name=sources2", SaveLocation = Program.AppDataPath + @"XML\Sources.xml" }; d.ShowDialog(this); if (d.DialogResult==DialogResult.OK) { MainForm.Sources = null; LoadSources(); } d.Dispose(); }