From 31a9cd30ed0897311cbe0f90715c5c4822afc538 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E3=81=8F=E3=81=BE=E3=81=8B=E3=81=BF=E5=B7=A5=E6=88=BF?= Date: Sat, 5 Nov 2016 20:21:31 +0900 Subject: [PATCH] =?utf8?q?=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89=E3=83=A9?= =?utf8?q?=E3=82=A4=E3=83=B3=E5=BC=95=E6=95=B0=E3=81=AB=20-v=20=E3=81=BE?= =?utf8?q?=E3=81=9F=E3=81=AF=20-viewer=20=E3=81=8C=E6=8C=87=E5=AE=9A?= =?utf8?q?=E3=81=95=E3=82=8C=E3=81=9F=E3=82=89=E3=83=93=E3=83=A5=E3=82=A2?= =?utf8?q?=E3=83=BC=E3=83=A2=E3=83=BC=E3=83=89=E3=81=A8=E3=81=99=E3=82=8B?= =?utf8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- StrokeStyleT/StrokeStyleT.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/StrokeStyleT/StrokeStyleT.cs b/StrokeStyleT/StrokeStyleT.cs index c6d9bd4..de536cc 100644 --- a/StrokeStyleT/StrokeStyleT.cs +++ b/StrokeStyleT/StrokeStyleT.cs @@ -88,6 +88,19 @@ namespace SST { Debug.Assert( null != this.MainForm ); + #region " ビュアーモードかどうかを確認する。" + //---------------- + foreach( var arg in Environment.GetCommandLineArgs() ) + { + if( ( "-v" == arg.ToLower() ) || ( "-viewer" == arg.ToLower() ) ) + { + StrokeStyleT.ビュアーモードである = true; + break; + } + } + //---------------- + #endregion + SharpDX.Windows.RenderLoop.Run( this.MainForm, () => { // アプリケーションの状態に応じて処理分岐。 -- 2.11.0