From 44da46083e5f3779b5c84fbb663131999531109e Mon Sep 17 00:00:00 2001 From: szporowolik Date: Fri, 4 Oct 2019 14:48:29 +0200 Subject: [PATCH] Added command line support for srs and lotatc --- 02_Windows_App/Perun_v1/02_Forms/form_Main.cs | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/02_Windows_App/Perun_v1/02_Forms/form_Main.cs b/02_Windows_App/Perun_v1/02_Forms/form_Main.cs index fd9d4a5..8bca802 100644 --- a/02_Windows_App/Perun_v1/02_Forms/form_Main.cs +++ b/02_Windows_App/Perun_v1/02_Forms/form_Main.cs @@ -48,7 +48,24 @@ namespace Perun_v1 con_txt_dcs_instance.Text = args[2]; } } - + if (args.Length > 3) + { + // srs + if (args[3] != null) + { + con_txt_3rd_srs.Text = args[3]; + con_check_3rd_srs.Checked = true; + } + } + if (args.Length > 4) + { + // lotatc + if (args[4] != null) + { + con_txt_3rd_lotatc.Text = args[4]; + con_check_3rd_lotatc.Checked = true; + } + } } public form_Main()