private void AddEditSoundKeys_Load(object sender, EventArgs e)
        {
            if (SettingsForm.addingEditingLoadXMLFile)
            {
                settingsForm = Application.OpenForms[1] as SettingsForm;

                this.Text = "Add/edit keys and XML location";

                if (editIndex != -1)
                {
                    tbKeys.Text     = editSoundKeys[0];
                    tbLocation.Text = editSoundKeys[1];
                }
            }
            else
            {
                mainForm = Application.OpenForms[0] as SoundboardForm;

                labelLoc.Text += " (use a semi-colon (;) to seperate multiple locations)";

                if (editIndex != -1)
                {
                    tbKeys.Text     = editSoundKeys[0];
                    tbLocation.Text = editSoundKeys[1];
                }
            }
        }
Ejemplo n.º 2
0
 private void TTS_Load(object sender, EventArgs e)
 {
     mainForm = Application.OpenForms[0] as SoundboardForm;
 }
Ejemplo n.º 3
0
 private void EditBoardForm_Load(object sender, EventArgs e)
 {
     mainForm    = Application.OpenForms[0] as SoundboardForm;
     tbKeys.Text = editBoardKeys[0];
 }