diff --git a/SamaPager_Client/Form1.Designer.cs b/SamaPager_Client/Form1.Designer.cs index 7416325..673d3b4 100644 --- a/SamaPager_Client/Form1.Designer.cs +++ b/SamaPager_Client/Form1.Designer.cs @@ -73,6 +73,7 @@ resources.ApplyResources(this.cmdLst, "cmdLst"); this.cmdLst.Name = "cmdLst"; this.cmdLst.StateCommon.ComboBox.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Near; + this.cmdLst.SelectedIndexChanged += new System.EventHandler(this.cmdLst_SelectedIndexChanged); // // logLst // diff --git a/SamaPager_Client/Form1.cs b/SamaPager_Client/Form1.cs index 7cb6c19..0330084 100644 --- a/SamaPager_Client/Form1.cs +++ b/SamaPager_Client/Form1.cs @@ -60,5 +60,11 @@ namespace SamaPager_Client } } + + private void cmdLst_SelectedIndexChanged(object sender, EventArgs e) + { + logLst.Items.Add(pageClient.SendCommand(cmdLst.Text)); + cmdLst.Text = String.Empty; + } } } diff --git a/SamaPager_Client/Form1.resx b/SamaPager_Client/Form1.resx index c8d3fc3..6d106fc 100644 --- a/SamaPager_Client/Form1.resx +++ b/SamaPager_Client/Form1.resx @@ -264,6 +264,18 @@ Segoe UI, 9pt + + 220, 22 + + + Change destination address + + + 220, 22 + + + Restart UDP Client + 64, 20 @@ -342,18 +354,6 @@ 0 - - 220, 22 - - - Change destination address - - - 220, 22 - - - Restart UDP Client - 17, 17