diff --git a/ShiftOS.WinForms/Applications/ShiftSweeper.cs b/ShiftOS.WinForms/Applications/ShiftSweeper.cs index cf6d331..72e9062 100644 --- a/ShiftOS.WinForms/Applications/ShiftSweeper.cs +++ b/ShiftOS.WinForms/Applications/ShiftSweeper.cs @@ -70,6 +70,12 @@ namespace ShiftOS.WinForms.Applications { {9, "9" } }; + Dictionary buttonImagess = new Dictionary(){ + {-2, Properties.Resources.SweeperTileFlag } + }; + + // Properties.Resources.SweeperTileBomb + const int QUESTIONED = -3; const int FLAGGED = -2; const int UNDISCOVERED = -1; @@ -145,7 +151,8 @@ namespace ShiftOS.WinForms.Applications { if (type == REMOVE) { } else { - tile.Text = buttonImages[type]; + tile.Text = buttonImages.ContainsKey(type) ? buttonImages[type] : ""; + tile.BackgroundImage = buttonImagess.ContainsKey(type) ? buttonImagess[type] : tile.BackgroundImage; tile.MouseDown += new MouseEventHandler(tile_ClickDown); tile.MouseUp += new MouseEventHandler(tile_Click); tile.FlatStyle = FlatStyle.Flat; diff --git a/ShiftOS.WinForms/SystemIcons/iconFormatEditor.png b/ShiftOS.WinForms/SystemIcons/iconFormatEditor.png new file mode 100644 index 0000000..21cdc77 Binary files /dev/null and b/ShiftOS.WinForms/SystemIcons/iconFormatEditor.png differ