OSDN Git Service
(root)
/
kancollesniffer
/
KancolleSniffer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bcbffd
)
DPIが100%でないと起動時にエラーになるのを直す
author
Kazuhiro Fujieda
<fujieda@users.osdn.me>
Fri, 19 Apr 2019 13:47:37 +0000
(22:47 +0900)
committer
Kazuhiro Fujieda
<fujieda@users.osdn.me>
Fri, 19 Apr 2019 13:47:37 +0000
(22:47 +0900)
KancolleSniffer/MainForm.cs
patch
|
blob
|
history
diff --git
a/KancolleSniffer/MainForm.cs
b/KancolleSniffer/MainForm.cs
index
742edc5
..
fdc75b6
100644
(file)
--- a/
KancolleSniffer/MainForm.cs
+++ b/
KancolleSniffer/MainForm.cs
@@
-358,6
+358,8
@@
namespace KancolleSniffer
\r
private void MainForm_Resize(object sender, EventArgs e)
\r
{
\r
+ if (_listForm == null) // DPIが100%でないときにInitializeComponentから呼ばれるので
\r
+ return;
\r
_listForm.WindowState = WindowState;
\r
_listForm.ShowInTaskbar = ShowInTaskbar = !(_config.HideOnMinimized && WindowState == FormWindowState.Minimized);
\r
}
\r