public AddInterfaceAndStation (ComunicationNet pDB, IAction pNewInteface) { InitializeComponent(); m_InterfacesDataTable = pDB.Interfaces; StationTab = pDB.Station; pgInterface.SelectedObject = pNewInteface; }
public override IAction CreateNewChildObject() { ComunicationNet.StationDataTable stationTable = m_dataset.Station; #if UNDOREDO RTLib.DataBase.UndoRedo.UndoRedoMenager.SuspendLogging(); #endif ComunicationNet.StationRow cr = stationTable.NewStationRow("<root>"); #if UNDOREDO RTLib.DataBase.UndoRedo.UndoRedoMenager.ResumeLogging(); #endif return(new StationRowWrapper(cr, null)); }