/// <summary> /// sets the external movies player parameters. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void parametersButton_Click(object sender, EventArgs e) { ParameterForm parameters = new ParameterForm(); parameters.AddParameter("%filename%", "Will be replaced by currently selected media file"); parameters.AddParameter("%root%", "Will be replaced by root directory from currently selected media file"); if (parameters.ShowDialog(parametersButton) == DialogResult.OK) { parametersTextBox.Text += parameters.SelectedParameter; } }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void parametersButton_Click(object sender, EventArgs e) { ParameterForm parameters = new ParameterForm(); parameters.AddParameter("%filename%", "This will be replaced by the selected media file"); if (parameters.ShowDialog(parametersButton) == DialogResult.OK) { parametersTextBox.Text += parameters.SelectedParameter; } }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void parametersButton_Click(object sender, EventArgs e) { ParameterForm parameters = new ParameterForm(); parameters.AddParameter("%filename%", "This will be replaced by the selected media file"); if (parameters.ShowDialog(parametersButton) == DialogResult.OK) { parametersTextBox.Text += parameters.SelectedParameter; } }
/// <summary> /// sets the external movies player parameters. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void parametersButton_Click(object sender, EventArgs e) { ParameterForm parameters = new ParameterForm(); parameters.AddParameter("%filename%", "Will be replaced by currently selected media file"); parameters.AddParameter("%root%", "Will be replaced by root directory from currently selected media file"); if (parameters.ShowDialog(parametersButton) == DialogResult.OK) { parametersTextBox.Text += parameters.SelectedParameter; } }