Esempio n. 1
0
        //Login succesfull
        void LoginSucces(string name)
        {
            NameTextBox.Enabled = false;
            PassTextBox.Enabled = false;

            SubmitButton.Visible = false;
            SwichButton.Visible  = false;

            DownloadPanel.Visible = true;
            r = new Chess.Resources(() => DownloadSucces(name), DownlaodError, (a) => DownloadChangesLabel.Invoke((MethodInvoker)(() => DownloadChangesLabel.Text = a + "...")));
            if (!r.AUpdate(FilteredName(name)))
            {
                ExitButton.PerformClick();
            }
        }
Esempio n. 2
0
 //Update button
 private void label4_Click(object sender, EventArgs e)
 {
     System.Diagnostics.Process.Start("http://donixdev.esy.es/chess/index.php");
     ExitButton.PerformClick();
 }
Esempio n. 3
0
 //Downlaod failed
 public void DownlaodError(string error)
 {
     MessageBox.Show("Hiba történt a letöltéskor! Próbáld újra." + Environment.NewLine + error);
     ExitButton.PerformClick();
 }