示例#1
0
        void OnDeleteComplete(string filename)
        {
            EventHandler <deleteCompleteEventArgs> temp = deleteComplete;

            if (temp != null)
            {
                deleteCompleteEventArgs e = new deleteCompleteEventArgs();
                e.filename = filename;
                context.Post(delegate(object state) { deleteComplete(this, e); }, null);
            }
        }
示例#2
0
 void ftpobject_deleteComplete(object sender, deleteCompleteEventArgs e)
 {
     statusBar.Text = e.filename + Environment.NewLine + statusBar.Text;
     refreshRemote();
 }