File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,5 +6,6 @@ Target framework .NET 4.5.1 using [MapleLib](https://github.com/haha01haha01/Map
6
6
- Select multiple cells, rows or columns
7
7
- Double click 'Properties' cells to view formatted data
8
8
- Read straight from WZ files and save as BIN to save disk space and load times
9
+ - Right click the save button to save all images into a folder
9
10
10
11
![ application screenshot] ( https://raw.githubusercontent.com/izarooni/WzVisualizer/master/WzVisualizer/Resources/screenshot1.png )
Original file line number Diff line number Diff line change @@ -585,8 +585,8 @@ private void BtnSave_Click(object sender, EventArgs ev) {
585
585
}
586
586
case MouseButtons . Right : {
587
587
var control = TabControlMain . SelectedTab . Controls [ 0 ] ;
588
- if ( control is DataGridView grid ) // no child tabs and contains 1 child Control (DataGridView)
589
- GridIOUtility . ExportGridImages ( grid , TabControlMain . SelectedTab . Text ) ;
588
+ if ( control is DataViewer dataViewer ) // no child tabs and contains 1 child Control (DataGridView)
589
+ GridIOUtility . ExportGridImages ( dataViewer . GridView , TabControlMain . SelectedTab . Text ) ;
590
590
else if ( control is TabControl tab ) { // contains child controls (e.g. Equips.Hairs, Equips.Faces)
591
591
control = tab . SelectedTab ; // The selected child Tab (e.g. Equips.Hairs)
592
592
GridIOUtility . ExportGridImages ( ( DataGridView ) control . Controls [ 0 ] , TabControlMain . SelectedTab . Text ) ; // The DataGridView contained in the TabPage control
You can’t perform that action at this time.
0 commit comments