/// <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;
            }
        }
예제 #2
0
        /// <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;
            }
        }
예제 #3
0
    /// <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;
      }
    }
예제 #4
0
 /// <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;
   }
 }