535 lines
34 KiB
C#
535 lines
34 KiB
C#
|
namespace Tetra_GW
|
|||
|
{
|
|||
|
partial class MainForm
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Required designer variable.
|
|||
|
/// </summary>
|
|||
|
private System.ComponentModel.IContainer components = null;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Clean up any resources being used.
|
|||
|
/// </summary>
|
|||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|||
|
protected override void Dispose(bool disposing)
|
|||
|
{
|
|||
|
if (disposing && (components != null))
|
|||
|
{
|
|||
|
components.Dispose();
|
|||
|
}
|
|||
|
base.Dispose(disposing);
|
|||
|
}
|
|||
|
|
|||
|
#region Windows Form Designer generated code
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Required method for Designer support - do not modify
|
|||
|
/// the contents of this method with the code editor.
|
|||
|
/// </summary>
|
|||
|
private void InitializeComponent()
|
|||
|
{
|
|||
|
this.components = new System.ComponentModel.Container();
|
|||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
|||
|
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
|||
|
this.lbPortName = new Telerik.WinControls.UI.RadLabel();
|
|||
|
this.lbStatusVAL = new Telerik.WinControls.UI.RadLabel();
|
|||
|
this.btConnect = new Telerik.WinControls.UI.RadButton();
|
|||
|
this.FindPortsWorker = new System.ComponentModel.BackgroundWorker();
|
|||
|
this.serialPort = new System.IO.Ports.SerialPort(this.components);
|
|||
|
this.breezeTheme1 = new Telerik.WinControls.Themes.BreezeTheme();
|
|||
|
this.radCBPorts = new Telerik.WinControls.UI.RadDropDownList();
|
|||
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|||
|
this.RestartTimer = new System.Windows.Forms.Timer(this.components);
|
|||
|
this.ckAutoconnect = new Telerik.WinControls.UI.RadCheckBox();
|
|||
|
this.telerikMetroBlueTheme2 = new Telerik.WinControls.Themes.TelerikMetroBlueTheme();
|
|||
|
this.lbUpdateVAL = new Telerik.WinControls.UI.RadLabel();
|
|||
|
this.lbUpdate = new Telerik.WinControls.UI.RadLabel();
|
|||
|
this.rcpSettings = new Telerik.WinControls.UI.RadCollapsiblePanel();
|
|||
|
this.panelAudioSettings = new Telerik.WinControls.UI.RadCollapsiblePanel();
|
|||
|
this.rbApplyAudioConfiguration = new Telerik.WinControls.UI.RadButton();
|
|||
|
this.pictureBox7 = new System.Windows.Forms.PictureBox();
|
|||
|
this.OutputSoundList = new Telerik.WinControls.UI.RadDropDownList();
|
|||
|
this.radLabel9 = new Telerik.WinControls.UI.RadLabel();
|
|||
|
this.pictureBox6 = new System.Windows.Forms.PictureBox();
|
|||
|
this.InputSoundList = new Telerik.WinControls.UI.RadDropDownList();
|
|||
|
this.radLabel8 = new Telerik.WinControls.UI.RadLabel();
|
|||
|
this.visualStudio2012LightTheme1 = new Telerik.WinControls.Themes.VisualStudio2012LightTheme();
|
|||
|
this.rlvEvents = new Telerik.WinControls.UI.RadListView();
|
|||
|
this.rpConnectionStatus = new Telerik.WinControls.UI.RadPanel();
|
|||
|
this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
|
|||
|
this.radPanel1 = new Telerik.WinControls.UI.RadPanel();
|
|||
|
this.tmoDMO = new System.Windows.Forms.Button();
|
|||
|
this.rebootRadio = new System.Windows.Forms.Button();
|
|||
|
this.radButton1 = new Telerik.WinControls.UI.RadButton();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.lbPortName)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.lbStatusVAL)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.btConnect)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.radCBPorts)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.ckAutoconnect)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.lbUpdateVAL)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.lbUpdate)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.rcpSettings)).BeginInit();
|
|||
|
this.rcpSettings.PanelContainer.SuspendLayout();
|
|||
|
this.rcpSettings.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.panelAudioSettings)).BeginInit();
|
|||
|
this.panelAudioSettings.PanelContainer.SuspendLayout();
|
|||
|
this.panelAudioSettings.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.rbApplyAudioConfiguration)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.OutputSoundList)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.radLabel9)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.InputSoundList)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.radLabel8)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.rlvEvents)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.rpConnectionStatus)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
|
|||
|
this.radPanel1.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.radButton1)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// notifyIcon1
|
|||
|
//
|
|||
|
this.notifyIcon1.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info;
|
|||
|
this.notifyIcon1.BalloonTipText = "Tetra gateway";
|
|||
|
this.notifyIcon1.BalloonTipTitle = "Gateway";
|
|||
|
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
|
|||
|
this.notifyIcon1.Text = "Tetra gateway";
|
|||
|
this.notifyIcon1.Visible = true;
|
|||
|
this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick);
|
|||
|
//
|
|||
|
// lbPortName
|
|||
|
//
|
|||
|
this.lbPortName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|||
|
this.lbPortName.ForeColor = System.Drawing.SystemColors.ActiveBorder;
|
|||
|
this.lbPortName.Location = new System.Drawing.Point(501, 59);
|
|||
|
this.lbPortName.Name = "lbPortName";
|
|||
|
this.lbPortName.Size = new System.Drawing.Size(58, 18);
|
|||
|
this.lbPortName.TabIndex = 0;
|
|||
|
this.lbPortName.Text = "Port name";
|
|||
|
//
|
|||
|
// lbStatusVAL
|
|||
|
//
|
|||
|
this.lbStatusVAL.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|||
|
this.lbStatusVAL.AutoSize = false;
|
|||
|
this.lbStatusVAL.ForeColor = System.Drawing.Color.Red;
|
|||
|
this.lbStatusVAL.Location = new System.Drawing.Point(376, 19);
|
|||
|
this.lbStatusVAL.Name = "lbStatusVAL";
|
|||
|
this.lbStatusVAL.Size = new System.Drawing.Size(181, 18);
|
|||
|
this.lbStatusVAL.TabIndex = 4;
|
|||
|
this.lbStatusVAL.Text = "Serial port closed";
|
|||
|
this.lbStatusVAL.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
|
|||
|
this.lbStatusVAL.ThemeName = "ControlDefault";
|
|||
|
//
|
|||
|
// btConnect
|
|||
|
//
|
|||
|
this.btConnect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|||
|
this.btConnect.Location = new System.Drawing.Point(376, 80);
|
|||
|
this.btConnect.Name = "btConnect";
|
|||
|
this.btConnect.Size = new System.Drawing.Size(183, 24);
|
|||
|
this.btConnect.TabIndex = 5;
|
|||
|
this.btConnect.Text = "Connect";
|
|||
|
this.btConnect.ThemeName = "TelerikMetroBlue";
|
|||
|
this.btConnect.Click += new System.EventHandler(this.btConnect_Click);
|
|||
|
//
|
|||
|
// FindPortsWorker
|
|||
|
//
|
|||
|
this.FindPortsWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.FindPortsWorker_DoWork);
|
|||
|
this.FindPortsWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.FindPortsWorker_RunWorkerCompleted);
|
|||
|
//
|
|||
|
// serialPort
|
|||
|
//
|
|||
|
this.serialPort.BaudRate = 38400;
|
|||
|
this.serialPort.ErrorReceived += new System.IO.Ports.SerialErrorReceivedEventHandler(this.serialPort_ErrorReceived);
|
|||
|
this.serialPort.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.serialPort_DataReceived);
|
|||
|
//
|
|||
|
// radCBPorts
|
|||
|
//
|
|||
|
this.radCBPorts.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|||
|
this.radCBPorts.DropDownAnimationEasing = Telerik.WinControls.RadEasingType.Linear;
|
|||
|
this.radCBPorts.DropDownAnimationFrames = 4;
|
|||
|
this.radCBPorts.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
|
|||
|
this.radCBPorts.Location = new System.Drawing.Point(376, 38);
|
|||
|
this.radCBPorts.Name = "radCBPorts";
|
|||
|
this.radCBPorts.Size = new System.Drawing.Size(183, 24);
|
|||
|
this.radCBPorts.TabIndex = 6;
|
|||
|
this.radCBPorts.ThemeName = "VisualStudio2012Light";
|
|||
|
this.radCBPorts.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.radCBPorts_SelectedIndexChanged);
|
|||
|
//
|
|||
|
// timer1
|
|||
|
//
|
|||
|
this.timer1.Interval = 3000;
|
|||
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
|||
|
//
|
|||
|
// RestartTimer
|
|||
|
//
|
|||
|
this.RestartTimer.Interval = 10800000;
|
|||
|
this.RestartTimer.Tick += new System.EventHandler(this.RestartTimer_Tick);
|
|||
|
//
|
|||
|
// ckAutoconnect
|
|||
|
//
|
|||
|
this.ckAutoconnect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|||
|
this.ckAutoconnect.Font = new System.Drawing.Font("Segoe UI", 8F);
|
|||
|
this.ckAutoconnect.Location = new System.Drawing.Point(376, 110);
|
|||
|
this.ckAutoconnect.Name = "ckAutoconnect";
|
|||
|
this.ckAutoconnect.Size = new System.Drawing.Size(183, 18);
|
|||
|
this.ckAutoconnect.TabIndex = 97;
|
|||
|
this.ckAutoconnect.Text = "Auto Connect at gateway startup";
|
|||
|
this.ckAutoconnect.ThemeName = "TelerikMetroBlue";
|
|||
|
this.ckAutoconnect.ToggleStateChanged += new Telerik.WinControls.UI.StateChangedEventHandler(this.ckAutoconnect_ToggleStateChanged);
|
|||
|
//
|
|||
|
// lbUpdateVAL
|
|||
|
//
|
|||
|
this.lbUpdateVAL.ForeColor = System.Drawing.SystemColors.ActiveBorder;
|
|||
|
this.lbUpdateVAL.Location = new System.Drawing.Point(144, 41);
|
|||
|
this.lbUpdateVAL.Name = "lbUpdateVAL";
|
|||
|
this.lbUpdateVAL.Size = new System.Drawing.Size(93, 18);
|
|||
|
this.lbUpdateVAL.TabIndex = 99;
|
|||
|
this.lbUpdateVAL.Text = "Serial port closed";
|
|||
|
this.lbUpdateVAL.ThemeName = "ControlDefault";
|
|||
|
//
|
|||
|
// lbUpdate
|
|||
|
//
|
|||
|
this.lbUpdate.ForeColor = System.Drawing.SystemColors.ActiveBorder;
|
|||
|
this.lbUpdate.Location = new System.Drawing.Point(13, 41);
|
|||
|
this.lbUpdate.Name = "lbUpdate";
|
|||
|
this.lbUpdate.Size = new System.Drawing.Size(129, 18);
|
|||
|
this.lbUpdate.TabIndex = 98;
|
|||
|
this.lbUpdate.Text = "last message received @";
|
|||
|
this.lbUpdate.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
|
|||
|
//
|
|||
|
// rcpSettings
|
|||
|
//
|
|||
|
this.rcpSettings.Dock = System.Windows.Forms.DockStyle.Right;
|
|||
|
this.rcpSettings.ExpandDirection = Telerik.WinControls.UI.RadDirection.Left;
|
|||
|
this.rcpSettings.HeaderText = "Settings";
|
|||
|
this.rcpSettings.Location = new System.Drawing.Point(578, 0);
|
|||
|
this.rcpSettings.Name = "rcpSettings";
|
|||
|
this.rcpSettings.OwnerBoundsCache = new System.Drawing.Rectangle(840, 0, 84, 559);
|
|||
|
//
|
|||
|
// rcpSettings.PanelContainer
|
|||
|
//
|
|||
|
this.rcpSettings.PanelContainer.Controls.Add(this.panelAudioSettings);
|
|||
|
this.rcpSettings.PanelContainer.Size = new System.Drawing.Size(313, 557);
|
|||
|
this.rcpSettings.Size = new System.Drawing.Size(346, 559);
|
|||
|
this.rcpSettings.TabIndex = 107;
|
|||
|
this.rcpSettings.Text = "radCollapsiblePanel1";
|
|||
|
this.rcpSettings.ThemeName = "VisualStudio2012Light";
|
|||
|
((Telerik.WinControls.UI.RadCollapsiblePanelElement)(this.rcpSettings.GetChildAt(0))).ExpandDirection = Telerik.WinControls.UI.RadDirection.Left;
|
|||
|
((Telerik.WinControls.UI.RadCollapsiblePanelElement)(this.rcpSettings.GetChildAt(0))).DrawBorder = false;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelHeaderElement)(this.rcpSettings.GetChildAt(0).GetChildAt(1))).ShowHeaderLine = true;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelHeaderElement)(this.rcpSettings.GetChildAt(0).GetChildAt(1))).Orientation = System.Windows.Forms.Orientation.Vertical;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelHeaderElement)(this.rcpSettings.GetChildAt(0).GetChildAt(1))).DrawBorder = false;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelHeaderElement)(this.rcpSettings.GetChildAt(0).GetChildAt(1))).BackColor = System.Drawing.SystemColors.InactiveBorder;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelHeaderElement)(this.rcpSettings.GetChildAt(0).GetChildAt(1))).Margin = new System.Windows.Forms.Padding(0, 15, 0, 0);
|
|||
|
//
|
|||
|
// panelAudioSettings
|
|||
|
//
|
|||
|
this.panelAudioSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|||
|
this.panelAudioSettings.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
|
|||
|
this.panelAudioSettings.HeaderText = "Audio Settings";
|
|||
|
this.panelAudioSettings.Location = new System.Drawing.Point(3, 7);
|
|||
|
this.panelAudioSettings.Name = "panelAudioSettings";
|
|||
|
//
|
|||
|
// panelAudioSettings.PanelContainer
|
|||
|
//
|
|||
|
this.panelAudioSettings.PanelContainer.Controls.Add(this.rbApplyAudioConfiguration);
|
|||
|
this.panelAudioSettings.PanelContainer.Controls.Add(this.pictureBox7);
|
|||
|
this.panelAudioSettings.PanelContainer.Controls.Add(this.OutputSoundList);
|
|||
|
this.panelAudioSettings.PanelContainer.Controls.Add(this.radLabel9);
|
|||
|
this.panelAudioSettings.PanelContainer.Controls.Add(this.pictureBox6);
|
|||
|
this.panelAudioSettings.PanelContainer.Controls.Add(this.InputSoundList);
|
|||
|
this.panelAudioSettings.PanelContainer.Controls.Add(this.radLabel8);
|
|||
|
this.panelAudioSettings.PanelContainer.Size = new System.Drawing.Size(304, 175);
|
|||
|
this.panelAudioSettings.ShowHeaderLine = false;
|
|||
|
this.panelAudioSettings.Size = new System.Drawing.Size(306, 205);
|
|||
|
this.panelAudioSettings.TabIndex = 3;
|
|||
|
this.panelAudioSettings.Tag = "audioSettings";
|
|||
|
this.panelAudioSettings.Text = "Audio Settings";
|
|||
|
this.panelAudioSettings.ThemeName = "TelerikMetroBlue";
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelHeaderElement)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1))).ShowHeaderLine = false;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelHeaderElement)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1))).VerticalHeaderAlignment = Telerik.WinControls.UI.RadVerticalAlignment.Top;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelHeaderElement)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1))).Image = null;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelButtonElement)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(0))).DrawFill = false;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelButtonElement)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(0))).DrawBorder = false;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelButtonElement)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(0))).BorderGradientStyle = Telerik.WinControls.GradientStyles.Solid;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelButtonElement)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(0))).BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelButtonElement)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(0))).Image = global::Tetra_GW.Properties.Resources.i_audio;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelButtonElement)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(0))).ImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelButtonElement)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(0))).ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelButtonElement)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(0))).EnableImageTransparency = false;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelButtonElement)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(0))).StretchHorizontally = false;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelTextElement)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Text = "Audio Settings";
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelTextElement)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Alignment = System.Drawing.ContentAlignment.TopLeft;
|
|||
|
((Telerik.WinControls.UI.CollapsiblePanelTextElement)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(1))).StretchHorizontally = false;
|
|||
|
((Telerik.WinControls.Primitives.LinePrimitive)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(2))).SweepAngle = 0;
|
|||
|
((Telerik.WinControls.Primitives.LinePrimitive)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(2))).FitToSizeMode = Telerik.WinControls.RadFitToSizeMode.FitToParentPadding;
|
|||
|
((Telerik.WinControls.Primitives.LinePrimitive)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(2))).BackColor = System.Drawing.Color.Transparent;
|
|||
|
((Telerik.WinControls.Primitives.LinePrimitive)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(2))).Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
|
|||
|
((Telerik.WinControls.Primitives.LinePrimitive)(this.panelAudioSettings.GetChildAt(0).GetChildAt(1).GetChildAt(2))).StretchVertically = false;
|
|||
|
//
|
|||
|
// rbApplyAudioConfiguration
|
|||
|
//
|
|||
|
this.rbApplyAudioConfiguration.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
|
|||
|
this.rbApplyAudioConfiguration.Location = new System.Drawing.Point(166, 139);
|
|||
|
this.rbApplyAudioConfiguration.Name = "rbApplyAudioConfiguration";
|
|||
|
this.rbApplyAudioConfiguration.Size = new System.Drawing.Size(135, 25);
|
|||
|
this.rbApplyAudioConfiguration.TabIndex = 113;
|
|||
|
this.rbApplyAudioConfiguration.Text = "Apply configuration";
|
|||
|
this.rbApplyAudioConfiguration.ThemeName = "TelerikMetroBlue";
|
|||
|
this.rbApplyAudioConfiguration.Click += new System.EventHandler(this.rbApplyAudioConfiguration_Click);
|
|||
|
//
|
|||
|
// pictureBox7
|
|||
|
//
|
|||
|
this.pictureBox7.Image = global::Tetra_GW.Properties.Resources.i_speaker;
|
|||
|
this.pictureBox7.Location = new System.Drawing.Point(5, 66);
|
|||
|
this.pictureBox7.Name = "pictureBox7";
|
|||
|
this.pictureBox7.Size = new System.Drawing.Size(20, 20);
|
|||
|
this.pictureBox7.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|||
|
this.pictureBox7.TabIndex = 13;
|
|||
|
this.pictureBox7.TabStop = false;
|
|||
|
//
|
|||
|
// OutputSoundList
|
|||
|
//
|
|||
|
this.OutputSoundList.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|||
|
this.OutputSoundList.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
|
|||
|
this.OutputSoundList.Font = new System.Drawing.Font("Segoe UI", 9F);
|
|||
|
this.OutputSoundList.Location = new System.Drawing.Point(5, 92);
|
|||
|
this.OutputSoundList.MaximumSize = new System.Drawing.Size(296, 21);
|
|||
|
this.OutputSoundList.Name = "OutputSoundList";
|
|||
|
//
|
|||
|
//
|
|||
|
//
|
|||
|
this.OutputSoundList.RootElement.MaxSize = new System.Drawing.Size(296, 21);
|
|||
|
this.OutputSoundList.Size = new System.Drawing.Size(296, 21);
|
|||
|
this.OutputSoundList.TabIndex = 12;
|
|||
|
this.OutputSoundList.ThemeName = "VisualStudio2012Light";
|
|||
|
//
|
|||
|
// radLabel9
|
|||
|
//
|
|||
|
this.radLabel9.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
|
|||
|
this.radLabel9.Location = new System.Drawing.Point(24, 68);
|
|||
|
this.radLabel9.Name = "radLabel9";
|
|||
|
this.radLabel9.Size = new System.Drawing.Size(202, 18);
|
|||
|
this.radLabel9.TabIndex = 11;
|
|||
|
this.radLabel9.Text = "Radio Speaker (output) plugged into";
|
|||
|
//
|
|||
|
// pictureBox6
|
|||
|
//
|
|||
|
this.pictureBox6.Image = global::Tetra_GW.Properties.Resources.i_mic;
|
|||
|
this.pictureBox6.Location = new System.Drawing.Point(5, 7);
|
|||
|
this.pictureBox6.Name = "pictureBox6";
|
|||
|
this.pictureBox6.Size = new System.Drawing.Size(20, 20);
|
|||
|
this.pictureBox6.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|||
|
this.pictureBox6.TabIndex = 8;
|
|||
|
this.pictureBox6.TabStop = false;
|
|||
|
//
|
|||
|
// InputSoundList
|
|||
|
//
|
|||
|
this.InputSoundList.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|||
|
this.InputSoundList.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
|
|||
|
this.InputSoundList.Location = new System.Drawing.Point(5, 33);
|
|||
|
this.InputSoundList.MaximumSize = new System.Drawing.Size(296, 21);
|
|||
|
this.InputSoundList.Name = "InputSoundList";
|
|||
|
//
|
|||
|
//
|
|||
|
//
|
|||
|
this.InputSoundList.RootElement.MaxSize = new System.Drawing.Size(296, 21);
|
|||
|
this.InputSoundList.Size = new System.Drawing.Size(296, 21);
|
|||
|
this.InputSoundList.TabIndex = 7;
|
|||
|
this.InputSoundList.ThemeName = "VisualStudio2012Light";
|
|||
|
//
|
|||
|
// radLabel8
|
|||
|
//
|
|||
|
this.radLabel8.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
|
|||
|
this.radLabel8.Location = new System.Drawing.Point(24, 9);
|
|||
|
this.radLabel8.Name = "radLabel8";
|
|||
|
this.radLabel8.Size = new System.Drawing.Size(216, 18);
|
|||
|
this.radLabel8.TabIndex = 6;
|
|||
|
this.radLabel8.Text = "Radio Microphone (input) plugged into";
|
|||
|
//
|
|||
|
// rlvEvents
|
|||
|
//
|
|||
|
this.rlvEvents.AllowArbitraryItemHeight = true;
|
|||
|
this.rlvEvents.AllowEdit = false;
|
|||
|
this.rlvEvents.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|||
|
| System.Windows.Forms.AnchorStyles.Left)
|
|||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|||
|
this.rlvEvents.Location = new System.Drawing.Point(12, 132);
|
|||
|
this.rlvEvents.Name = "rlvEvents";
|
|||
|
this.rlvEvents.Size = new System.Drawing.Size(552, 412);
|
|||
|
this.rlvEvents.TabIndex = 108;
|
|||
|
this.rlvEvents.ThemeName = "TelerikMetroBlue";
|
|||
|
//
|
|||
|
// rpConnectionStatus
|
|||
|
//
|
|||
|
this.rpConnectionStatus.BackColor = System.Drawing.Color.Green;
|
|||
|
this.rpConnectionStatus.ForeColor = System.Drawing.Color.White;
|
|||
|
this.rpConnectionStatus.Location = new System.Drawing.Point(159, 12);
|
|||
|
this.rpConnectionStatus.Margin = new System.Windows.Forms.Padding(0);
|
|||
|
this.rpConnectionStatus.Name = "rpConnectionStatus";
|
|||
|
this.rpConnectionStatus.Size = new System.Drawing.Size(91, 20);
|
|||
|
this.rpConnectionStatus.TabIndex = 109;
|
|||
|
this.rpConnectionStatus.Text = "Connected";
|
|||
|
this.rpConnectionStatus.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|||
|
((Telerik.WinControls.UI.RadPanelElement)(this.rpConnectionStatus.GetChildAt(0))).Text = "Connected";
|
|||
|
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rpConnectionStatus.GetChildAt(0).GetChildAt(1))).Width = 0F;
|
|||
|
//
|
|||
|
// radLabel1
|
|||
|
//
|
|||
|
this.radLabel1.Font = new System.Drawing.Font("Segoe UI", 15F, System.Drawing.FontStyle.Bold);
|
|||
|
this.radLabel1.Location = new System.Drawing.Point(12, 12);
|
|||
|
this.radLabel1.Name = "radLabel1";
|
|||
|
this.radLabel1.Size = new System.Drawing.Size(150, 31);
|
|||
|
this.radLabel1.TabIndex = 110;
|
|||
|
this.radLabel1.Text = "TETRA Gatway";
|
|||
|
//
|
|||
|
// radPanel1
|
|||
|
//
|
|||
|
this.radPanel1.Controls.Add(this.tmoDMO);
|
|||
|
this.radPanel1.Controls.Add(this.rebootRadio);
|
|||
|
this.radPanel1.Controls.Add(this.radButton1);
|
|||
|
this.radPanel1.Controls.Add(this.rpConnectionStatus);
|
|||
|
this.radPanel1.Controls.Add(this.radLabel1);
|
|||
|
this.radPanel1.Controls.Add(this.rlvEvents);
|
|||
|
this.radPanel1.Controls.Add(this.radCBPorts);
|
|||
|
this.radPanel1.Controls.Add(this.lbUpdateVAL);
|
|||
|
this.radPanel1.Controls.Add(this.lbPortName);
|
|||
|
this.radPanel1.Controls.Add(this.lbUpdate);
|
|||
|
this.radPanel1.Controls.Add(this.ckAutoconnect);
|
|||
|
this.radPanel1.Controls.Add(this.lbStatusVAL);
|
|||
|
this.radPanel1.Controls.Add(this.btConnect);
|
|||
|
this.radPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|||
|
this.radPanel1.Location = new System.Drawing.Point(0, 0);
|
|||
|
this.radPanel1.Name = "radPanel1";
|
|||
|
this.radPanel1.Size = new System.Drawing.Size(578, 559);
|
|||
|
this.radPanel1.TabIndex = 111;
|
|||
|
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radPanel1.GetChildAt(0).GetChildAt(1))).Visibility = Telerik.WinControls.ElementVisibility.Hidden;
|
|||
|
//
|
|||
|
// tmoDMO
|
|||
|
//
|
|||
|
this.tmoDMO.Location = new System.Drawing.Point(27, 93);
|
|||
|
this.tmoDMO.Name = "tmoDMO";
|
|||
|
this.tmoDMO.Size = new System.Drawing.Size(135, 23);
|
|||
|
this.tmoDMO.TabIndex = 117;
|
|||
|
this.tmoDMO.Text = "DMO / TMO";
|
|||
|
this.tmoDMO.UseVisualStyleBackColor = true;
|
|||
|
this.tmoDMO.Click += new System.EventHandler(this.tmoDMO_Click);
|
|||
|
//
|
|||
|
// rebootRadio
|
|||
|
//
|
|||
|
this.rebootRadio.Location = new System.Drawing.Point(189, 62);
|
|||
|
this.rebootRadio.Name = "rebootRadio";
|
|||
|
this.rebootRadio.Size = new System.Drawing.Size(143, 25);
|
|||
|
this.rebootRadio.TabIndex = 116;
|
|||
|
this.rebootRadio.Text = "Reboot Mobile Radio";
|
|||
|
this.rebootRadio.UseVisualStyleBackColor = true;
|
|||
|
this.rebootRadio.Click += new System.EventHandler(this.rebootRadio_Click);
|
|||
|
//
|
|||
|
// radButton1
|
|||
|
//
|
|||
|
this.radButton1.Location = new System.Drawing.Point(27, 62);
|
|||
|
this.radButton1.Name = "radButton1";
|
|||
|
this.radButton1.Size = new System.Drawing.Size(135, 25);
|
|||
|
this.radButton1.TabIndex = 114;
|
|||
|
this.radButton1.Text = "REG LIP";
|
|||
|
this.radButton1.ThemeName = "TelerikMetroBlue";
|
|||
|
this.radButton1.Click += new System.EventHandler(this.radButton1_Click);
|
|||
|
//
|
|||
|
// MainForm
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
|||
|
this.ClientSize = new System.Drawing.Size(924, 559);
|
|||
|
this.Controls.Add(this.radPanel1);
|
|||
|
this.Controls.Add(this.rcpSettings);
|
|||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|||
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|||
|
this.MaximizeBox = false;
|
|||
|
this.Name = "MainForm";
|
|||
|
//
|
|||
|
//
|
|||
|
//
|
|||
|
this.RootElement.ApplyShapeToControl = true;
|
|||
|
this.RootElement.MaxSize = new System.Drawing.Size(0, 0);
|
|||
|
this.Text = "Tetra gateway";
|
|||
|
this.ThemeName = "TelerikMetroBlue";
|
|||
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
|
|||
|
this.Load += new System.EventHandler(this.MainForm_Load);
|
|||
|
this.Shown += new System.EventHandler(this.MainForm_Shown);
|
|||
|
this.Resize += new System.EventHandler(this.MainForm_Resize);
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.lbPortName)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.lbStatusVAL)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.btConnect)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.radCBPorts)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.ckAutoconnect)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.lbUpdateVAL)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.lbUpdate)).EndInit();
|
|||
|
this.rcpSettings.PanelContainer.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.rcpSettings)).EndInit();
|
|||
|
this.rcpSettings.ResumeLayout(false);
|
|||
|
this.panelAudioSettings.PanelContainer.ResumeLayout(false);
|
|||
|
this.panelAudioSettings.PanelContainer.PerformLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.panelAudioSettings)).EndInit();
|
|||
|
this.panelAudioSettings.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.rbApplyAudioConfiguration)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.OutputSoundList)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.radLabel9)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.InputSoundList)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.radLabel8)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.rlvEvents)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.rpConnectionStatus)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
|
|||
|
this.radPanel1.ResumeLayout(false);
|
|||
|
this.radPanel1.PerformLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.radButton1)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
|||
|
this.ResumeLayout(false);
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private System.Windows.Forms.NotifyIcon notifyIcon1;
|
|||
|
private Telerik.WinControls.UI.RadLabel lbPortName;
|
|||
|
private Telerik.WinControls.UI.RadLabel lbStatusVAL;
|
|||
|
private Telerik.WinControls.UI.RadButton btConnect;
|
|||
|
private System.ComponentModel.BackgroundWorker FindPortsWorker;
|
|||
|
private volatile System.IO.Ports.SerialPort serialPort;
|
|||
|
private Telerik.WinControls.Themes.BreezeTheme breezeTheme1;
|
|||
|
private Telerik.WinControls.UI.RadDropDownList radCBPorts;
|
|||
|
private System.Windows.Forms.Timer timer1;
|
|||
|
private System.Windows.Forms.Timer RestartTimer;
|
|||
|
private Telerik.WinControls.UI.RadCheckBox ckAutoconnect;
|
|||
|
private Telerik.WinControls.Themes.TelerikMetroBlueTheme telerikMetroBlueTheme2;
|
|||
|
private Telerik.WinControls.UI.RadLabel lbUpdateVAL;
|
|||
|
private Telerik.WinControls.UI.RadLabel lbUpdate;
|
|||
|
private Telerik.WinControls.UI.RadCollapsiblePanel rcpSettings;
|
|||
|
private Telerik.WinControls.UI.RadCollapsiblePanel panelAudioSettings;
|
|||
|
private Telerik.WinControls.UI.RadButton rbApplyAudioConfiguration;
|
|||
|
private System.Windows.Forms.PictureBox pictureBox7;
|
|||
|
private Telerik.WinControls.UI.RadDropDownList OutputSoundList;
|
|||
|
private Telerik.WinControls.UI.RadLabel radLabel9;
|
|||
|
private System.Windows.Forms.PictureBox pictureBox6;
|
|||
|
private Telerik.WinControls.UI.RadDropDownList InputSoundList;
|
|||
|
private Telerik.WinControls.UI.RadLabel radLabel8;
|
|||
|
private Telerik.WinControls.Themes.VisualStudio2012LightTheme visualStudio2012LightTheme1;
|
|||
|
private Telerik.WinControls.UI.RadListView rlvEvents;
|
|||
|
private Telerik.WinControls.UI.RadPanel rpConnectionStatus;
|
|||
|
private Telerik.WinControls.UI.RadLabel radLabel1;
|
|||
|
private Telerik.WinControls.UI.RadPanel radPanel1;
|
|||
|
private Telerik.WinControls.UI.RadButton radButton1;
|
|||
|
private System.Windows.Forms.Button rebootRadio;
|
|||
|
private System.Windows.Forms.Button tmoDMO;
|
|||
|
}
|
|||
|
}
|
|||
|
|