Exemplo n.º 1
0
        private void on_file_copying(repository.File_Copy_Event_Arg e)
        {
            progressBar1.Value = (int)e.Current_Position;
            label3.Text        = "cur: 复制文件: " + e.Origin_File_Name + " [" + e.Current_Position + " / " + e.File_Length + "]";

            call_doevents();
        }
Exemplo n.º 2
0
        private void on_file_copy_start(repository.File_Copy_Event_Arg e)
        {
            var lvi = new ListViewItem("复制文件: " + e.Origin_Full_File_Name + " -> " + e.Destination_Full_File_Name);

            progressBar1.Value   = 0;
            progressBar1.Maximum = (int)e.File_Length;
            //listView1.Items.Add(lvi);

            label3.Text = "cur: 复制文件: " + e.Origin_File_Name + " [0 / " + e.File_Length + "]";

            call_doevents();
        }