Commit graph

15 commits

Author SHA1 Message Date
Andrew DeLisa
bc0b7b70ba WinForms cleanup, fix #38 (#39)
* fix spelling of "CreateIslndForm"

* sync up values of MinimizeBox, MaximizeBox, ShowInTaskbar, FormBorderStyle, and StartPosition properties on forms

* enable menu items after creating a new project

* improve form names

* add some clarity to warning/question MessageBox.Show text

* invert if statement to reduce nesting and change OKCancel to YesNo
2019-01-07 14:24:32 -05:00
GrapeshotGames
72e12a87c3 Merge branch 'master' of https://github.com/GrapeshotGames/ServerGridEditor 2019-01-02 17:31:31 -05:00
GrapeshotGames
019c4903ca Minor save dialog settings initial path fix.
Stopped doing a copy for watertile picking. Just use image in that path already.
Added same poorly named water tile again with .png at end. Should replace one day. Set this on all examples
2019-01-02 17:30:24 -05:00
Andrew DeLisa
8322467eeb set AcceptButton and CancelButton for forms that have those controls (#29) 2019-01-02 16:51:55 -05:00
Andrew DeLisa
c8c4c54884 add menu item that checks for invalid ship paths and removes them from the current project (#28) 2019-01-02 16:36:22 -05:00
GrapeshotGames
1db4ee1af8 Always set mapImageURL on editing 2019-01-02 16:34:03 -05:00
wartech0
376c3870cd Fixed water tile picker system (#27)
* Added default values to Redis DB config

* Fixed water tile dialog picking water tiles works correctly, File.Copy(string, string, bool) 2nd argument cannot be a directory it has to be a file within a directory
2019-01-02 16:23:30 -05:00
Andrew DeLisa
37d9e2c930 Fix NullReferenceException, guard against DirectoryNotFoundException (#26)
* disable "Test All Servers Without Data Clear" by default

* set various controls Enabled property to be conditional on project presence (paving the way for a "File > Close")

* prevent unexpected case where test command is enabled despite no project being loaded

* guard against DirectoryNotFoundException, log it as a MessageBox

* set enabled to true if, only if, and when project is loaded successfully (avoids performance hit of changing Enabled on paint)

* "true" is shorter than "enabled"...
2019-01-02 16:19:05 -05:00
Andrew DeLisa
56ffa20d3f fix missing space in button label (#19) 2018-12-29 05:37:16 +00:00
wartech0
aa84e644e5 Added default values to Redis DB config (#17) 2018-12-29 04:08:08 +00:00
Paul McDowell
00bd8e6c58 Tab index fixes by rezalas
* Update README.md

Added more detailed server configuration info for using ServerGridEditor to clear up some of the issues.

* Fixed tab indexes for the 'Create Project' form so that all fields flow in a predictable order. Previously tabbing through DB Entries would jump around the form unpredictably after the 3rd row.

* Reverted binary and *.user file

* Thanks for the help! We are trying to move this to the wiki currently and fill out little more instructions this week.
2018-12-26 23:49:24 +00:00
GrapeshotGames
06a78b5e34 Minor changes to Export options to make it slightly more clear. 2018-12-26 18:09:28 -05:00
GrapeshotGames
95e6096844 Removed some of the old export png options. 2018-12-26 17:27:53 -05:00
GrapeshotGames
ffea9dfb7e Updated example with lawless servers used on officials and minor fix for externals 2018-12-24 00:50:48 -05:00
GrapeshotGames
a172b4ab3b Initial commit 2018-12-22 10:02:57 -05:00