/// <summary> /// 编辑扇区 /// </summary> /// <param name="SectorID"></param> /// <param name="MyAntennaTypes"></param> protected void EditSectors(string SectorID, List <AirComAntennaType> MyAntennaTypes) { FrmSector _frmSector = new FrmSector(); _frmSector.LoadSectorInfo(SectorID, MyAntennaTypes); _frmSector.RegistAppendSectorEvent(SubDoAppenSectorEvent); _frmSector.ShowDialog(); }
private void SubDoCreateNewSector(object Sender, EventArgs e) { if (this.InvokeRequired) { object[] Params = new object[] { Sender, e }; this.Invoke(new Action <object, EventArgs>(this.SubDoCreateNewSector), Params); return; } FrmSector _frmSector = new FrmSector(); _frmSector.RegistAppendSectorEvent(SubDoAppenSectorEvent); _frmSector.ShowDialog(); }