Ejemplo n.º 1
0
 private void OnOperationComplete(OperationEventArgs e)
 {
     if (OperationComplete != null)
     {
         OperationComplete(this, e);
     }
 }
Ejemplo n.º 2
0
        private void downloadItem_OperationComplete(object sender, OperationEventArgs e)
        {
            IOperation operation = (IOperation)e.Item;

            if (chbAutoConvert.Enabled && chbAutoConvert.Checked && operation.Status == OperationStatus.Success)
            {
                string output = Path.Combine(Path.GetDirectoryName(operation.Output),
                                             Path.GetFileNameWithoutExtension(operation.Output)) + ".mp3";

                this.Convert(operation.Output, output, false);
            }
        }
Ejemplo n.º 3
0
        private void OnOperationComplete(OperationEventArgs e)
        {
            if (OperationComplete != null)
            {
                OperationComplete(this, e);
            }

            if (SettingsEx.AutoDelete == true)
            {
                File.Delete(Input);
            }
        }