-
Notifications
You must be signed in to change notification settings - Fork 0
/
Information.cs
57 lines (51 loc) · 1.91 KB
/
Information.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Globalization;
using System.Text;
using System.Windows.Forms;
namespace Respaldar_y_restaurar_partidas_de_juegos_flash
{
public partial class Information : Form
{
public Information()
{
InitializeComponent();
}
private void lang_comboBox_SelectedIndexChanged(object sender, EventArgs e)
{
string lang;
switch (lang_comboBox.SelectedIndex)
{
case 0:
lang = "es";
break;
case 1:
lang = "en";
break;
default:
lang = "es";
break;
}
Properties.Settings.Default.lang = lang;
Properties.Settings.Default.Save();
if (!System.Threading.Thread.CurrentThread.CurrentUICulture.Name.StartsWith(lang))
if (MessageBox.Show(Properties.Resources.PleaseRestart + "\n" + Properties.Resources.RestartNow, Properties.Resources.PleaseRestartTitle, MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes)
Application.Restart();
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("https://github.com/LuisAlfredo92");
}
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("https://github.com/LuisAlfredo92/Respaldar-y-restaurar-partidas-de-juegos-flash");
}
private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("https://youtu.be/2AaMD7HFx0k?t=84");
}
}
}