private void smvpSingleStation_ClickEditStationButton(object sender, EventArgs e)
        {
            //修改分站信息

            //tempSingleStation = (StationMakeupVspanel)((StationCaptionPanel)((ButtonCaptionPanel)sender).Parent).Parent;
            //DataRow dr = sbll.getStationInfo(int.Parse(((StationMakeupVspanel)((StationCaptionPanel)((ButtonCaptionPanel)sender).Parent).Parent).StationAddress.ToString()));

            cmsStationHand1 = int.Parse(((StationMakeupVspanel)((StationCaptionPanel)((ButtonCaptionPanel)sender).Parent).Parent).StationAddress.ToString());
            intStationAddress = cmsStationHand1;

            A_Station_Add fr = new A_Station_Add(this);
            fr.ShowDialog();

        }
        private void bcpAddNewStation_Click(object sender, EventArgs e)
        {
            //tempSingleStation = (StationMakeupVspanel)((StationCaptionPanel)((ButtonCaptionPanel)sender).Parent).Parent;
            //tempSingleStation = (StationMakeupVspanel)((StationCaptionPanel)((ButtonCaptionPanel)sender).Parent).Parent;

            //cmsStationHand1 = tempSingleStation.StationAddress;
            ////A_Station_Add frm = new A_Station_Add();
            ////DialogResult dr = frm.ShowDialog();
            ////if (dr == DialogResult.OK)
            ////{
            ////    if (!New_DBAcess.IsDouble)
            ////    {
            ////        InitData();             // 重新加载
            ////    }
            ////    else
            ////    {
            ////        timer1.Start();
            ////    }
            ////}
            //pl_AddStationInfo.Visible = true;
            //pl_AddStationInfo.BringToFront();
            //ClearStation();     //清空数据
            //txt_StationAddress.Enabled = true;
            //bt_Station_Reset.Enabled = true;
            //bcp_StationTitle.CaptionTitle = "新增传输分站";
            //lb_StationTipsInfo.Visible = label110.Visible = false;

            intStationAddress = -1;

            A_Station_Add fr = new A_Station_Add(this);
            fr.ShowDialog();
        }