Skip to content

Commit

Permalink
Update label2 attributes and display text
Browse files Browse the repository at this point in the history
Changed the location and size of label2 in the MainUI. Additionally, updated the display text to show the count of rows, miscellaneous count, and count of actual mods instead of just the row count.
  • Loading branch information
MistressPlague committed Dec 22, 2023
1 parent efdeaa9 commit 6ad17f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Easy Minecraft Modpacks/MainUI.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Easy Minecraft Modpacks/MainUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ private void dataGridView1_CellValueChanged(object sender, DataGridViewCellEvent
}
}
}

UpdateRows();
}
}

Expand Down Expand Up @@ -374,7 +376,7 @@ private void UpdateRows()
intyes++;
}

label2.Text = $"{dataGridView1.Rows.Count} ({intyes})";
label2.Text = $"{dataGridView1.Rows.Count} Rows, {dataGridView1.Rows.Count - intyes} Misc, {intyes} actual mods";

}

Expand Down

0 comments on commit 6ad17f3

Please sign in to comment.