Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep UI state. #148

Closed
wants to merge 2 commits into from
Closed

Keep UI state. #148

wants to merge 2 commits into from

Conversation

Lechros
Copy link

@Lechros Lechros commented Dec 21, 2020

Keeps UI state...
Default sizes are changed for better usability. (picture below)
image

{
MessageBox.Show("Invalid ui data!");
this.WindowState = FormWindowState.Normal;
this.Size = new Size(1200, 800); // = new Size(766, 520);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what will happen if screen size is small than that size?

}
catch(Exception ex)
{
MessageBox.Show("Invalid ui data!");
Copy link
Contributor

@KENNYSOFT KENNYSOFT Jan 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think anyone who newly executes this program (without any setting file) will see this message. It's meaningless in the first launch.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to remove it after testing... Fixed

@Lechros Lechros marked this pull request as ready for review April 27, 2021 06:59
@Lechros Lechros closed this Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants