@@ -76,19 +76,24 @@ private void clearItems(ClearMode mode)
7676 }
7777 if ( mode == ClearMode . All )
7878 {
79+ ShowStatusMessage ( string . Format ( "Cleared {0} items" , pics . Count ) ) ;
7980 pics . Clear ( ) ;
8081 PicGoto ( 0 ) ;
8182 }
8283 else if ( mode == ClearMode . Left && ( iCurrentPic > 0 || keepCur == 0 ) )
8384 {
85+ int oldCount = pics . Count ;
8486 pics . RemoveRange ( 0 , keepCur > 0 ? iCurrentPic : iCurrentPic + 1 ) ;
8587 PicGoto ( 0 ) ;
88+ ShowStatusMessage ( string . Format ( "Cleared {0} item(s)" , oldCount - pics . Count ) ) ;
8689 }
8790 else if ( mode == ClearMode . Right && ( pics . Count - ( iCurrentPic + 1 ) ) > 0 )
8891 {
92+ int oldCount = pics . Count ;
8993 // todo: keepCur support.
9094 pics . RemoveRange ( iCurrentPic + 1 , pics . Count - ( iCurrentPic + 1 ) ) ;
9195 PicGoto ( iCurrentPic - 1 ) ; // for refresh the title
96+ ShowStatusMessage ( string . Format ( "Cleared {0} item(s)" , oldCount - pics . Count ) ) ;
9297 }
9398 else if ( mode == ClearMode . Current )
9499 {
@@ -904,6 +909,8 @@ private void movePicsToCustomFolder(string folder, int[] picsIndexs)
904909 // todo, test the ui, check and cut too many lines.
905910 MessageBox . Show ( "Error copying/moving file(s): \n \n " + errors , "File(s) Error" , MessageBoxButtons . OK , MessageBoxIcon . Error ) ;
906911 }
912+ if ( droppedIndex . Count > 1 )
913+ ShowStatusMessage ( string . Format ( "Processed {0} files" , droppedIndex . Count ) ) ;
907914 }
908915
909916 private void frmMain_KeyDown ( object sender , KeyEventArgs e )
0 commit comments