public A_Station_Head_Add(A_FrmStationInfo frm) { InitializeComponent(); frmSi = frm; blIsUpDate = frm.blIsUpDate; intStationAddressJudgment = frm.intStationAddressJudgment; intStationHeadID = frm.intStationHeadID; GetStationHead_Add(); }
public A_Station_Add(A_FrmStationInfo frm) { InitializeComponent(); frmSi = frm; cmb_StationPacket.Text = "1"; intStationAddress = frm.intStationAddress; GetStation_Add(); //Czlt-2011-11-29 判断交直流是否启用 IsOpenJHJ(); }
//分站 private void tsmiStationConfig_Click(object sender, EventArgs e) { if (Searcher.FindFormByName("A_FrmStationInfo")) { return; } //验证用户密码 if (!IsValidate()) { return; } ILogger.Write(EnumLogType.OperateLog, strLogPath + DateTime.Now.ToString("yyyy-MM-dd") + ".xml", LoginBLL.user, "打开分站菜单"); A_FrmStationInfo frmE = new A_FrmStationInfo(); frmE.Show(dockPanel1, DockState.Document); }