867 lines
29 KiB
C#
867 lines
29 KiB
C#
|
|
using System;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using System.ComponentModel;
|
||
|
|
using System.Drawing;
|
||
|
|
using System.Threading;
|
||
|
|
using System.Windows.Forms;
|
||
|
|
|
||
|
|
namespace LP;
|
||
|
|
|
||
|
|
public class Form_GJSZ_PuTongJiSuan : Form
|
||
|
|
{
|
||
|
|
private delegate void delegateFormHide(Form form);
|
||
|
|
|
||
|
|
private delegate void dltFormSetVisiable(Form form, bool value);
|
||
|
|
|
||
|
|
private delegate void delegateFormSetTitle(Form form, string value);
|
||
|
|
|
||
|
|
private delegate void delegateComboBoxItemsClear(ComboBox comboBox);
|
||
|
|
|
||
|
|
private delegate void delegateComboBoxAdd(ComboBox comboBox, string value);
|
||
|
|
|
||
|
|
private delegate void delegateComboBoxSetSelectedIndex(ComboBox comboBox, int value);
|
||
|
|
|
||
|
|
private delegate void delegateListBoxItemsClear(ListBox listBox);
|
||
|
|
|
||
|
|
private delegate void delegateListBoxAdd(ListBox listBox, string value);
|
||
|
|
|
||
|
|
private delegate void delegateListBoxSelectedIndex(ListBox listBox, int value);
|
||
|
|
|
||
|
|
private delegate void delegateTextBoxSetText(TextBox textBox, string value);
|
||
|
|
|
||
|
|
private delegate void delegateButtonEnabled(Button button, bool value);
|
||
|
|
|
||
|
|
private delegate void delegateCheckBoxCheckState(CheckBox checkBox, CheckState value);
|
||
|
|
|
||
|
|
public FormDesktop desktop = null;
|
||
|
|
|
||
|
|
private bool mAfterInit = false;
|
||
|
|
|
||
|
|
public string mTitle = "";
|
||
|
|
|
||
|
|
public List<ComboBox> mComboBoxes = null;
|
||
|
|
|
||
|
|
public TaskData mTaskData_GJSZ = null;
|
||
|
|
|
||
|
|
public int mIndex_HaiBaXiuZheng = -1;
|
||
|
|
|
||
|
|
public int mHaiBaXiuZheng = 0;
|
||
|
|
|
||
|
|
public int mIndex_GanYingDianYaGongShi = -1;
|
||
|
|
|
||
|
|
public string mGanYingDianYaGongShi = "";
|
||
|
|
|
||
|
|
public int mIndex_CurrentCurve = -1;
|
||
|
|
|
||
|
|
public int mCurrentCurve = 0;
|
||
|
|
|
||
|
|
public double mCurveTimeHeadMin = -1.0;
|
||
|
|
|
||
|
|
public double mCurveTimeTailMin = -1.0;
|
||
|
|
|
||
|
|
public double mCurveTimeHeadMax = -1.0;
|
||
|
|
|
||
|
|
public double mCurveTimeTailMax = -1.0;
|
||
|
|
|
||
|
|
public double mCurveTimeHeadStep = -1.0;
|
||
|
|
|
||
|
|
public double mCurveTimeTailStep = -1.0;
|
||
|
|
|
||
|
|
public double mTongDaoZuKang = -1.0;
|
||
|
|
|
||
|
|
public int mIndex_ShanLuoPanJu = -1;
|
||
|
|
|
||
|
|
public string mShanLuoPanJu = "";
|
||
|
|
|
||
|
|
private int mParentCode = 0;
|
||
|
|
|
||
|
|
public int mSelected_DuoXiangNaiLeiShuiPing = 0;
|
||
|
|
|
||
|
|
private IContainer components = null;
|
||
|
|
|
||
|
|
private ComboBox comboBox_HaiBaXiuZheng;
|
||
|
|
|
||
|
|
private Label label4;
|
||
|
|
|
||
|
|
private Label label1;
|
||
|
|
|
||
|
|
private ComboBox comboBox_GanYingDianYaGongShi;
|
||
|
|
|
||
|
|
private Label label2;
|
||
|
|
|
||
|
|
private ComboBox comboBox_CurrentCurve;
|
||
|
|
|
||
|
|
private Label label3;
|
||
|
|
|
||
|
|
private TextBox textBox_CurveTimeHeadMin;
|
||
|
|
|
||
|
|
private Label label5;
|
||
|
|
|
||
|
|
private TextBox textBox_CurveTimeTailMin;
|
||
|
|
|
||
|
|
private Label label6;
|
||
|
|
|
||
|
|
private TextBox textBox_TongDaoZuKang;
|
||
|
|
|
||
|
|
private Label label7;
|
||
|
|
|
||
|
|
private ComboBox comboBox_ShanLuoPanJu;
|
||
|
|
|
||
|
|
private Button buttonCancel;
|
||
|
|
|
||
|
|
private Button buttonOK;
|
||
|
|
|
||
|
|
private Label label8;
|
||
|
|
|
||
|
|
private Label label9;
|
||
|
|
|
||
|
|
private TextBox textBox_CurveTimeHeadMax;
|
||
|
|
|
||
|
|
private TextBox textBox_CurveTimeTailMax;
|
||
|
|
|
||
|
|
private Label label10;
|
||
|
|
|
||
|
|
private TextBox textBox_CurveTimeHeadStep;
|
||
|
|
|
||
|
|
private Label label11;
|
||
|
|
|
||
|
|
private TextBox textBox_CurveTimeTailStep;
|
||
|
|
|
||
|
|
public Form_GJSZ_PuTongJiSuan()
|
||
|
|
{
|
||
|
|
InitializeComponent();
|
||
|
|
mTitle = "高级设置";
|
||
|
|
if (mComboBoxes == null)
|
||
|
|
{
|
||
|
|
mComboBoxes = new List<ComboBox>();
|
||
|
|
}
|
||
|
|
mComboBoxes.Clear();
|
||
|
|
mComboBoxes.Add(comboBox_HaiBaXiuZheng);
|
||
|
|
mComboBoxes.Add(comboBox_GanYingDianYaGongShi);
|
||
|
|
mComboBoxes.Add(comboBox_CurrentCurve);
|
||
|
|
mComboBoxes.Add(comboBox_ShanLuoPanJu);
|
||
|
|
if (mTaskData_GJSZ == null)
|
||
|
|
{
|
||
|
|
mTaskData_GJSZ = new TaskData();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void Form_GJSZ_PuTongJiSuan_Load(object sender, EventArgs e)
|
||
|
|
{
|
||
|
|
mAfterInit = false;
|
||
|
|
MyFormSetTitle(this, "");
|
||
|
|
mIndex_ShanLuoPanJu = 1;
|
||
|
|
mTongDaoZuKang = 5.0;
|
||
|
|
MyInput_TaskData();
|
||
|
|
MyInput_ComboBox();
|
||
|
|
if (mParentCode != 1 && mParentCode != 2)
|
||
|
|
{
|
||
|
|
MyLog.AddLog($"() invalid state: mParentCode={mParentCode}");
|
||
|
|
}
|
||
|
|
textBox_TongDaoZuKang.Visible = false;
|
||
|
|
mAfterInit = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
private void Form_GJSZ_PuTongJiSuan_FormClosing(object sender, FormClosingEventArgs e)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
public void MyInput_TaskData()
|
||
|
|
{
|
||
|
|
if (mParentCode == 1)
|
||
|
|
{
|
||
|
|
mTaskData_GJSZ.copyFrom_TaskData(desktop.mDlg_PuTongJiSuan.mTaskData);
|
||
|
|
}
|
||
|
|
else if (mParentCode == 2)
|
||
|
|
{
|
||
|
|
mTaskData_GJSZ.copyFrom_TaskData(desktop.mDlg_TongTiaoJiSuan.mTaskData);
|
||
|
|
}
|
||
|
|
mCurveTimeHeadMin = (mTaskData_GJSZ.mCurveTimeHead_min = 2.6);
|
||
|
|
mCurveTimeHeadMax = (mTaskData_GJSZ.mCurveTimeHead_max = 2.6);
|
||
|
|
mCurveTimeHeadStep = mTaskData_GJSZ.mCurveTimeHead_step;
|
||
|
|
mCurveTimeTailMin = (mTaskData_GJSZ.mCurveTimeTail_min = 50.0);
|
||
|
|
mCurveTimeTailMax = (mTaskData_GJSZ.mCurveTimeTail_max = 50.0);
|
||
|
|
mCurveTimeTailStep = mTaskData_GJSZ.mCurveTimeTail_step;
|
||
|
|
mSelected_DuoXiangNaiLeiShuiPing = mTaskData_GJSZ.mIndex_DuoXiangNaiLeiShuiPing;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void MyOutput_TaskData()
|
||
|
|
{
|
||
|
|
if (mParentCode == 1)
|
||
|
|
{
|
||
|
|
desktop.mDlg_PuTongJiSuan.mTaskData.copyFrom_TaskData(mTaskData_GJSZ);
|
||
|
|
}
|
||
|
|
else if (mParentCode == 2)
|
||
|
|
{
|
||
|
|
desktop.mDlg_TongTiaoJiSuan.mTaskData.copyFrom_TaskData(mTaskData_GJSZ);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public void MyInput_ComboBox()
|
||
|
|
{
|
||
|
|
MyComboBoxItemsClear(comboBox_HaiBaXiuZheng);
|
||
|
|
MyComboBoxAdd(comboBox_HaiBaXiuZheng, "无");
|
||
|
|
MyComboBoxAdd(comboBox_HaiBaXiuZheng, "推荐公式1");
|
||
|
|
MyComboBoxAdd(comboBox_HaiBaXiuZheng, "推荐公式2");
|
||
|
|
if (mIndex_HaiBaXiuZheng < 0)
|
||
|
|
{
|
||
|
|
mIndex_HaiBaXiuZheng = 0;
|
||
|
|
}
|
||
|
|
if (mIndex_HaiBaXiuZheng >= 0 && mIndex_HaiBaXiuZheng < comboBox_HaiBaXiuZheng.Items.Count)
|
||
|
|
{
|
||
|
|
MyComboBoxSetSelectedIndex(comboBox_HaiBaXiuZheng, mIndex_HaiBaXiuZheng);
|
||
|
|
mHaiBaXiuZheng = comboBox_HaiBaXiuZheng.SelectedIndex;
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
mHaiBaXiuZheng = 0;
|
||
|
|
}
|
||
|
|
MyComboBoxItemsClear(comboBox_GanYingDianYaGongShi);
|
||
|
|
MyComboBoxAdd(comboBox_GanYingDianYaGongShi, "公式1");
|
||
|
|
MyComboBoxAdd(comboBox_GanYingDianYaGongShi, "公式2");
|
||
|
|
if (mIndex_GanYingDianYaGongShi < 0)
|
||
|
|
{
|
||
|
|
mIndex_GanYingDianYaGongShi = 0;
|
||
|
|
}
|
||
|
|
if (mIndex_GanYingDianYaGongShi >= 0 && mIndex_GanYingDianYaGongShi < comboBox_GanYingDianYaGongShi.Items.Count)
|
||
|
|
{
|
||
|
|
MyComboBoxSetSelectedIndex(comboBox_GanYingDianYaGongShi, mIndex_GanYingDianYaGongShi);
|
||
|
|
mGanYingDianYaGongShi = comboBox_GanYingDianYaGongShi.SelectedItem.ToString().Trim();
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
mGanYingDianYaGongShi = "";
|
||
|
|
}
|
||
|
|
MyComboBoxItemsClear(comboBox_CurrentCurve);
|
||
|
|
MyComboBoxAdd(comboBox_CurrentCurve, "Heidler");
|
||
|
|
MyComboBoxAdd(comboBox_CurrentCurve, "双斜角");
|
||
|
|
MyComboBoxAdd(comboBox_CurrentCurve, "双指数");
|
||
|
|
if (mIndex_CurrentCurve < 0)
|
||
|
|
{
|
||
|
|
mIndex_CurrentCurve = 0;
|
||
|
|
}
|
||
|
|
if (mIndex_CurrentCurve >= 0 && mIndex_CurrentCurve < comboBox_CurrentCurve.Items.Count)
|
||
|
|
{
|
||
|
|
MyComboBoxSetSelectedIndex(comboBox_CurrentCurve, mIndex_CurrentCurve);
|
||
|
|
mCurrentCurve = comboBox_CurrentCurve.SelectedIndex + 1;
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
mCurrentCurve = 0;
|
||
|
|
}
|
||
|
|
MyComboBoxItemsClear(comboBox_ShanLuoPanJu);
|
||
|
|
MyComboBoxAdd(comboBox_ShanLuoPanJu, "规程法");
|
||
|
|
MyComboBoxAdd(comboBox_ShanLuoPanJu, "相交法");
|
||
|
|
MyComboBoxAdd(comboBox_ShanLuoPanJu, "先导发展法");
|
||
|
|
if (mIndex_ShanLuoPanJu < 0)
|
||
|
|
{
|
||
|
|
mIndex_ShanLuoPanJu = 0;
|
||
|
|
}
|
||
|
|
if (mIndex_ShanLuoPanJu >= 0 && mIndex_ShanLuoPanJu < comboBox_ShanLuoPanJu.Items.Count)
|
||
|
|
{
|
||
|
|
MyComboBoxSetSelectedIndex(comboBox_ShanLuoPanJu, mIndex_ShanLuoPanJu);
|
||
|
|
mShanLuoPanJu = comboBox_ShanLuoPanJu.SelectedItem.ToString().Trim();
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
mShanLuoPanJu = "";
|
||
|
|
}
|
||
|
|
MyTextBoxSetText(textBox_CurveTimeHeadMin, $"{mCurveTimeHeadMin}");
|
||
|
|
MyTextBoxSetText(textBox_CurveTimeTailMin, $"{mCurveTimeTailMin}");
|
||
|
|
MyTextBoxSetText(textBox_CurveTimeHeadMax, $"{mCurveTimeHeadMax}");
|
||
|
|
MyTextBoxSetText(textBox_CurveTimeTailMax, $"{mCurveTimeTailMax}");
|
||
|
|
MyTextBoxSetText(textBox_CurveTimeHeadStep, $"{mCurveTimeHeadStep}");
|
||
|
|
MyTextBoxSetText(textBox_CurveTimeTailStep, $"{mCurveTimeTailStep}");
|
||
|
|
MyTextBoxSetText(textBox_TongDaoZuKang, $"{mTongDaoZuKang}");
|
||
|
|
}
|
||
|
|
|
||
|
|
public void Destroy()
|
||
|
|
{
|
||
|
|
if (mComboBoxes != null)
|
||
|
|
{
|
||
|
|
mComboBoxes.Clear();
|
||
|
|
}
|
||
|
|
mComboBoxes = null;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void SetParentCode(int _parentCode)
|
||
|
|
{
|
||
|
|
mParentCode = _parentCode;
|
||
|
|
}
|
||
|
|
|
||
|
|
private void buttonOK_Click(object sender, EventArgs e)
|
||
|
|
{
|
||
|
|
if (mAfterInit)
|
||
|
|
{
|
||
|
|
if (mHaiBaXiuZheng < 0)
|
||
|
|
{
|
||
|
|
MyFormSetTitle(this, "请选择高海拔修正,然后点击“" + buttonOK.Text + "”。");
|
||
|
|
comboBox_HaiBaXiuZheng.Focus();
|
||
|
|
}
|
||
|
|
else if (string.IsNullOrEmpty(mGanYingDianYaGongShi))
|
||
|
|
{
|
||
|
|
MyFormSetTitle(this, "请选择感应电压公式,然后点击“" + buttonOK.Text + "”。");
|
||
|
|
comboBox_GanYingDianYaGongShi.Focus();
|
||
|
|
}
|
||
|
|
else if (mCurrentCurve == 0)
|
||
|
|
{
|
||
|
|
MyFormSetTitle(this, "请选择雷电流波形,然后点击“" + buttonOK.Text + "”。");
|
||
|
|
comboBox_CurrentCurve.Focus();
|
||
|
|
}
|
||
|
|
else if (mCurveTimeHeadMin < 0.0)
|
||
|
|
{
|
||
|
|
MyFormSetTitle(this, "请输入波头时间(s)Min,然后点击“" + buttonOK.Text + "”。");
|
||
|
|
textBox_CurveTimeHeadMin.Focus();
|
||
|
|
}
|
||
|
|
else if (mCurveTimeHeadMax < 0.0)
|
||
|
|
{
|
||
|
|
MyFormSetTitle(this, "请输入波头时间(s)Max,然后点击“" + buttonOK.Text + "”。");
|
||
|
|
textBox_CurveTimeHeadMax.Focus();
|
||
|
|
}
|
||
|
|
else if (mCurveTimeHeadStep < 0.0)
|
||
|
|
{
|
||
|
|
MyFormSetTitle(this, "请输入波头时间(s)间隔,然后点击“" + buttonOK.Text + "”。");
|
||
|
|
textBox_CurveTimeHeadStep.Focus();
|
||
|
|
}
|
||
|
|
else if (mCurveTimeTailMin < 0.0)
|
||
|
|
{
|
||
|
|
MyFormSetTitle(this, "请输入波尾时间(s)Min,然后点击“" + buttonOK.Text + "”。");
|
||
|
|
textBox_CurveTimeTailMin.Focus();
|
||
|
|
}
|
||
|
|
else if (mCurveTimeTailMax < 0.0)
|
||
|
|
{
|
||
|
|
MyFormSetTitle(this, "请输入波尾时间(s)Max,然后点击“" + buttonOK.Text + "”。");
|
||
|
|
textBox_CurveTimeTailMax.Focus();
|
||
|
|
}
|
||
|
|
else if (mCurveTimeTailStep < 0.0)
|
||
|
|
{
|
||
|
|
MyFormSetTitle(this, "请输入波尾时间(s)间隔,然后点击“" + buttonOK.Text + "”。");
|
||
|
|
textBox_CurveTimeTailStep.Focus();
|
||
|
|
}
|
||
|
|
else if (mTongDaoZuKang < 0.0)
|
||
|
|
{
|
||
|
|
MyFormSetTitle(this, "请输入通道阻抗(Ω),然后点击“" + buttonOK.Text + "”。");
|
||
|
|
textBox_TongDaoZuKang.Focus();
|
||
|
|
}
|
||
|
|
else if (string.IsNullOrEmpty(mShanLuoPanJu))
|
||
|
|
{
|
||
|
|
MyFormSetTitle(this, "请选择绝缘子闪络判据,然后点击“" + buttonOK.Text + "”。");
|
||
|
|
comboBox_ShanLuoPanJu.Focus();
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
Thread thread = new Thread(MyThread_OK);
|
||
|
|
thread.Start();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void MyRefresh_TaskData()
|
||
|
|
{
|
||
|
|
mTaskData_GJSZ.mIndex_HaiBaXiuZhengGongShi = mHaiBaXiuZheng;
|
||
|
|
mTaskData_GJSZ.mGanYingDianYaGongShi = mGanYingDianYaGongShi;
|
||
|
|
mTaskData_GJSZ.mIndex_CurrentCurve = mCurrentCurve;
|
||
|
|
mTaskData_GJSZ.mShanLuoPanJu = mShanLuoPanJu;
|
||
|
|
mTaskData_GJSZ.mCurveTimeHead_min = mCurveTimeHeadMin;
|
||
|
|
mTaskData_GJSZ.mCurveTimeTail_min = mCurveTimeTailMin;
|
||
|
|
mTaskData_GJSZ.mCurveTimeHead_max = mCurveTimeHeadMax;
|
||
|
|
mTaskData_GJSZ.mCurveTimeTail_max = mCurveTimeTailMax;
|
||
|
|
mTaskData_GJSZ.mCurveTimeHead_step = mCurveTimeHeadStep;
|
||
|
|
mTaskData_GJSZ.mCurveTimeTail_step = mCurveTimeTailStep;
|
||
|
|
mTaskData_GJSZ.mTongDaoZuKang = mTongDaoZuKang;
|
||
|
|
}
|
||
|
|
|
||
|
|
private void MyThread_OK()
|
||
|
|
{
|
||
|
|
MyRefresh_TaskData();
|
||
|
|
MyOutput_TaskData();
|
||
|
|
base.DialogResult = DialogResult.OK;
|
||
|
|
}
|
||
|
|
|
||
|
|
private void buttonCancel_Click(object sender, EventArgs e)
|
||
|
|
{
|
||
|
|
if (mAfterInit)
|
||
|
|
{
|
||
|
|
Thread thread = new Thread(MyThread_Cancel);
|
||
|
|
thread.Start();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void MyThread_Cancel()
|
||
|
|
{
|
||
|
|
base.DialogResult = DialogResult.Cancel;
|
||
|
|
}
|
||
|
|
|
||
|
|
private void comboBox_SelectedIndexChanged(object sender, EventArgs e)
|
||
|
|
{
|
||
|
|
if (mAfterInit)
|
||
|
|
{
|
||
|
|
int selectedIndex = ((ComboBox)sender).SelectedIndex;
|
||
|
|
string text = ((ComboBox)sender).SelectedItem.ToString().Trim();
|
||
|
|
if (sender == comboBox_HaiBaXiuZheng)
|
||
|
|
{
|
||
|
|
mIndex_HaiBaXiuZheng = selectedIndex;
|
||
|
|
mHaiBaXiuZheng = selectedIndex;
|
||
|
|
}
|
||
|
|
else if (sender == comboBox_GanYingDianYaGongShi)
|
||
|
|
{
|
||
|
|
mIndex_GanYingDianYaGongShi = selectedIndex;
|
||
|
|
mGanYingDianYaGongShi = text;
|
||
|
|
}
|
||
|
|
else if (sender == comboBox_CurrentCurve)
|
||
|
|
{
|
||
|
|
mIndex_CurrentCurve = selectedIndex;
|
||
|
|
mCurrentCurve = selectedIndex + 1;
|
||
|
|
}
|
||
|
|
else if (sender == comboBox_ShanLuoPanJu)
|
||
|
|
{
|
||
|
|
mIndex_ShanLuoPanJu = selectedIndex;
|
||
|
|
mShanLuoPanJu = text;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void textBox_TextChanged(object sender, EventArgs e)
|
||
|
|
{
|
||
|
|
if (mAfterInit)
|
||
|
|
{
|
||
|
|
string value = ((TextBox)sender).Text.Trim();
|
||
|
|
double num = -1.0;
|
||
|
|
try
|
||
|
|
{
|
||
|
|
num = Convert.ToDouble(value);
|
||
|
|
}
|
||
|
|
catch (Exception)
|
||
|
|
{
|
||
|
|
num = -1.0;
|
||
|
|
}
|
||
|
|
if (sender == textBox_CurveTimeHeadMin)
|
||
|
|
{
|
||
|
|
mCurveTimeHeadMin = num;
|
||
|
|
}
|
||
|
|
else if (sender == textBox_CurveTimeTailMin)
|
||
|
|
{
|
||
|
|
mCurveTimeTailMin = num;
|
||
|
|
}
|
||
|
|
else if (sender == textBox_CurveTimeHeadMax)
|
||
|
|
{
|
||
|
|
mCurveTimeHeadMax = num;
|
||
|
|
}
|
||
|
|
else if (sender == textBox_CurveTimeTailMax)
|
||
|
|
{
|
||
|
|
mCurveTimeTailMax = num;
|
||
|
|
}
|
||
|
|
else if (sender == textBox_CurveTimeHeadStep)
|
||
|
|
{
|
||
|
|
mCurveTimeHeadStep = num;
|
||
|
|
}
|
||
|
|
else if (sender == textBox_CurveTimeTailStep)
|
||
|
|
{
|
||
|
|
mCurveTimeTailStep = num;
|
||
|
|
}
|
||
|
|
else if (sender == textBox_TongDaoZuKang)
|
||
|
|
{
|
||
|
|
mTongDaoZuKang = num;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public void MyFormHide(Form form)
|
||
|
|
{
|
||
|
|
try
|
||
|
|
{
|
||
|
|
if (form.InvokeRequired)
|
||
|
|
{
|
||
|
|
delegateFormHide method = MyFormHide;
|
||
|
|
form.Invoke(method, form);
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
form.Hide();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
catch (Exception)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public void MyFormSetVisiable(Form form, bool value)
|
||
|
|
{
|
||
|
|
if (form.InvokeRequired)
|
||
|
|
{
|
||
|
|
dltFormSetVisiable method = MyFormSetVisiable;
|
||
|
|
form.Invoke(method, form, value);
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
form.Visible = value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public void MyFormSetTitle(Form form, string value)
|
||
|
|
{
|
||
|
|
if (form.InvokeRequired)
|
||
|
|
{
|
||
|
|
delegateFormSetTitle method = MyFormSetTitle;
|
||
|
|
form.Invoke(method, form, value);
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
if (string.IsNullOrEmpty(value))
|
||
|
|
{
|
||
|
|
form.Text = mTitle;
|
||
|
|
}
|
||
|
|
if (!string.IsNullOrEmpty(value))
|
||
|
|
{
|
||
|
|
form.Text = mTitle + " " + value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public void MyComboBoxItemsClear(ComboBox comboBox)
|
||
|
|
{
|
||
|
|
if (comboBox.InvokeRequired)
|
||
|
|
{
|
||
|
|
delegateComboBoxItemsClear method = MyComboBoxItemsClear;
|
||
|
|
comboBox.Invoke(method, comboBox);
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
comboBox.Items.Clear();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public void MyComboBoxAdd(ComboBox comboBox, string value)
|
||
|
|
{
|
||
|
|
if (comboBox.InvokeRequired)
|
||
|
|
{
|
||
|
|
delegateComboBoxAdd method = MyComboBoxAdd;
|
||
|
|
comboBox.Invoke(method, comboBox, value);
|
||
|
|
}
|
||
|
|
else if (!string.IsNullOrEmpty(value))
|
||
|
|
{
|
||
|
|
comboBox.Items.Add(value);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public void MyComboBoxSetSelectedIndex(ComboBox comboBox, int value)
|
||
|
|
{
|
||
|
|
if (comboBox.InvokeRequired)
|
||
|
|
{
|
||
|
|
delegateComboBoxSetSelectedIndex method = MyComboBoxSetSelectedIndex;
|
||
|
|
comboBox.Invoke(method, comboBox, value);
|
||
|
|
}
|
||
|
|
else if (value >= 0 && value < comboBox.Items.Count)
|
||
|
|
{
|
||
|
|
comboBox.SelectedIndex = value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public void MyListBoxItemsClear(ListBox listBox)
|
||
|
|
{
|
||
|
|
if (listBox.InvokeRequired)
|
||
|
|
{
|
||
|
|
delegateListBoxItemsClear method = MyListBoxItemsClear;
|
||
|
|
listBox.Invoke(method, listBox);
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
listBox.Items.Clear();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public void MyListBoxAdd(ListBox listBox, string value)
|
||
|
|
{
|
||
|
|
if (listBox.InvokeRequired)
|
||
|
|
{
|
||
|
|
delegateListBoxAdd method = MyListBoxAdd;
|
||
|
|
listBox.Invoke(method, listBox, value);
|
||
|
|
}
|
||
|
|
else if (!string.IsNullOrEmpty(value))
|
||
|
|
{
|
||
|
|
listBox.Items.Add(value);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public void MyListBoxSelectedIndex(ListBox listBox, int value)
|
||
|
|
{
|
||
|
|
if (listBox.InvokeRequired)
|
||
|
|
{
|
||
|
|
delegateListBoxSelectedIndex method = MyListBoxSelectedIndex;
|
||
|
|
listBox.Invoke(method, listBox, value);
|
||
|
|
}
|
||
|
|
else if (value >= 0 && value < listBox.Items.Count)
|
||
|
|
{
|
||
|
|
listBox.SelectedIndex = value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public void MyTextBoxSetText(TextBox textBox, string value)
|
||
|
|
{
|
||
|
|
if (textBox.InvokeRequired)
|
||
|
|
{
|
||
|
|
delegateTextBoxSetText method = MyTextBoxSetText;
|
||
|
|
textBox.Invoke(method, textBox, value);
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
textBox.Text = value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public void MyButtonEnabled(Button button, bool value)
|
||
|
|
{
|
||
|
|
if (button.InvokeRequired)
|
||
|
|
{
|
||
|
|
delegateButtonEnabled method = MyButtonEnabled;
|
||
|
|
button.Invoke(method, button, value);
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
button.Enabled = value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public void MyCheckBoxSetCheckState(CheckBox checkBox, CheckState value)
|
||
|
|
{
|
||
|
|
if (checkBox.InvokeRequired)
|
||
|
|
{
|
||
|
|
delegateCheckBoxCheckState method = MyCheckBoxSetCheckState;
|
||
|
|
checkBox.Invoke(method, checkBox, value);
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
checkBox.CheckState = value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
protected override void Dispose(bool disposing)
|
||
|
|
{
|
||
|
|
if (disposing && components != null)
|
||
|
|
{
|
||
|
|
components.Dispose();
|
||
|
|
}
|
||
|
|
base.Dispose(disposing);
|
||
|
|
}
|
||
|
|
|
||
|
|
private void InitializeComponent()
|
||
|
|
{
|
||
|
|
this.comboBox_HaiBaXiuZheng = new System.Windows.Forms.ComboBox();
|
||
|
|
this.label4 = new System.Windows.Forms.Label();
|
||
|
|
this.label1 = new System.Windows.Forms.Label();
|
||
|
|
this.comboBox_GanYingDianYaGongShi = new System.Windows.Forms.ComboBox();
|
||
|
|
this.label2 = new System.Windows.Forms.Label();
|
||
|
|
this.comboBox_CurrentCurve = new System.Windows.Forms.ComboBox();
|
||
|
|
this.label3 = new System.Windows.Forms.Label();
|
||
|
|
this.textBox_CurveTimeHeadMin = new System.Windows.Forms.TextBox();
|
||
|
|
this.label5 = new System.Windows.Forms.Label();
|
||
|
|
this.textBox_CurveTimeTailMin = new System.Windows.Forms.TextBox();
|
||
|
|
this.label6 = new System.Windows.Forms.Label();
|
||
|
|
this.textBox_TongDaoZuKang = new System.Windows.Forms.TextBox();
|
||
|
|
this.label7 = new System.Windows.Forms.Label();
|
||
|
|
this.comboBox_ShanLuoPanJu = new System.Windows.Forms.ComboBox();
|
||
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
||
|
|
this.buttonOK = new System.Windows.Forms.Button();
|
||
|
|
this.label8 = new System.Windows.Forms.Label();
|
||
|
|
this.label9 = new System.Windows.Forms.Label();
|
||
|
|
this.textBox_CurveTimeHeadMax = new System.Windows.Forms.TextBox();
|
||
|
|
this.textBox_CurveTimeTailMax = new System.Windows.Forms.TextBox();
|
||
|
|
this.label10 = new System.Windows.Forms.Label();
|
||
|
|
this.textBox_CurveTimeHeadStep = new System.Windows.Forms.TextBox();
|
||
|
|
this.label11 = new System.Windows.Forms.Label();
|
||
|
|
this.textBox_CurveTimeTailStep = new System.Windows.Forms.TextBox();
|
||
|
|
base.SuspendLayout();
|
||
|
|
this.comboBox_HaiBaXiuZheng.Font = new System.Drawing.Font("宋体", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
|
|
this.comboBox_HaiBaXiuZheng.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||
|
|
this.comboBox_HaiBaXiuZheng.FormattingEnabled = true;
|
||
|
|
this.comboBox_HaiBaXiuZheng.Location = new System.Drawing.Point(57, 28);
|
||
|
|
this.comboBox_HaiBaXiuZheng.Name = "comboBox_HaiBaXiuZheng";
|
||
|
|
this.comboBox_HaiBaXiuZheng.Size = new System.Drawing.Size(388, 20);
|
||
|
|
this.comboBox_HaiBaXiuZheng.TabIndex = 0;
|
||
|
|
this.comboBox_HaiBaXiuZheng.SelectedIndexChanged += new System.EventHandler(comboBox_SelectedIndexChanged);
|
||
|
|
this.label4.AutoSize = true;
|
||
|
|
this.label4.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
|
|
this.label4.Location = new System.Drawing.Point(57, 11);
|
||
|
|
this.label4.Name = "label4";
|
||
|
|
this.label4.Size = new System.Drawing.Size(105, 14);
|
||
|
|
this.label4.TabIndex = 60;
|
||
|
|
this.label4.Text = "是否高海拔修正";
|
||
|
|
this.label1.AutoSize = true;
|
||
|
|
this.label1.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
|
|
this.label1.Location = new System.Drawing.Point(57, 63);
|
||
|
|
this.label1.Name = "label1";
|
||
|
|
this.label1.Size = new System.Drawing.Size(91, 14);
|
||
|
|
this.label1.TabIndex = 60;
|
||
|
|
this.label1.Text = "感应电压公式";
|
||
|
|
this.comboBox_GanYingDianYaGongShi.Font = new System.Drawing.Font("宋体", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
|
|
this.comboBox_GanYingDianYaGongShi.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||
|
|
this.comboBox_GanYingDianYaGongShi.FormattingEnabled = true;
|
||
|
|
this.comboBox_GanYingDianYaGongShi.Location = new System.Drawing.Point(57, 80);
|
||
|
|
this.comboBox_GanYingDianYaGongShi.Name = "comboBox_GanYingDianYaGongShi";
|
||
|
|
this.comboBox_GanYingDianYaGongShi.Size = new System.Drawing.Size(388, 20);
|
||
|
|
this.comboBox_GanYingDianYaGongShi.TabIndex = 1;
|
||
|
|
this.comboBox_GanYingDianYaGongShi.SelectedIndexChanged += new System.EventHandler(comboBox_SelectedIndexChanged);
|
||
|
|
this.label2.AutoSize = true;
|
||
|
|
this.label2.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
|
|
this.label2.Location = new System.Drawing.Point(57, 116);
|
||
|
|
this.label2.Name = "label2";
|
||
|
|
this.label2.Size = new System.Drawing.Size(77, 14);
|
||
|
|
this.label2.TabIndex = 60;
|
||
|
|
this.label2.Text = "雷电流波形";
|
||
|
|
this.comboBox_CurrentCurve.Font = new System.Drawing.Font("宋体", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
|
|
this.comboBox_CurrentCurve.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||
|
|
this.comboBox_CurrentCurve.FormattingEnabled = true;
|
||
|
|
this.comboBox_CurrentCurve.Location = new System.Drawing.Point(57, 133);
|
||
|
|
this.comboBox_CurrentCurve.Name = "comboBox_CurrentCurve";
|
||
|
|
this.comboBox_CurrentCurve.Size = new System.Drawing.Size(388, 20);
|
||
|
|
this.comboBox_CurrentCurve.TabIndex = 2;
|
||
|
|
this.comboBox_CurrentCurve.SelectedIndexChanged += new System.EventHandler(comboBox_SelectedIndexChanged);
|
||
|
|
this.label3.AutoSize = true;
|
||
|
|
this.label3.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
|
|
this.label3.Location = new System.Drawing.Point(57, 170);
|
||
|
|
this.label3.Name = "label3";
|
||
|
|
this.label3.Size = new System.Drawing.Size(119, 14);
|
||
|
|
this.label3.TabIndex = 60;
|
||
|
|
this.label3.Text = "波头时间(s) Min:";
|
||
|
|
this.textBox_CurveTimeHeadMin.Location = new System.Drawing.Point(182, 169);
|
||
|
|
this.textBox_CurveTimeHeadMin.Name = "textBox_CurveTimeHeadMin";
|
||
|
|
this.textBox_CurveTimeHeadMin.Size = new System.Drawing.Size(56, 21);
|
||
|
|
this.textBox_CurveTimeHeadMin.TabIndex = 3;
|
||
|
|
this.textBox_CurveTimeHeadMin.TextChanged += new System.EventHandler(textBox_TextChanged);
|
||
|
|
this.label5.AutoSize = true;
|
||
|
|
this.label5.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
|
|
this.label5.Location = new System.Drawing.Point(57, 197);
|
||
|
|
this.label5.Name = "label5";
|
||
|
|
this.label5.Size = new System.Drawing.Size(119, 14);
|
||
|
|
this.label5.TabIndex = 60;
|
||
|
|
this.label5.Text = "波尾时间(s) Min:";
|
||
|
|
this.textBox_CurveTimeTailMin.Location = new System.Drawing.Point(182, 196);
|
||
|
|
this.textBox_CurveTimeTailMin.Name = "textBox_CurveTimeTailMin";
|
||
|
|
this.textBox_CurveTimeTailMin.Size = new System.Drawing.Size(56, 21);
|
||
|
|
this.textBox_CurveTimeTailMin.TabIndex = 6;
|
||
|
|
this.textBox_CurveTimeTailMin.TextChanged += new System.EventHandler(textBox_TextChanged);
|
||
|
|
this.label6.AutoSize = true;
|
||
|
|
this.label6.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
|
|
this.label6.Location = new System.Drawing.Point(57, 224);
|
||
|
|
this.label6.Name = "label6";
|
||
|
|
this.label6.Size = new System.Drawing.Size(91, 14);
|
||
|
|
this.label6.TabIndex = 60;
|
||
|
|
this.label6.Text = "通道阻抗(Ω)";
|
||
|
|
this.label6.Visible = false;
|
||
|
|
this.textBox_TongDaoZuKang.Location = new System.Drawing.Point(179, 223);
|
||
|
|
this.textBox_TongDaoZuKang.Name = "textBox_TongDaoZuKang";
|
||
|
|
this.textBox_TongDaoZuKang.Size = new System.Drawing.Size(127, 21);
|
||
|
|
this.textBox_TongDaoZuKang.TabIndex = 9;
|
||
|
|
this.textBox_TongDaoZuKang.TextChanged += new System.EventHandler(textBox_TextChanged);
|
||
|
|
this.label7.AutoSize = true;
|
||
|
|
this.label7.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
|
|
this.label7.Location = new System.Drawing.Point(57, 238);
|
||
|
|
this.label7.Name = "label7";
|
||
|
|
this.label7.Size = new System.Drawing.Size(105, 14);
|
||
|
|
this.label7.TabIndex = 60;
|
||
|
|
this.label7.Text = "绝缘子闪络判据";
|
||
|
|
this.comboBox_ShanLuoPanJu.Font = new System.Drawing.Font("宋体", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
|
|
this.comboBox_ShanLuoPanJu.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||
|
|
this.comboBox_ShanLuoPanJu.FormattingEnabled = true;
|
||
|
|
this.comboBox_ShanLuoPanJu.Location = new System.Drawing.Point(57, 255);
|
||
|
|
this.comboBox_ShanLuoPanJu.Name = "comboBox_ShanLuoPanJu";
|
||
|
|
this.comboBox_ShanLuoPanJu.Size = new System.Drawing.Size(388, 20);
|
||
|
|
this.comboBox_ShanLuoPanJu.TabIndex = 10;
|
||
|
|
this.comboBox_ShanLuoPanJu.SelectedIndexChanged += new System.EventHandler(comboBox_SelectedIndexChanged);
|
||
|
|
this.buttonCancel.Location = new System.Drawing.Point(359, 301);
|
||
|
|
this.buttonCancel.Name = "buttonCancel";
|
||
|
|
this.buttonCancel.Size = new System.Drawing.Size(86, 28);
|
||
|
|
this.buttonCancel.TabIndex = 13;
|
||
|
|
this.buttonCancel.Text = "取消";
|
||
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
||
|
|
this.buttonCancel.Click += new System.EventHandler(buttonCancel_Click);
|
||
|
|
this.buttonOK.Location = new System.Drawing.Point(247, 301);
|
||
|
|
this.buttonOK.Name = "buttonOK";
|
||
|
|
this.buttonOK.Size = new System.Drawing.Size(86, 28);
|
||
|
|
this.buttonOK.TabIndex = 12;
|
||
|
|
this.buttonOK.Text = "确定";
|
||
|
|
this.buttonOK.UseVisualStyleBackColor = true;
|
||
|
|
this.buttonOK.Click += new System.EventHandler(buttonOK_Click);
|
||
|
|
this.label8.AutoSize = true;
|
||
|
|
this.label8.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
|
|
this.label8.Location = new System.Drawing.Point(244, 170);
|
||
|
|
this.label8.Name = "label8";
|
||
|
|
this.label8.Size = new System.Drawing.Size(35, 14);
|
||
|
|
this.label8.TabIndex = 60;
|
||
|
|
this.label8.Text = "Max:";
|
||
|
|
this.label9.AutoSize = true;
|
||
|
|
this.label9.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
|
|
this.label9.Location = new System.Drawing.Point(244, 197);
|
||
|
|
this.label9.Name = "label9";
|
||
|
|
this.label9.Size = new System.Drawing.Size(35, 14);
|
||
|
|
this.label9.TabIndex = 60;
|
||
|
|
this.label9.Text = "Max:";
|
||
|
|
this.textBox_CurveTimeHeadMax.Location = new System.Drawing.Point(285, 169);
|
||
|
|
this.textBox_CurveTimeHeadMax.Name = "textBox_CurveTimeHeadMax";
|
||
|
|
this.textBox_CurveTimeHeadMax.Size = new System.Drawing.Size(56, 21);
|
||
|
|
this.textBox_CurveTimeHeadMax.TabIndex = 4;
|
||
|
|
this.textBox_CurveTimeHeadMax.TextChanged += new System.EventHandler(textBox_TextChanged);
|
||
|
|
this.textBox_CurveTimeTailMax.Location = new System.Drawing.Point(285, 196);
|
||
|
|
this.textBox_CurveTimeTailMax.Name = "textBox_CurveTimeTailMax";
|
||
|
|
this.textBox_CurveTimeTailMax.Size = new System.Drawing.Size(56, 21);
|
||
|
|
this.textBox_CurveTimeTailMax.TabIndex = 7;
|
||
|
|
this.textBox_CurveTimeTailMax.TextChanged += new System.EventHandler(textBox_TextChanged);
|
||
|
|
this.label10.AutoSize = true;
|
||
|
|
this.label10.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
|
|
this.label10.Location = new System.Drawing.Point(347, 170);
|
||
|
|
this.label10.Name = "label10";
|
||
|
|
this.label10.Size = new System.Drawing.Size(42, 14);
|
||
|
|
this.label10.TabIndex = 60;
|
||
|
|
this.label10.Text = "间隔:";
|
||
|
|
this.textBox_CurveTimeHeadStep.Location = new System.Drawing.Point(395, 169);
|
||
|
|
this.textBox_CurveTimeHeadStep.Name = "textBox_CurveTimeHeadStep";
|
||
|
|
this.textBox_CurveTimeHeadStep.Size = new System.Drawing.Size(56, 21);
|
||
|
|
this.textBox_CurveTimeHeadStep.TabIndex = 5;
|
||
|
|
this.textBox_CurveTimeHeadStep.TextChanged += new System.EventHandler(textBox_TextChanged);
|
||
|
|
this.label11.AutoSize = true;
|
||
|
|
this.label11.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
|
|
this.label11.Location = new System.Drawing.Point(347, 197);
|
||
|
|
this.label11.Name = "label11";
|
||
|
|
this.label11.Size = new System.Drawing.Size(42, 14);
|
||
|
|
this.label11.TabIndex = 60;
|
||
|
|
this.label11.Text = "间隔:";
|
||
|
|
this.textBox_CurveTimeTailStep.Location = new System.Drawing.Point(395, 196);
|
||
|
|
this.textBox_CurveTimeTailStep.Name = "textBox_CurveTimeTailStep";
|
||
|
|
this.textBox_CurveTimeTailStep.Size = new System.Drawing.Size(56, 21);
|
||
|
|
this.textBox_CurveTimeTailStep.TabIndex = 8;
|
||
|
|
this.textBox_CurveTimeTailStep.TextChanged += new System.EventHandler(textBox_TextChanged);
|
||
|
|
base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
|
||
|
|
base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
|
|
base.ClientSize = new System.Drawing.Size(496, 341);
|
||
|
|
base.Controls.Add(this.comboBox_HaiBaXiuZheng);
|
||
|
|
base.Controls.Add(this.comboBox_ShanLuoPanJu);
|
||
|
|
base.Controls.Add(this.comboBox_CurrentCurve);
|
||
|
|
base.Controls.Add(this.comboBox_GanYingDianYaGongShi);
|
||
|
|
base.Controls.Add(this.buttonCancel);
|
||
|
|
base.Controls.Add(this.buttonOK);
|
||
|
|
base.Controls.Add(this.textBox_TongDaoZuKang);
|
||
|
|
base.Controls.Add(this.textBox_CurveTimeTailMin);
|
||
|
|
base.Controls.Add(this.label6);
|
||
|
|
base.Controls.Add(this.textBox_CurveTimeTailMax);
|
||
|
|
base.Controls.Add(this.textBox_CurveTimeTailStep);
|
||
|
|
base.Controls.Add(this.textBox_CurveTimeHeadStep);
|
||
|
|
base.Controls.Add(this.textBox_CurveTimeHeadMax);
|
||
|
|
base.Controls.Add(this.textBox_CurveTimeHeadMin);
|
||
|
|
base.Controls.Add(this.label5);
|
||
|
|
base.Controls.Add(this.label7);
|
||
|
|
base.Controls.Add(this.label9);
|
||
|
|
base.Controls.Add(this.label11);
|
||
|
|
base.Controls.Add(this.label10);
|
||
|
|
base.Controls.Add(this.label8);
|
||
|
|
base.Controls.Add(this.label3);
|
||
|
|
base.Controls.Add(this.label2);
|
||
|
|
base.Controls.Add(this.label1);
|
||
|
|
base.Controls.Add(this.label4);
|
||
|
|
base.Name = "Form_GJSZ_PuTongJiSuan";
|
||
|
|
base.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||
|
|
this.Text = "Form_GJSZ_PuTongJiSuan";
|
||
|
|
base.FormClosing += new System.Windows.Forms.FormClosingEventHandler(Form_GJSZ_PuTongJiSuan_FormClosing);
|
||
|
|
base.Load += new System.EventHandler(Form_GJSZ_PuTongJiSuan_Load);
|
||
|
|
base.ResumeLayout(false);
|
||
|
|
base.PerformLayout();
|
||
|
|
}
|
||
|
|
}
|