Example #1
0
 public ImeiChanger()
 {
     if (Process.GetProcessesByName(Process.GetCurrentProcess().ProcessName).Length > 1)
     {
         MetroMessageBox.Show(this, "You can only have one instance of the toolkit running at a time!", "Why would you ever need more than one open I mean seriously wtf.", MessageBoxButtons.OK, MessageBoxIcon.Error);
         Close();
     }
     splash = new Thread(new ThreadStart(SplashThread));
     splash.Start();
     InitializeComponent();
     xiaomi = XiaomiController.Instance;
     kenzo.SetOutputToDefaultAudioDevice();
     kenzo.SelectVoiceByHints(VoiceGender.Female, VoiceAge.Adult);
 }