Beispiel #1
0
        public SwitchType(string _installPath, string _soundPath)
        {
            InitializeComponent();

            this.installPath = _installPath;
            this.soundPath   = _soundPath;

            ss = new SwitchSound(this.installPath, this.soundPath);
        }
Beispiel #2
0
 private void installSound_Click(object sender, EventArgs e)
 {
     if (!String.IsNullOrEmpty(tbPath.Text))
     {
         if (!Variable.switchingSound)
         {
             SwitchSound ss = new SwitchSound(installPath, tbPath.Text);
             ss.SwitchLobby();
         }
         else
         {
             MessageBox.Show("語音安裝進行中... 請稍後~");
         }
     }
     else
     {
         MessageBox.Show("請先選擇Sound資料夾", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }