void OnToolBoxCrossButtonPressed(TileViewEditToolBox sender, EventArgs args) { if (this.editTile == null) { return; } this.editTile.AdjustedPosition = this.editTileOriginalPosition; this.editTile = null; this.keyTimer.Enabled = false; if (this.Toolbox != null) { this.Toolbox.Visible = false; } this.Redraw(); return; }
void OnToolBoxTickButtonPressed(TileViewEditToolBox sender, EventArgs args) { if (this.editTile == null) { return; } // The images have been moved so we need to work out the new extents of the whole image. this.ImageSize = new Size(MosaicWindow.MosaicInfo.TotalWidth, MosaicWindow.MosaicInfo.TotalHeight); this.editTile = null; this.keyTimer.Enabled = false; if (this.Toolbox != null) { this.Toolbox.Visible = false; } this.Redraw(); return; }
void OnToolBoxTickButtonPressed(TileViewEditToolBox sender, EventArgs args) { if (this.editTile == null) return; // The images have been moved so we need to work out the new extents of the whole image. this.ImageSize = new Size(MosaicWindow.MosaicInfo.TotalWidth, MosaicWindow.MosaicInfo.TotalHeight); this.editTile = null; this.keyTimer.Enabled = false; if (this.Toolbox != null) this.Toolbox.Visible = false; this.Redraw(); return; }
void OnToolBoxCrossButtonPressed(TileViewEditToolBox sender, EventArgs args) { if (this.editTile == null) return; this.editTile.AdjustedPosition = this.editTileOriginalPosition; this.editTile = null; this.keyTimer.Enabled = false; if (this.Toolbox != null) this.Toolbox.Visible = false; this.Redraw(); return; }