You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.5 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ClientTest
{
/*
*AlarmSettingForm
*
*2010-10-30
*
*/
public partial class AlarmSettingForm : Form
{
public TextBox[] arrTextBox = new TextBox[16];
public string sMID;
private int nFormHeight;
/*
*AlarmSettingForm
*
*2010-10-30
*void
*void
*textbox
*/
public AlarmSettingForm()
{
InitializeComponent();
arrTextBox[0] = tbThresholdPLL;
arrTextBox[1] = tbThresholdPL;
arrTextBox[2] = tbThresholdPU;
arrTextBox[3] = tbThresholdPUU;
arrTextBox[4] = tbThresholdTLL;
arrTextBox[5] = tbThresholdTL;
arrTextBox[6] = tbThresholdTU;
arrTextBox[7] = tbThresholdTUU;
arrTextBox[8] = tbThresholdFLL;
arrTextBox[9] = tbThresholdFL;
arrTextBox[10] = tbThresholdFU;
arrTextBox[11] = tbThresholdFUU;
arrTextBox[12] = tbThresholdHLL;
arrTextBox[13] = tbThresholdHL;
arrTextBox[14] = tbThresholdHU;
arrTextBox[15] = tbThresholdHUU;
}
/*
*AlarmSettingForm_Load
*
*2010-10-30
*object sender , EventArgs e load
*void
*
*/
private void AlarmSettingForm_Load(object sender, EventArgs e)
{
nFormHeight = this.Height;
//this.Height = 120;
}
/*
*AlarmSettingForm_Shown
*
*2010-10-30
*object sender , EventArgs e
*void
*ID
*/
private void AlarmSettingForm_Shown(object sender, EventArgs e)
{
tbMID.Text = sMID;
}
}
}