Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
        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();
        }
Exemplo n.º 3
0
 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();
 }
Exemplo n.º 4
0
 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();
 }