using System; using System.ComponentModel; using System.Drawing; using System.Threading; using System.Windows.Forms; namespace LP; public class FormGanTa4Hui : Form { private delegate void delegateTextBoxSetText(TextBox textBox, string value); private delegate void delegateListBoxSetIndex(ListBox listBox, string value); private delegate void delegateFormSetTitle(Form form, string value); private delegate void delegateFormHide(Form form); public FormDesktop desktop = null; public string mTitle = ""; public GanTaData mGanTaData = null; private IContainer components = null; private Panel panelGanTa4Hui; private Button buttonCancel; private Button buttonOK; private TextBox textBox_JDDZ_GanTa; private Label label7; private TextBox textBox_HuGao_GanTa; private Label label12; private TextBox textBox_XiangXu4_GanTa; private TextBox textBox_BLQ_C_GanTa; private TextBox textBox_XiangXu3_GanTa; private TextBox textBox_BLQ_B_GanTa; private TextBox textBox_XiangXu2_GanTa; private TextBox textBox_BLQ_A_GanTa; private Label label6; private TextBox textBox_XiangXu1_GanTa; private Label label5; private TextBox textBox_JYZCD_GanTa; private Label label11; private TextBox textBox_BLXGD_GanTa; private Label label10; private TextBox textBox_BLZJ_R_GanTa; private Label label9; private TextBox textBox_BLZJ_L_GanTa; private Label label8; private TextBox textBox_HaiBa_GanTa; private Label label15; private TextBox textBox_DaHao_GanTa; private Label label14; private TextBox textBox_XiaoHao_GanTa; private Label label13; private TextBox textBox_WeiDu_GanTa; private Label label4; private TextBox textBox_DMQJ2_GanTa; private Label label17; private TextBox textBox_DMQJ1_GanTa; private Label label16; private TextBox textBox_JingDu_GanTa; private Label label3; private TextBox textBox_Model_GanTa; private Label label2; private TextBox textBox_1ZJ_Shang_GanTa; private Label label18; private TextBox textBox_ID_GanTa; private Label label1; private TextBox textBox_4GD_Zhong_GanTa; private TextBox textBox_2GD_Zhong_GanTa; private TextBox textBox_3GD_Zhong_GanTa; private TextBox textBox_1GD_Zhong_GanTa; private TextBox textBox_4ZJ_Zhong_GanTa; private TextBox textBox_2ZJ_Zhong_GanTa; private TextBox textBox_3ZJ_Zhong_GanTa; private TextBox textBox_1ZJ_Zhong_GanTa; private Label label41; private Label label29; private Label label40; private Label label23; private Label label39; private Label label28; private Label label38; private Label label19; private TextBox textBox_4GD_Xia_GanTa; private TextBox textBox_2GD_Xia_GanTa; private Label label37; private Label label27; private TextBox textBox_3GD_Xia_GanTa; private TextBox textBox_1GD_Xia_GanTa; private TextBox textBox_4ZJ_Xia_GanTa; private TextBox textBox_2ZJ_Xia_GanTa; private Label label36; private Label label22; private TextBox textBox_4GD_Shang_GanTa; private TextBox textBox_2GD_Shang_GanTa; private TextBox textBox_3ZJ_Xia_GanTa; private TextBox textBox_1ZJ_Xia_GanTa; private Label label35; private Label label26; private TextBox textBox_3GD_Shang_GanTa; private TextBox textBox_1GD_Shang_GanTa; private Label label34; private Label label25; private Label label33; private Label label20; private TextBox textBox_4ZJ_Shang_GanTa; private TextBox textBox_2ZJ_Shang_GanTa; private Label label32; private Label label21; private Label label31; private Label label24; private TextBox textBox_3ZJ_Shang_GanTa; private Label label30; private ListBox listBox_DiXing_GanTa; private Label label42; private TextBox textBox_Angle_GanTa; private Label label43; private TextBox textBox_ZXNZ_GanTa; private Label label44; private TextBox textBox_RaoJiFanJi_GanTa; private Label label45; private TextBox textBox_DSMD_GanTa; private Label label46; private TextBox textBox_Current_a_GanTa; private Label label47; private TextBox textBox_Current_b_GanTa; private Label label48; private Label label49; private TextBox textBox_TaXing_GanTa; public FormGanTa4Hui() { InitializeComponent(); } private void FormGanTa4Hui_Load(object sender, EventArgs e) { mTitle = "编辑杆塔属性(四回路)"; MyFormSetTitle(this, ""); textBox_ID_GanTa.ReadOnly = true; textBox_RaoJiFanJi_GanTa.ReadOnly = true; if (mGanTaData == null) { mGanTaData = new GanTaData(); } MyInput_GanTaData(); } private void FormGanTa4Hui_FormClosing(object sender, FormClosingEventArgs e) { } public void MyInput_GanTaData() { mGanTaData.CopyFrom_GanTaData(desktop.mTheGanTaData); MyTextBoxSetText(textBox_ID_GanTa, mGanTaData.mID_GanTa ?? ""); MyTextBoxSetText(textBox_Model_GanTa, mGanTaData.mModel_GanTa ?? ""); MyTextBoxSetText(textBox_JingDu_GanTa, $"{mGanTaData.mJingDu_GanTa}"); MyTextBoxSetText(textBox_WeiDu_GanTa, $"{mGanTaData.mWeiDu_GanTa}"); MyTextBoxSetText(textBox_XiaoHao_GanTa, $"{mGanTaData.mXiaoHao_GanTa}"); MyTextBoxSetText(textBox_DaHao_GanTa, $"{mGanTaData.mDaHao_GanTa}"); MyTextBoxSetText(textBox_HaiBa_GanTa, $"{mGanTaData.mHaiBa_GanTa}"); MyTextBoxSetText(textBox_DMQJ1_GanTa, $"{mGanTaData.mDMQJ1_GanTa}"); MyTextBoxSetText(textBox_DMQJ2_GanTa, $"{mGanTaData.mDMQJ2_GanTa}"); MyTextBoxSetText(textBox_BLZJ_L_GanTa, $"{mGanTaData.mBLZJ_L_GanTa}"); MyTextBoxSetText(textBox_BLZJ_R_GanTa, $"{mGanTaData.mBLZJ_R_GanTa}"); MyTextBoxSetText(textBox_BLXGD_GanTa, $"{mGanTaData.mBLXGD_GanTa}"); MyTextBoxSetText(textBox_JYZCD_GanTa, $"{mGanTaData.mJYZCD_GanTa}"); MyTextBoxSetText(textBox_JDDZ_GanTa, $"{mGanTaData.mJDDZ_GanTa}"); MyTextBoxSetText(textBox_HuGao_GanTa, $"{mGanTaData.mHuGao_GanTa}"); MyTextBoxSetText(textBox_XiangXu1_GanTa, mGanTaData.mXiangXu1_GanTa ?? ""); MyTextBoxSetText(textBox_XiangXu2_GanTa, mGanTaData.mXiangXu2_GanTa ?? ""); MyTextBoxSetText(textBox_XiangXu3_GanTa, mGanTaData.mXiangXu3_GanTa ?? ""); MyTextBoxSetText(textBox_XiangXu4_GanTa, mGanTaData.mXiangXu4_GanTa ?? ""); MyTextBoxSetText(textBox_BLQ_A_GanTa, mGanTaData.mBLQ_A_GanTa ?? ""); MyTextBoxSetText(textBox_BLQ_B_GanTa, mGanTaData.mBLQ_B_GanTa ?? ""); MyTextBoxSetText(textBox_BLQ_C_GanTa, mGanTaData.mBLQ_C_GanTa ?? ""); MyTextBoxSetText(textBox_1ZJ_Shang_GanTa, $"{mGanTaData.m1ZJ_Shang_GanTa}"); MyTextBoxSetText(textBox_1ZJ_Zhong_GanTa, $"{mGanTaData.m1ZJ_Zhong_GanTa}"); MyTextBoxSetText(textBox_1ZJ_Xia_GanTa, $"{mGanTaData.m1ZJ_Xia_GanTa}"); MyTextBoxSetText(textBox_1GD_Shang_GanTa, $"{mGanTaData.m1GD_Shang_GanTa}"); MyTextBoxSetText(textBox_1GD_Zhong_GanTa, $"{mGanTaData.m1GD_Zhong_GanTa}"); MyTextBoxSetText(textBox_1GD_Xia_GanTa, $"{mGanTaData.m1GD_Xia_GanTa}"); MyTextBoxSetText(textBox_2ZJ_Shang_GanTa, $"{mGanTaData.m2ZJ_Shang_GanTa}"); MyTextBoxSetText(textBox_2ZJ_Zhong_GanTa, $"{mGanTaData.m2ZJ_Zhong_GanTa}"); MyTextBoxSetText(textBox_2ZJ_Xia_GanTa, $"{mGanTaData.m2ZJ_Xia_GanTa}"); MyTextBoxSetText(textBox_2GD_Shang_GanTa, $"{mGanTaData.m2GD_Shang_GanTa}"); MyTextBoxSetText(textBox_2GD_Zhong_GanTa, $"{mGanTaData.m2GD_Zhong_GanTa}"); MyTextBoxSetText(textBox_2GD_Xia_GanTa, $"{mGanTaData.m2GD_Xia_GanTa}"); MyTextBoxSetText(textBox_3ZJ_Shang_GanTa, $"{mGanTaData.m3ZJ_Shang_GanTa}"); MyTextBoxSetText(textBox_3ZJ_Zhong_GanTa, $"{mGanTaData.m3ZJ_Zhong_GanTa}"); MyTextBoxSetText(textBox_3ZJ_Xia_GanTa, $"{mGanTaData.m3ZJ_Xia_GanTa}"); MyTextBoxSetText(textBox_3GD_Shang_GanTa, $"{mGanTaData.m3GD_Shang_GanTa}"); MyTextBoxSetText(textBox_3GD_Zhong_GanTa, $"{mGanTaData.m3GD_Zhong_GanTa}"); MyTextBoxSetText(textBox_3GD_Xia_GanTa, $"{mGanTaData.m3GD_Xia_GanTa}"); MyTextBoxSetText(textBox_4ZJ_Shang_GanTa, $"{mGanTaData.m4ZJ_Shang_GanTa}"); MyTextBoxSetText(textBox_4ZJ_Zhong_GanTa, $"{mGanTaData.m4ZJ_Zhong_GanTa}"); MyTextBoxSetText(textBox_4ZJ_Xia_GanTa, $"{mGanTaData.m4ZJ_Xia_GanTa}"); MyTextBoxSetText(textBox_4GD_Shang_GanTa, $"{mGanTaData.m4GD_Shang_GanTa}"); MyTextBoxSetText(textBox_4GD_Zhong_GanTa, $"{mGanTaData.m4GD_Zhong_GanTa}"); MyTextBoxSetText(textBox_4GD_Xia_GanTa, $"{mGanTaData.m4GD_Xia_GanTa}"); MyListBoxSetIndex(listBox_DiXing_GanTa, mGanTaData.mDiXing_GanTa ?? ""); MyTextBoxSetText(textBox_Angle_GanTa, $"{mGanTaData.mAngle_GanTa}"); MyTextBoxSetText(textBox_ZXNZ_GanTa, mGanTaData.mZXNZ_GanTa ?? ""); MyTextBoxSetText(textBox_RaoJiFanJi_GanTa, $"{mGanTaData.mRaoJiFanJi_GanTa}"); MyTextBoxSetText(textBox_DSMD_GanTa, $"{mGanTaData.mDSMD_GanTa}"); MyTextBoxSetText(textBox_Current_a_GanTa, $"{mGanTaData.mCurrent_a_GanTa}"); MyTextBoxSetText(textBox_Current_b_GanTa, $"{mGanTaData.mCurrent_b_GanTa}"); MyTextBoxSetText(textBox_TaXing_GanTa, mGanTaData.mTaXing_GanTa ?? ""); } public void Destroy() { mTitle = ""; mGanTaData = null; } private void buttonOK_Click(object sender, EventArgs e) { if (!MyInputIsRight()) { MyFormSetTitle(this, "数据错误!!! 先修订,然后点击“确定”"); return; } Thread thread = new Thread(MyThreadOK); thread.Start(); } private void MyThreadOK() { try { desktop.mTheGanTaData.CopyFrom_GanTaData(mGanTaData); base.DialogResult = DialogResult.OK; MyFormHide(this); } catch (Exception ex) { MyLog.AddLog("FormGanTa4Hui.cs MyThreadOK() Exception=" + ex.Message); } } private void buttonCancel_Click(object sender, EventArgs e) { Thread thread = new Thread(MyThreadCancel); thread.Start(); } private void MyThreadCancel() { try { base.DialogResult = DialogResult.Cancel; MyFormHide(this); } catch (Exception ex) { MyLog.AddLog("FormGanTa4Hui.cs MyThreadCancel() Exception=" + ex.Message); } } private bool MyInputIsRight() { bool result = false; int num = 0; double num2 = 0.0; mGanTaData.mID_GanTa = textBox_ID_GanTa.Text.Trim(); mGanTaData.mModel_GanTa = textBox_Model_GanTa.Text.Trim(); try { num2 = Convert.ToDouble(textBox_JingDu_GanTa.Text.Trim()); mGanTaData.mJingDu_GanTa = num2; } catch (Exception) { textBox_JingDu_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_WeiDu_GanTa.Text.Trim()); mGanTaData.mWeiDu_GanTa = num2; } catch (Exception) { textBox_WeiDu_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_XiaoHao_GanTa.Text.Trim()); mGanTaData.mXiaoHao_GanTa = num2; } catch (Exception) { textBox_XiaoHao_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_DaHao_GanTa.Text.Trim()); mGanTaData.mDaHao_GanTa = num2; } catch (Exception) { textBox_DaHao_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_HaiBa_GanTa.Text.Trim()); mGanTaData.mHaiBa_GanTa = num2; } catch (Exception) { textBox_HaiBa_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_DMQJ1_GanTa.Text.Trim()); mGanTaData.mDMQJ1_GanTa = num2; } catch (Exception) { textBox_DMQJ1_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_DMQJ2_GanTa.Text.Trim()); mGanTaData.mDMQJ2_GanTa = num2; } catch (Exception) { textBox_DMQJ2_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_BLZJ_L_GanTa.Text.Trim()); mGanTaData.mBLZJ_L_GanTa = num2; } catch (Exception) { textBox_BLZJ_L_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_BLZJ_R_GanTa.Text.Trim()); mGanTaData.mBLZJ_R_GanTa = num2; } catch (Exception) { textBox_BLZJ_R_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_BLXGD_GanTa.Text.Trim()); mGanTaData.mBLXGD_GanTa = num2; } catch (Exception) { textBox_BLXGD_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_JYZCD_GanTa.Text.Trim()); mGanTaData.mJYZCD_GanTa = num2; } catch (Exception) { textBox_JYZCD_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_JDDZ_GanTa.Text.Trim()); mGanTaData.mJDDZ_GanTa = num2; } catch (Exception) { textBox_JDDZ_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_HuGao_GanTa.Text.Trim()); mGanTaData.mHuGao_GanTa = num2; } catch (Exception) { textBox_HuGao_GanTa.Focus(); return result; } mGanTaData.mXiangXu1_GanTa = textBox_XiangXu1_GanTa.Text.Trim(); mGanTaData.mXiangXu2_GanTa = textBox_XiangXu2_GanTa.Text.Trim(); mGanTaData.mXiangXu3_GanTa = textBox_XiangXu3_GanTa.Text.Trim(); mGanTaData.mXiangXu4_GanTa = textBox_XiangXu4_GanTa.Text.Trim(); mGanTaData.mBLQ_A_GanTa = textBox_BLQ_A_GanTa.Text.Trim(); mGanTaData.mBLQ_B_GanTa = textBox_BLQ_B_GanTa.Text.Trim(); mGanTaData.mBLQ_C_GanTa = textBox_BLQ_C_GanTa.Text.Trim(); try { num2 = Convert.ToDouble(textBox_1ZJ_Shang_GanTa.Text.Trim()); mGanTaData.m1ZJ_Shang_GanTa = num2; } catch (Exception) { textBox_1ZJ_Shang_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_1ZJ_Zhong_GanTa.Text.Trim()); mGanTaData.m1ZJ_Zhong_GanTa = num2; } catch (Exception) { textBox_1ZJ_Zhong_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_1ZJ_Xia_GanTa.Text.Trim()); mGanTaData.m1ZJ_Xia_GanTa = num2; } catch (Exception) { textBox_1ZJ_Xia_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_1GD_Shang_GanTa.Text.Trim()); mGanTaData.m1GD_Shang_GanTa = num2; } catch (Exception) { textBox_1GD_Shang_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_1GD_Zhong_GanTa.Text.Trim()); mGanTaData.m1GD_Zhong_GanTa = num2; } catch (Exception) { textBox_1GD_Zhong_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_1GD_Xia_GanTa.Text.Trim()); mGanTaData.m1GD_Xia_GanTa = num2; } catch (Exception) { textBox_1GD_Xia_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_2ZJ_Shang_GanTa.Text.Trim()); mGanTaData.m2ZJ_Shang_GanTa = num2; } catch (Exception) { textBox_2ZJ_Shang_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_2ZJ_Zhong_GanTa.Text.Trim()); mGanTaData.m2ZJ_Zhong_GanTa = num2; } catch (Exception) { textBox_2ZJ_Zhong_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_2ZJ_Xia_GanTa.Text.Trim()); mGanTaData.m2ZJ_Xia_GanTa = num2; } catch (Exception) { textBox_2ZJ_Xia_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_2GD_Shang_GanTa.Text.Trim()); mGanTaData.m2GD_Shang_GanTa = num2; } catch (Exception) { textBox_2GD_Shang_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_2GD_Zhong_GanTa.Text.Trim()); mGanTaData.m2GD_Zhong_GanTa = num2; } catch (Exception) { textBox_2GD_Zhong_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_2GD_Xia_GanTa.Text.Trim()); mGanTaData.m2GD_Xia_GanTa = num2; } catch (Exception) { textBox_2GD_Xia_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_3ZJ_Shang_GanTa.Text.Trim()); mGanTaData.m3ZJ_Shang_GanTa = num2; } catch (Exception) { textBox_3ZJ_Shang_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_3ZJ_Zhong_GanTa.Text.Trim()); mGanTaData.m3ZJ_Zhong_GanTa = num2; } catch (Exception) { textBox_3ZJ_Zhong_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_3ZJ_Xia_GanTa.Text.Trim()); mGanTaData.m3ZJ_Xia_GanTa = num2; } catch (Exception) { textBox_3ZJ_Xia_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_3GD_Shang_GanTa.Text.Trim()); mGanTaData.m3GD_Shang_GanTa = num2; } catch (Exception) { textBox_3GD_Shang_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_3GD_Zhong_GanTa.Text.Trim()); mGanTaData.m3GD_Zhong_GanTa = num2; } catch (Exception) { textBox_3GD_Zhong_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_3GD_Xia_GanTa.Text.Trim()); mGanTaData.m3GD_Xia_GanTa = num2; } catch (Exception) { textBox_3GD_Xia_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_4ZJ_Shang_GanTa.Text.Trim()); mGanTaData.m4ZJ_Shang_GanTa = num2; } catch (Exception) { textBox_4ZJ_Shang_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_4ZJ_Zhong_GanTa.Text.Trim()); mGanTaData.m4ZJ_Zhong_GanTa = num2; } catch (Exception) { textBox_4ZJ_Zhong_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_4ZJ_Xia_GanTa.Text.Trim()); mGanTaData.m4ZJ_Xia_GanTa = num2; } catch (Exception) { textBox_4ZJ_Xia_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_4GD_Shang_GanTa.Text.Trim()); mGanTaData.m4GD_Shang_GanTa = num2; } catch (Exception) { textBox_4GD_Shang_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_4GD_Zhong_GanTa.Text.Trim()); mGanTaData.m4GD_Zhong_GanTa = num2; } catch (Exception) { textBox_4GD_Zhong_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_4GD_Xia_GanTa.Text.Trim()); mGanTaData.m4GD_Xia_GanTa = num2; } catch (Exception) { textBox_4GD_Xia_GanTa.Focus(); return result; } mGanTaData.mDiXing_GanTa = listBox_DiXing_GanTa.SelectedItem.ToString().Trim(); try { num2 = Convert.ToDouble(textBox_Angle_GanTa.Text.Trim()); mGanTaData.mAngle_GanTa = num2; } catch (Exception) { textBox_Angle_GanTa.Focus(); return result; } mGanTaData.mZXNZ_GanTa = textBox_ZXNZ_GanTa.Text.Trim(); try { num = Convert.ToInt32(textBox_RaoJiFanJi_GanTa.Text.Trim()); mGanTaData.mRaoJiFanJi_GanTa = num; } catch (Exception) { textBox_RaoJiFanJi_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_DSMD_GanTa.Text.Trim()); mGanTaData.mDSMD_GanTa = num2; } catch (Exception) { textBox_DSMD_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_Current_a_GanTa.Text.Trim()); mGanTaData.mCurrent_a_GanTa = num2; } catch (Exception) { textBox_Current_a_GanTa.Focus(); return result; } try { num2 = Convert.ToDouble(textBox_Current_b_GanTa.Text.Trim()); mGanTaData.mCurrent_b_GanTa = num2; } catch (Exception) { textBox_Current_b_GanTa.Focus(); return result; } mGanTaData.mTaXing_GanTa = textBox_TaXing_GanTa.Text.Trim(); return true; } public void MyTextBoxSetText(TextBox textBox, string value) { if (textBox.InvokeRequired) { delegateTextBoxSetText method = MyTextBoxSetText; textBox.Invoke(method, textBox, value); } else { textBox.Text = value; } } public void MyListBoxSetIndex(ListBox listBox, string value) { if (listBox.InvokeRequired) { delegateListBoxSetIndex method = MyListBoxSetIndex; listBox.Invoke(method, listBox, value); } else if (string.IsNullOrEmpty(value)) { listBox.SelectedIndex = 0; } else if (value.Equals("平原")) { listBox.SelectedIndex = 0; } else if (value.Equals("山区")) { listBox.SelectedIndex = 1; } else { listBox.SelectedIndex = 0; } } 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 MyFormHide(Form form) { try { if (form.InvokeRequired) { delegateFormHide method = MyFormHide; form.Invoke(method, form); } else { form.Hide(); } } catch (Exception) { } } protected override void Dispose(bool disposing) { if (disposing && components != null) { components.Dispose(); } base.Dispose(disposing); } private void InitializeComponent() { this.panelGanTa4Hui = new System.Windows.Forms.Panel(); this.listBox_DiXing_GanTa = new System.Windows.Forms.ListBox(); this.textBox_XiangXu4_GanTa = new System.Windows.Forms.TextBox(); this.textBox_BLQ_C_GanTa = new System.Windows.Forms.TextBox(); this.textBox_XiangXu3_GanTa = new System.Windows.Forms.TextBox(); this.textBox_BLQ_B_GanTa = new System.Windows.Forms.TextBox(); this.textBox_XiangXu2_GanTa = new System.Windows.Forms.TextBox(); this.textBox_BLQ_A_GanTa = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.textBox_XiangXu1_GanTa = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.textBox_JYZCD_GanTa = new System.Windows.Forms.TextBox(); this.label11 = new System.Windows.Forms.Label(); this.textBox_BLXGD_GanTa = new System.Windows.Forms.TextBox(); this.label10 = new System.Windows.Forms.Label(); this.textBox_BLZJ_R_GanTa = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.textBox_BLZJ_L_GanTa = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.textBox_HaiBa_GanTa = new System.Windows.Forms.TextBox(); this.label15 = new System.Windows.Forms.Label(); this.textBox_DaHao_GanTa = new System.Windows.Forms.TextBox(); this.label14 = new System.Windows.Forms.Label(); this.textBox_XiaoHao_GanTa = new System.Windows.Forms.TextBox(); this.label13 = new System.Windows.Forms.Label(); this.textBox_WeiDu_GanTa = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.textBox_DMQJ2_GanTa = new System.Windows.Forms.TextBox(); this.label17 = new System.Windows.Forms.Label(); this.textBox_DMQJ1_GanTa = new System.Windows.Forms.TextBox(); this.label16 = new System.Windows.Forms.Label(); this.textBox_JingDu_GanTa = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.textBox_Model_GanTa = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.textBox_4GD_Zhong_GanTa = new System.Windows.Forms.TextBox(); this.textBox_2GD_Zhong_GanTa = new System.Windows.Forms.TextBox(); this.textBox_3GD_Zhong_GanTa = new System.Windows.Forms.TextBox(); this.textBox_1GD_Zhong_GanTa = new System.Windows.Forms.TextBox(); this.textBox_Current_b_GanTa = new System.Windows.Forms.TextBox(); this.textBox_Current_a_GanTa = new System.Windows.Forms.TextBox(); this.textBox_4ZJ_Zhong_GanTa = new System.Windows.Forms.TextBox(); this.textBox_2ZJ_Zhong_GanTa = new System.Windows.Forms.TextBox(); this.textBox_3ZJ_Zhong_GanTa = new System.Windows.Forms.TextBox(); this.textBox_1ZJ_Zhong_GanTa = new System.Windows.Forms.TextBox(); this.label41 = new System.Windows.Forms.Label(); this.label29 = new System.Windows.Forms.Label(); this.label48 = new System.Windows.Forms.Label(); this.label40 = new System.Windows.Forms.Label(); this.label47 = new System.Windows.Forms.Label(); this.label23 = new System.Windows.Forms.Label(); this.label39 = new System.Windows.Forms.Label(); this.label28 = new System.Windows.Forms.Label(); this.label38 = new System.Windows.Forms.Label(); this.label19 = new System.Windows.Forms.Label(); this.textBox_4GD_Xia_GanTa = new System.Windows.Forms.TextBox(); this.textBox_2GD_Xia_GanTa = new System.Windows.Forms.TextBox(); this.label37 = new System.Windows.Forms.Label(); this.label27 = new System.Windows.Forms.Label(); this.textBox_3GD_Xia_GanTa = new System.Windows.Forms.TextBox(); this.textBox_1GD_Xia_GanTa = new System.Windows.Forms.TextBox(); this.textBox_4ZJ_Xia_GanTa = new System.Windows.Forms.TextBox(); this.textBox_2ZJ_Xia_GanTa = new System.Windows.Forms.TextBox(); this.label36 = new System.Windows.Forms.Label(); this.label22 = new System.Windows.Forms.Label(); this.textBox_4GD_Shang_GanTa = new System.Windows.Forms.TextBox(); this.textBox_2GD_Shang_GanTa = new System.Windows.Forms.TextBox(); this.textBox_3ZJ_Xia_GanTa = new System.Windows.Forms.TextBox(); this.textBox_1ZJ_Xia_GanTa = new System.Windows.Forms.TextBox(); this.label35 = new System.Windows.Forms.Label(); this.label26 = new System.Windows.Forms.Label(); this.textBox_3GD_Shang_GanTa = new System.Windows.Forms.TextBox(); this.textBox_1GD_Shang_GanTa = new System.Windows.Forms.TextBox(); this.label34 = new System.Windows.Forms.Label(); this.label25 = new System.Windows.Forms.Label(); this.label33 = new System.Windows.Forms.Label(); this.label20 = new System.Windows.Forms.Label(); this.textBox_4ZJ_Shang_GanTa = new System.Windows.Forms.TextBox(); this.textBox_2ZJ_Shang_GanTa = new System.Windows.Forms.TextBox(); this.label32 = new System.Windows.Forms.Label(); this.label21 = new System.Windows.Forms.Label(); this.label31 = new System.Windows.Forms.Label(); this.label24 = new System.Windows.Forms.Label(); this.textBox_3ZJ_Shang_GanTa = new System.Windows.Forms.TextBox(); this.label30 = new System.Windows.Forms.Label(); this.textBox_1ZJ_Shang_GanTa = new System.Windows.Forms.TextBox(); this.label18 = new System.Windows.Forms.Label(); this.textBox_ID_GanTa = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.textBox_DSMD_GanTa = new System.Windows.Forms.TextBox(); this.label46 = new System.Windows.Forms.Label(); this.textBox_RaoJiFanJi_GanTa = new System.Windows.Forms.TextBox(); this.label45 = new System.Windows.Forms.Label(); this.textBox_ZXNZ_GanTa = new System.Windows.Forms.TextBox(); this.label44 = new System.Windows.Forms.Label(); this.textBox_Angle_GanTa = new System.Windows.Forms.TextBox(); this.label43 = new System.Windows.Forms.Label(); this.textBox_HuGao_GanTa = new System.Windows.Forms.TextBox(); this.label12 = new System.Windows.Forms.Label(); this.textBox_JDDZ_GanTa = new System.Windows.Forms.TextBox(); this.label42 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.buttonCancel = new System.Windows.Forms.Button(); this.buttonOK = new System.Windows.Forms.Button(); this.label49 = new System.Windows.Forms.Label(); this.textBox_TaXing_GanTa = new System.Windows.Forms.TextBox(); this.panelGanTa4Hui.SuspendLayout(); base.SuspendLayout(); this.panelGanTa4Hui.AutoScroll = true; this.panelGanTa4Hui.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panelGanTa4Hui.Controls.Add(this.listBox_DiXing_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_XiangXu4_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_BLQ_C_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_XiangXu3_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_BLQ_B_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_XiangXu2_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_BLQ_A_GanTa); this.panelGanTa4Hui.Controls.Add(this.label6); this.panelGanTa4Hui.Controls.Add(this.textBox_XiangXu1_GanTa); this.panelGanTa4Hui.Controls.Add(this.label5); this.panelGanTa4Hui.Controls.Add(this.textBox_JYZCD_GanTa); this.panelGanTa4Hui.Controls.Add(this.label11); this.panelGanTa4Hui.Controls.Add(this.textBox_BLXGD_GanTa); this.panelGanTa4Hui.Controls.Add(this.label10); this.panelGanTa4Hui.Controls.Add(this.textBox_BLZJ_R_GanTa); this.panelGanTa4Hui.Controls.Add(this.label9); this.panelGanTa4Hui.Controls.Add(this.textBox_BLZJ_L_GanTa); this.panelGanTa4Hui.Controls.Add(this.label8); this.panelGanTa4Hui.Controls.Add(this.textBox_HaiBa_GanTa); this.panelGanTa4Hui.Controls.Add(this.label15); this.panelGanTa4Hui.Controls.Add(this.textBox_DaHao_GanTa); this.panelGanTa4Hui.Controls.Add(this.label14); this.panelGanTa4Hui.Controls.Add(this.textBox_XiaoHao_GanTa); this.panelGanTa4Hui.Controls.Add(this.label13); this.panelGanTa4Hui.Controls.Add(this.textBox_WeiDu_GanTa); this.panelGanTa4Hui.Controls.Add(this.label4); this.panelGanTa4Hui.Controls.Add(this.textBox_DMQJ2_GanTa); this.panelGanTa4Hui.Controls.Add(this.label49); this.panelGanTa4Hui.Controls.Add(this.label17); this.panelGanTa4Hui.Controls.Add(this.textBox_DMQJ1_GanTa); this.panelGanTa4Hui.Controls.Add(this.label16); this.panelGanTa4Hui.Controls.Add(this.textBox_JingDu_GanTa); this.panelGanTa4Hui.Controls.Add(this.label3); this.panelGanTa4Hui.Controls.Add(this.textBox_TaXing_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_Model_GanTa); this.panelGanTa4Hui.Controls.Add(this.label2); this.panelGanTa4Hui.Controls.Add(this.textBox_4GD_Zhong_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_2GD_Zhong_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_3GD_Zhong_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_1GD_Zhong_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_Current_b_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_Current_a_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_4ZJ_Zhong_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_2ZJ_Zhong_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_3ZJ_Zhong_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_1ZJ_Zhong_GanTa); this.panelGanTa4Hui.Controls.Add(this.label41); this.panelGanTa4Hui.Controls.Add(this.label29); this.panelGanTa4Hui.Controls.Add(this.label48); this.panelGanTa4Hui.Controls.Add(this.label40); this.panelGanTa4Hui.Controls.Add(this.label47); this.panelGanTa4Hui.Controls.Add(this.label23); this.panelGanTa4Hui.Controls.Add(this.label39); this.panelGanTa4Hui.Controls.Add(this.label28); this.panelGanTa4Hui.Controls.Add(this.label38); this.panelGanTa4Hui.Controls.Add(this.label19); this.panelGanTa4Hui.Controls.Add(this.textBox_4GD_Xia_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_2GD_Xia_GanTa); this.panelGanTa4Hui.Controls.Add(this.label37); this.panelGanTa4Hui.Controls.Add(this.label27); this.panelGanTa4Hui.Controls.Add(this.textBox_3GD_Xia_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_1GD_Xia_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_4ZJ_Xia_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_2ZJ_Xia_GanTa); this.panelGanTa4Hui.Controls.Add(this.label36); this.panelGanTa4Hui.Controls.Add(this.label22); this.panelGanTa4Hui.Controls.Add(this.textBox_4GD_Shang_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_2GD_Shang_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_3ZJ_Xia_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_1ZJ_Xia_GanTa); this.panelGanTa4Hui.Controls.Add(this.label35); this.panelGanTa4Hui.Controls.Add(this.label26); this.panelGanTa4Hui.Controls.Add(this.textBox_3GD_Shang_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_1GD_Shang_GanTa); this.panelGanTa4Hui.Controls.Add(this.label34); this.panelGanTa4Hui.Controls.Add(this.label25); this.panelGanTa4Hui.Controls.Add(this.label33); this.panelGanTa4Hui.Controls.Add(this.label20); this.panelGanTa4Hui.Controls.Add(this.textBox_4ZJ_Shang_GanTa); this.panelGanTa4Hui.Controls.Add(this.textBox_2ZJ_Shang_GanTa); this.panelGanTa4Hui.Controls.Add(this.label32); this.panelGanTa4Hui.Controls.Add(this.label21); this.panelGanTa4Hui.Controls.Add(this.label31); this.panelGanTa4Hui.Controls.Add(this.label24); this.panelGanTa4Hui.Controls.Add(this.textBox_3ZJ_Shang_GanTa); this.panelGanTa4Hui.Controls.Add(this.label30); this.panelGanTa4Hui.Controls.Add(this.textBox_1ZJ_Shang_GanTa); this.panelGanTa4Hui.Controls.Add(this.label18); this.panelGanTa4Hui.Controls.Add(this.textBox_ID_GanTa); this.panelGanTa4Hui.Controls.Add(this.label1); this.panelGanTa4Hui.Controls.Add(this.textBox_DSMD_GanTa); this.panelGanTa4Hui.Controls.Add(this.label46); this.panelGanTa4Hui.Controls.Add(this.textBox_RaoJiFanJi_GanTa); this.panelGanTa4Hui.Controls.Add(this.label45); this.panelGanTa4Hui.Controls.Add(this.textBox_ZXNZ_GanTa); this.panelGanTa4Hui.Controls.Add(this.label44); this.panelGanTa4Hui.Controls.Add(this.textBox_Angle_GanTa); this.panelGanTa4Hui.Controls.Add(this.label43); this.panelGanTa4Hui.Controls.Add(this.textBox_HuGao_GanTa); this.panelGanTa4Hui.Controls.Add(this.label12); this.panelGanTa4Hui.Controls.Add(this.textBox_JDDZ_GanTa); this.panelGanTa4Hui.Controls.Add(this.label42); this.panelGanTa4Hui.Controls.Add(this.label7); this.panelGanTa4Hui.Controls.Add(this.buttonCancel); this.panelGanTa4Hui.Controls.Add(this.buttonOK); this.panelGanTa4Hui.Dock = System.Windows.Forms.DockStyle.Fill; this.panelGanTa4Hui.Location = new System.Drawing.Point(0, 0); this.panelGanTa4Hui.Name = "panelGanTa4Hui"; this.panelGanTa4Hui.Size = new System.Drawing.Size(878, 638); this.panelGanTa4Hui.TabIndex = 0; this.listBox_DiXing_GanTa.FormattingEnabled = true; this.listBox_DiXing_GanTa.ItemHeight = 12; this.listBox_DiXing_GanTa.Items.AddRange(new object[2] { "平原", "山区" }); this.listBox_DiXing_GanTa.Location = new System.Drawing.Point(692, 45); this.listBox_DiXing_GanTa.Name = "listBox_DiXing_GanTa"; this.listBox_DiXing_GanTa.Size = new System.Drawing.Size(160, 16); this.listBox_DiXing_GanTa.TabIndex = 42; this.textBox_XiangXu4_GanTa.Location = new System.Drawing.Point(140, 528); this.textBox_XiangXu4_GanTa.Name = "textBox_XiangXu4_GanTa"; this.textBox_XiangXu4_GanTa.Size = new System.Drawing.Size(31, 21); this.textBox_XiangXu4_GanTa.TabIndex = 14; this.textBox_BLQ_C_GanTa.Location = new System.Drawing.Point(103, 575); this.textBox_BLQ_C_GanTa.Name = "textBox_BLQ_C_GanTa"; this.textBox_BLQ_C_GanTa.Size = new System.Drawing.Size(31, 21); this.textBox_BLQ_C_GanTa.TabIndex = 17; this.textBox_XiangXu3_GanTa.Location = new System.Drawing.Point(103, 528); this.textBox_XiangXu3_GanTa.Name = "textBox_XiangXu3_GanTa"; this.textBox_XiangXu3_GanTa.Size = new System.Drawing.Size(31, 21); this.textBox_XiangXu3_GanTa.TabIndex = 13; this.textBox_BLQ_B_GanTa.Location = new System.Drawing.Point(66, 575); this.textBox_BLQ_B_GanTa.Name = "textBox_BLQ_B_GanTa"; this.textBox_BLQ_B_GanTa.Size = new System.Drawing.Size(31, 21); this.textBox_BLQ_B_GanTa.TabIndex = 16; this.textBox_XiangXu2_GanTa.Location = new System.Drawing.Point(66, 528); this.textBox_XiangXu2_GanTa.Name = "textBox_XiangXu2_GanTa"; this.textBox_XiangXu2_GanTa.Size = new System.Drawing.Size(31, 21); this.textBox_XiangXu2_GanTa.TabIndex = 12; this.textBox_BLQ_A_GanTa.Location = new System.Drawing.Point(29, 575); this.textBox_BLQ_A_GanTa.Name = "textBox_BLQ_A_GanTa"; this.textBox_BLQ_A_GanTa.Size = new System.Drawing.Size(31, 21); this.textBox_BLQ_A_GanTa.TabIndex = 15; this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(29, 560); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(161, 12); this.label6.TabIndex = 12; this.label6.Text = "A相 B相 C相 是否安装避雷器"; this.textBox_XiangXu1_GanTa.Location = new System.Drawing.Point(29, 528); this.textBox_XiangXu1_GanTa.Name = "textBox_XiangXu1_GanTa"; this.textBox_XiangXu1_GanTa.Size = new System.Drawing.Size(31, 21); this.textBox_XiangXu1_GanTa.TabIndex = 11; this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(29, 513); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(149, 12); this.label5.TabIndex = 16; this.label5.Text = "I回 II回 III回 IV回 相序"; this.textBox_JYZCD_GanTa.Location = new System.Drawing.Point(29, 484); this.textBox_JYZCD_GanTa.Name = "textBox_JYZCD_GanTa"; this.textBox_JYZCD_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_JYZCD_GanTa.TabIndex = 10; this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(29, 469); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(101, 12); this.label11.TabIndex = 11; this.label11.Text = "绝缘子串长度(mm)"; this.textBox_BLXGD_GanTa.Location = new System.Drawing.Point(29, 441); this.textBox_BLXGD_GanTa.Name = "textBox_BLXGD_GanTa"; this.textBox_BLXGD_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_BLXGD_GanTa.TabIndex = 9; this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(29, 426); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(83, 12); this.label10.TabIndex = 9; this.label10.Text = "避雷线高度(m)"; this.textBox_BLZJ_R_GanTa.Location = new System.Drawing.Point(29, 397); this.textBox_BLZJ_R_GanTa.Name = "textBox_BLZJ_R_GanTa"; this.textBox_BLZJ_R_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_BLZJ_R_GanTa.TabIndex = 8; this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(29, 382); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(83, 12); this.label9.TabIndex = 7; this.label9.Text = "右避雷中距(m)"; this.textBox_BLZJ_L_GanTa.Location = new System.Drawing.Point(29, 356); this.textBox_BLZJ_L_GanTa.Name = "textBox_BLZJ_L_GanTa"; this.textBox_BLZJ_L_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_BLZJ_L_GanTa.TabIndex = 7; this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(29, 341); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(83, 12); this.label8.TabIndex = 6; this.label8.Text = "左避雷中距(m)"; this.textBox_HaiBa_GanTa.Location = new System.Drawing.Point(29, 308); this.textBox_HaiBa_GanTa.Name = "textBox_HaiBa_GanTa"; this.textBox_HaiBa_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_HaiBa_GanTa.TabIndex = 6; this.label15.AutoSize = true; this.label15.Location = new System.Drawing.Point(29, 293); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(71, 12); this.label15.TabIndex = 4; this.label15.Text = "海拔高度(m)"; this.textBox_DaHao_GanTa.Location = new System.Drawing.Point(29, 266); this.textBox_DaHao_GanTa.Name = "textBox_DaHao_GanTa"; this.textBox_DaHao_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_DaHao_GanTa.TabIndex = 5; this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(29, 251); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(83, 12); this.label14.TabIndex = 17; this.label14.Text = "大号侧档距(m)"; this.textBox_XiaoHao_GanTa.Location = new System.Drawing.Point(29, 222); this.textBox_XiaoHao_GanTa.Name = "textBox_XiaoHao_GanTa"; this.textBox_XiaoHao_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_XiaoHao_GanTa.TabIndex = 4; this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(29, 207); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(83, 12); this.label13.TabIndex = 5; this.label13.Text = "小号侧档距(m)"; this.textBox_WeiDu_GanTa.Location = new System.Drawing.Point(29, 178); this.textBox_WeiDu_GanTa.Name = "textBox_WeiDu_GanTa"; this.textBox_WeiDu_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_WeiDu_GanTa.TabIndex = 3; this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(29, 163); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(53, 12); this.label4.TabIndex = 8; this.label4.Text = "纬度(°)"; this.textBox_DMQJ2_GanTa.Location = new System.Drawing.Point(691, 487); this.textBox_DMQJ2_GanTa.Name = "textBox_DMQJ2_GanTa"; this.textBox_DMQJ2_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_DMQJ2_GanTa.TabIndex = 52; this.label17.AutoSize = true; this.label17.Location = new System.Drawing.Point(691, 472); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(83, 12); this.label17.TabIndex = 10; this.label17.Text = "地面倾角2(°)"; this.textBox_DMQJ1_GanTa.Location = new System.Drawing.Point(691, 446); this.textBox_DMQJ1_GanTa.Name = "textBox_DMQJ1_GanTa"; this.textBox_DMQJ1_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_DMQJ1_GanTa.TabIndex = 51; this.label16.AutoSize = true; this.label16.Location = new System.Drawing.Point(691, 431); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(83, 12); this.label16.TabIndex = 13; this.label16.Text = "地面倾角1(°)"; this.textBox_JingDu_GanTa.Location = new System.Drawing.Point(29, 133); this.textBox_JingDu_GanTa.Name = "textBox_JingDu_GanTa"; this.textBox_JingDu_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_JingDu_GanTa.TabIndex = 2; this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(29, 118); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(53, 12); this.label3.TabIndex = 14; this.label3.Text = "经度(°)"; this.textBox_Model_GanTa.Location = new System.Drawing.Point(29, 86); this.textBox_Model_GanTa.Name = "textBox_Model_GanTa"; this.textBox_Model_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_Model_GanTa.TabIndex = 1; this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(29, 71); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(53, 12); this.label2.TabIndex = 15; this.label2.Text = "杆塔模型"; this.textBox_4GD_Zhong_GanTa.Location = new System.Drawing.Point(467, 491); this.textBox_4GD_Zhong_GanTa.Name = "textBox_4GD_Zhong_GanTa"; this.textBox_4GD_Zhong_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_4GD_Zhong_GanTa.TabIndex = 40; this.textBox_2GD_Zhong_GanTa.Location = new System.Drawing.Point(247, 491); this.textBox_2GD_Zhong_GanTa.Name = "textBox_2GD_Zhong_GanTa"; this.textBox_2GD_Zhong_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_2GD_Zhong_GanTa.TabIndex = 28; this.textBox_3GD_Zhong_GanTa.Location = new System.Drawing.Point(467, 220); this.textBox_3GD_Zhong_GanTa.Name = "textBox_3GD_Zhong_GanTa"; this.textBox_3GD_Zhong_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_3GD_Zhong_GanTa.TabIndex = 34; this.textBox_1GD_Zhong_GanTa.Location = new System.Drawing.Point(247, 220); this.textBox_1GD_Zhong_GanTa.Name = "textBox_1GD_Zhong_GanTa"; this.textBox_1GD_Zhong_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_1GD_Zhong_GanTa.TabIndex = 22; this.textBox_Current_b_GanTa.Location = new System.Drawing.Point(691, 401); this.textBox_Current_b_GanTa.Name = "textBox_Current_b_GanTa"; this.textBox_Current_b_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_Current_b_GanTa.TabIndex = 50; this.textBox_Current_a_GanTa.Location = new System.Drawing.Point(691, 356); this.textBox_Current_a_GanTa.Name = "textBox_Current_a_GanTa"; this.textBox_Current_a_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_Current_a_GanTa.TabIndex = 49; this.textBox_4ZJ_Zhong_GanTa.Location = new System.Drawing.Point(467, 356); this.textBox_4ZJ_Zhong_GanTa.Name = "textBox_4ZJ_Zhong_GanTa"; this.textBox_4ZJ_Zhong_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_4ZJ_Zhong_GanTa.TabIndex = 37; this.textBox_2ZJ_Zhong_GanTa.Location = new System.Drawing.Point(247, 356); this.textBox_2ZJ_Zhong_GanTa.Name = "textBox_2ZJ_Zhong_GanTa"; this.textBox_2ZJ_Zhong_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_2ZJ_Zhong_GanTa.TabIndex = 25; this.textBox_3ZJ_Zhong_GanTa.Location = new System.Drawing.Point(467, 85); this.textBox_3ZJ_Zhong_GanTa.Name = "textBox_3ZJ_Zhong_GanTa"; this.textBox_3ZJ_Zhong_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_3ZJ_Zhong_GanTa.TabIndex = 31; this.textBox_1ZJ_Zhong_GanTa.Location = new System.Drawing.Point(247, 85); this.textBox_1ZJ_Zhong_GanTa.Name = "textBox_1ZJ_Zhong_GanTa"; this.textBox_1ZJ_Zhong_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_1ZJ_Zhong_GanTa.TabIndex = 19; this.label41.AutoSize = true; this.label41.Location = new System.Drawing.Point(467, 476); this.label41.Name = "label41"; this.label41.Size = new System.Drawing.Size(101, 12); this.label41.TabIndex = 3; this.label41.Text = "B相高度(m) IV回"; this.label29.AutoSize = true; this.label29.Location = new System.Drawing.Point(247, 476); this.label29.Name = "label29"; this.label29.Size = new System.Drawing.Size(101, 12); this.label29.TabIndex = 3; this.label29.Text = "B相高度(m) II回"; this.label48.AutoSize = true; this.label48.Location = new System.Drawing.Point(691, 386); this.label48.Name = "label48"; this.label48.Size = new System.Drawing.Size(71, 12); this.label48.TabIndex = 3; this.label48.Text = "雷电流幅值b"; this.label40.AutoSize = true; this.label40.Location = new System.Drawing.Point(467, 205); this.label40.Name = "label40"; this.label40.Size = new System.Drawing.Size(107, 12); this.label40.TabIndex = 3; this.label40.Text = "B相高度(m) III回"; this.label47.AutoSize = true; this.label47.Location = new System.Drawing.Point(691, 341); this.label47.Name = "label47"; this.label47.Size = new System.Drawing.Size(71, 12); this.label47.TabIndex = 3; this.label47.Text = "雷电流幅值a"; this.label23.AutoSize = true; this.label23.Location = new System.Drawing.Point(247, 205); this.label23.Name = "label23"; this.label23.Size = new System.Drawing.Size(95, 12); this.label23.TabIndex = 3; this.label23.Text = "B相高度(m) I回"; this.label39.AutoSize = true; this.label39.Location = new System.Drawing.Point(467, 341); this.label39.Name = "label39"; this.label39.Size = new System.Drawing.Size(101, 12); this.label39.TabIndex = 3; this.label39.Text = "B相中距(m) IV回"; this.label28.AutoSize = true; this.label28.Location = new System.Drawing.Point(247, 341); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size(101, 12); this.label28.TabIndex = 3; this.label28.Text = "B相中距(m) II回"; this.label38.AutoSize = true; this.label38.Location = new System.Drawing.Point(467, 70); this.label38.Name = "label38"; this.label38.Size = new System.Drawing.Size(107, 12); this.label38.TabIndex = 3; this.label38.Text = "B相中距(m) III回"; this.label19.AutoSize = true; this.label19.Location = new System.Drawing.Point(247, 70); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(95, 12); this.label19.TabIndex = 3; this.label19.Text = "B相中距(m) I回"; this.textBox_4GD_Xia_GanTa.Location = new System.Drawing.Point(467, 536); this.textBox_4GD_Xia_GanTa.Name = "textBox_4GD_Xia_GanTa"; this.textBox_4GD_Xia_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_4GD_Xia_GanTa.TabIndex = 41; this.textBox_2GD_Xia_GanTa.Location = new System.Drawing.Point(247, 536); this.textBox_2GD_Xia_GanTa.Name = "textBox_2GD_Xia_GanTa"; this.textBox_2GD_Xia_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_2GD_Xia_GanTa.TabIndex = 29; this.label37.AutoSize = true; this.label37.Location = new System.Drawing.Point(467, 521); this.label37.Name = "label37"; this.label37.Size = new System.Drawing.Size(101, 12); this.label37.TabIndex = 3; this.label37.Text = "C相高度(m) IV回"; this.label27.AutoSize = true; this.label27.Location = new System.Drawing.Point(247, 521); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(101, 12); this.label27.TabIndex = 3; this.label27.Text = "C相高度(m) II回"; this.textBox_3GD_Xia_GanTa.Location = new System.Drawing.Point(467, 265); this.textBox_3GD_Xia_GanTa.Name = "textBox_3GD_Xia_GanTa"; this.textBox_3GD_Xia_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_3GD_Xia_GanTa.TabIndex = 35; this.textBox_1GD_Xia_GanTa.Location = new System.Drawing.Point(247, 265); this.textBox_1GD_Xia_GanTa.Name = "textBox_1GD_Xia_GanTa"; this.textBox_1GD_Xia_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_1GD_Xia_GanTa.TabIndex = 23; this.textBox_4ZJ_Xia_GanTa.Location = new System.Drawing.Point(467, 401); this.textBox_4ZJ_Xia_GanTa.Name = "textBox_4ZJ_Xia_GanTa"; this.textBox_4ZJ_Xia_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_4ZJ_Xia_GanTa.TabIndex = 38; this.textBox_2ZJ_Xia_GanTa.Location = new System.Drawing.Point(247, 401); this.textBox_2ZJ_Xia_GanTa.Name = "textBox_2ZJ_Xia_GanTa"; this.textBox_2ZJ_Xia_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_2ZJ_Xia_GanTa.TabIndex = 26; this.label36.AutoSize = true; this.label36.Location = new System.Drawing.Point(467, 250); this.label36.Name = "label36"; this.label36.Size = new System.Drawing.Size(107, 12); this.label36.TabIndex = 3; this.label36.Text = "C相高度(m) III回"; this.label22.AutoSize = true; this.label22.Location = new System.Drawing.Point(247, 250); this.label22.Name = "label22"; this.label22.Size = new System.Drawing.Size(95, 12); this.label22.TabIndex = 3; this.label22.Text = "C相高度(m) I回"; this.textBox_4GD_Shang_GanTa.Location = new System.Drawing.Point(467, 446); this.textBox_4GD_Shang_GanTa.Name = "textBox_4GD_Shang_GanTa"; this.textBox_4GD_Shang_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_4GD_Shang_GanTa.TabIndex = 39; this.textBox_2GD_Shang_GanTa.Location = new System.Drawing.Point(247, 446); this.textBox_2GD_Shang_GanTa.Name = "textBox_2GD_Shang_GanTa"; this.textBox_2GD_Shang_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_2GD_Shang_GanTa.TabIndex = 27; this.textBox_3ZJ_Xia_GanTa.Location = new System.Drawing.Point(467, 130); this.textBox_3ZJ_Xia_GanTa.Name = "textBox_3ZJ_Xia_GanTa"; this.textBox_3ZJ_Xia_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_3ZJ_Xia_GanTa.TabIndex = 32; this.textBox_1ZJ_Xia_GanTa.Location = new System.Drawing.Point(247, 130); this.textBox_1ZJ_Xia_GanTa.Name = "textBox_1ZJ_Xia_GanTa"; this.textBox_1ZJ_Xia_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_1ZJ_Xia_GanTa.TabIndex = 20; this.label35.AutoSize = true; this.label35.Location = new System.Drawing.Point(467, 386); this.label35.Name = "label35"; this.label35.Size = new System.Drawing.Size(101, 12); this.label35.TabIndex = 3; this.label35.Text = "C相中距(m) IV回"; this.label26.AutoSize = true; this.label26.Location = new System.Drawing.Point(247, 386); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(101, 12); this.label26.TabIndex = 3; this.label26.Text = "C相中距(m) II回"; this.textBox_3GD_Shang_GanTa.Location = new System.Drawing.Point(467, 175); this.textBox_3GD_Shang_GanTa.Name = "textBox_3GD_Shang_GanTa"; this.textBox_3GD_Shang_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_3GD_Shang_GanTa.TabIndex = 33; this.textBox_1GD_Shang_GanTa.Location = new System.Drawing.Point(247, 175); this.textBox_1GD_Shang_GanTa.Name = "textBox_1GD_Shang_GanTa"; this.textBox_1GD_Shang_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_1GD_Shang_GanTa.TabIndex = 21; this.label34.AutoSize = true; this.label34.Location = new System.Drawing.Point(467, 431); this.label34.Name = "label34"; this.label34.Size = new System.Drawing.Size(101, 12); this.label34.TabIndex = 3; this.label34.Text = "A相高度(m) IV回"; this.label25.AutoSize = true; this.label25.Location = new System.Drawing.Point(247, 431); this.label25.Name = "label25"; this.label25.Size = new System.Drawing.Size(101, 12); this.label25.TabIndex = 3; this.label25.Text = "A相高度(m) II回"; this.label33.AutoSize = true; this.label33.Location = new System.Drawing.Point(467, 115); this.label33.Name = "label33"; this.label33.Size = new System.Drawing.Size(107, 12); this.label33.TabIndex = 3; this.label33.Text = "C相中距(m) III回"; this.label20.AutoSize = true; this.label20.Location = new System.Drawing.Point(247, 115); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(95, 12); this.label20.TabIndex = 3; this.label20.Text = "C相中距(m) I回"; this.textBox_4ZJ_Shang_GanTa.Location = new System.Drawing.Point(467, 311); this.textBox_4ZJ_Shang_GanTa.Name = "textBox_4ZJ_Shang_GanTa"; this.textBox_4ZJ_Shang_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_4ZJ_Shang_GanTa.TabIndex = 36; this.textBox_2ZJ_Shang_GanTa.Location = new System.Drawing.Point(247, 311); this.textBox_2ZJ_Shang_GanTa.Name = "textBox_2ZJ_Shang_GanTa"; this.textBox_2ZJ_Shang_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_2ZJ_Shang_GanTa.TabIndex = 24; this.label32.AutoSize = true; this.label32.Location = new System.Drawing.Point(467, 160); this.label32.Name = "label32"; this.label32.Size = new System.Drawing.Size(107, 12); this.label32.TabIndex = 3; this.label32.Text = "A相高度(m) III回"; this.label21.AutoSize = true; this.label21.Location = new System.Drawing.Point(247, 160); this.label21.Name = "label21"; this.label21.Size = new System.Drawing.Size(95, 12); this.label21.TabIndex = 3; this.label21.Text = "A相高度(m) I回"; this.label31.AutoSize = true; this.label31.Location = new System.Drawing.Point(467, 296); this.label31.Name = "label31"; this.label31.Size = new System.Drawing.Size(101, 12); this.label31.TabIndex = 3; this.label31.Text = "A相中距(m) IV回"; this.label24.AutoSize = true; this.label24.Location = new System.Drawing.Point(247, 296); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(101, 12); this.label24.TabIndex = 3; this.label24.Text = "A相中距(m) II回"; this.textBox_3ZJ_Shang_GanTa.Location = new System.Drawing.Point(467, 40); this.textBox_3ZJ_Shang_GanTa.Name = "textBox_3ZJ_Shang_GanTa"; this.textBox_3ZJ_Shang_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_3ZJ_Shang_GanTa.TabIndex = 30; this.label30.AutoSize = true; this.label30.Location = new System.Drawing.Point(467, 25); this.label30.Name = "label30"; this.label30.Size = new System.Drawing.Size(107, 12); this.label30.TabIndex = 3; this.label30.Text = "A相中距(m) III回"; this.textBox_1ZJ_Shang_GanTa.Location = new System.Drawing.Point(247, 40); this.textBox_1ZJ_Shang_GanTa.Name = "textBox_1ZJ_Shang_GanTa"; this.textBox_1ZJ_Shang_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_1ZJ_Shang_GanTa.TabIndex = 18; this.label18.AutoSize = true; this.label18.Location = new System.Drawing.Point(247, 25); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(95, 12); this.label18.TabIndex = 3; this.label18.Text = "A相中距(m) I回"; this.textBox_ID_GanTa.Location = new System.Drawing.Point(29, 40); this.textBox_ID_GanTa.Name = "textBox_ID_GanTa"; this.textBox_ID_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_ID_GanTa.TabIndex = 0; this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(29, 25); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(53, 12); this.label1.TabIndex = 3; this.label1.Text = "杆塔编号"; this.textBox_DSMD_GanTa.Location = new System.Drawing.Point(692, 311); this.textBox_DSMD_GanTa.Name = "textBox_DSMD_GanTa"; this.textBox_DSMD_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_DSMD_GanTa.TabIndex = 48; this.label46.AutoSize = true; this.label46.Location = new System.Drawing.Point(690, 296); this.label46.Name = "label46"; this.label46.Size = new System.Drawing.Size(137, 12); this.label46.TabIndex = 1; this.label46.Text = "地闪密度(次/(km^2*年))"; this.textBox_RaoJiFanJi_GanTa.Location = new System.Drawing.Point(691, 265); this.textBox_RaoJiFanJi_GanTa.Name = "textBox_RaoJiFanJi_GanTa"; this.textBox_RaoJiFanJi_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_RaoJiFanJi_GanTa.TabIndex = 47; this.label45.AutoSize = true; this.label45.Location = new System.Drawing.Point(691, 250); this.label45.Name = "label45"; this.label45.Size = new System.Drawing.Size(53, 12); this.label45.TabIndex = 1; this.label45.Text = "绕击反击"; this.textBox_ZXNZ_GanTa.Location = new System.Drawing.Point(692, 220); this.textBox_ZXNZ_GanTa.Name = "textBox_ZXNZ_GanTa"; this.textBox_ZXNZ_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_ZXNZ_GanTa.TabIndex = 46; this.label44.AutoSize = true; this.label44.Location = new System.Drawing.Point(692, 205); this.label44.Name = "label44"; this.label44.Size = new System.Drawing.Size(89, 12); this.label44.TabIndex = 1; this.label44.Text = "直线或耐张杆塔"; this.textBox_Angle_GanTa.Location = new System.Drawing.Point(692, 175); this.textBox_Angle_GanTa.Name = "textBox_Angle_GanTa"; this.textBox_Angle_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_Angle_GanTa.TabIndex = 45; this.label43.AutoSize = true; this.label43.Location = new System.Drawing.Point(692, 160); this.label43.Name = "label43"; this.label43.Size = new System.Drawing.Size(41, 12); this.label43.TabIndex = 1; this.label43.Text = "电角度"; this.textBox_HuGao_GanTa.Location = new System.Drawing.Point(692, 130); this.textBox_HuGao_GanTa.Name = "textBox_HuGao_GanTa"; this.textBox_HuGao_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_HuGao_GanTa.TabIndex = 44; this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(692, 115); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(71, 12); this.label12.TabIndex = 1; this.label12.Text = "杆塔呼高(m)"; this.textBox_JDDZ_GanTa.Location = new System.Drawing.Point(692, 85); this.textBox_JDDZ_GanTa.Name = "textBox_JDDZ_GanTa"; this.textBox_JDDZ_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_JDDZ_GanTa.TabIndex = 43; this.label42.AutoSize = true; this.label42.Location = new System.Drawing.Point(692, 25); this.label42.Name = "label42"; this.label42.Size = new System.Drawing.Size(29, 12); this.label42.TabIndex = 1; this.label42.Text = "地形"; this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(692, 71); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(77, 12); this.label7.TabIndex = 1; this.label7.Text = "接地电阻(Ω)"; this.buttonCancel.Location = new System.Drawing.Point(744, 596); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(108, 28); this.buttonCancel.TabIndex = 55; this.buttonCancel.Text = "取消"; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(buttonCancel_Click); this.buttonOK.Location = new System.Drawing.Point(613, 596); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(108, 28); this.buttonOK.TabIndex = 54; this.buttonOK.Text = "确定"; this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.Click += new System.EventHandler(buttonOK_Click); this.label49.AutoSize = true; this.label49.Location = new System.Drawing.Point(689, 521); this.label49.Name = "label49"; this.label49.Size = new System.Drawing.Size(29, 12); this.label49.TabIndex = 10; this.label49.Text = "塔型"; this.textBox_TaXing_GanTa.Location = new System.Drawing.Point(692, 536); this.textBox_TaXing_GanTa.Name = "textBox_TaXing_GanTa"; this.textBox_TaXing_GanTa.Size = new System.Drawing.Size(161, 21); this.textBox_TaXing_GanTa.TabIndex = 53; base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new System.Drawing.Size(878, 638); base.Controls.Add(this.panelGanTa4Hui); base.Name = "FormGanTa4Hui"; base.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "FormGanTa4Hui"; base.FormClosing += new System.Windows.Forms.FormClosingEventHandler(FormGanTa4Hui_FormClosing); base.Load += new System.EventHandler(FormGanTa4Hui_Load); this.panelGanTa4Hui.ResumeLayout(false); this.panelGanTa4Hui.PerformLayout(); base.ResumeLayout(false); } }