///////////////////////////////////////////////////////////////////////////////
    // Construction and Initializing methods                                     //
    ///////////////////////////////////////////////////////////////////////////////
    #region CONSTRUCTION

    /// <summary>
    /// Initializes a new instance of the FolderContentSlideImportDialog class.
    /// </summary>
    public FolderContentSlideImportDialog()
    {
      this.InitializeComponent();
      this.player = new AudioPlayer();
    }
Esempio n. 2
0
    ///////////////////////////////////////////////////////////////////////////////
    // Construction and Initializing methods                                     //
    ///////////////////////////////////////////////////////////////////////////////
    #region CONSTRUCTION

    /// <summary>
    /// Constructor.
    /// </summary>
    public AudioControl()
    {
      InitializeComponent();
      this.pathToCopyTo = "";
      this.audioFile = new AudioFile();
      this.audioFile.Loop = false;
      this.audioFile.ShouldPlay = true;
      this.audioFile.ShowOnClick = false;
      this.player = new AudioPlayer();
    }