public void Release() { _snapshotControl.Release(); _snapshotControl = null; _digitalInfoControl.Release(); _digitalInfoControl = null; DataChanged = null; SelectedEditorChanged = null; SnapshotData = null; }
public void InitControls() { _snapshotControl = new SnapshotScheduleEditorControl(); _snapshotControl.DataChanged += OnSnapshotDataChanged; _digitalInfoControl = new SnapshotDigitalInfoControl(this); xtraTabControl.TabPages.AddRange(new XtraTabPage[] { _snapshotControl, _digitalInfoControl, }); _snapshotControl.InitControls(); _digitalInfoControl.InitControls(); xtraTabControl.SelectedPageChanged += OnSelectedSnapshotsSetEditorChanged; }