示例#1
0
        private void btn_Ok_Click(object sender, EventArgs e)
        {
            List <SoundInfoDevice> devices = SoundHandler.getSoundInfo();

            ProgramAutoInfo.SelectBy selectby = (ProgramAutoInfo.SelectBy)(radio_ProcessPath.Checked ? 0 : 1);
            programAutoInfo = new ProgramAutoInfo(selectby, programInfo.Path, programInfo.name, devices[combo_Devices.SelectedIndex].ID, radio_ProgramStarts.Checked);
            this.Hide();
        }
示例#2
0
 public void AutoControlAdd(ProgramAutoInfo autoControl)
 {
     autoControls.Add(autoControl);
     Save();
 }