Ejemplo n.º 1
0
		public void InitControls()
		{
			_sectionControl = new SectionControl(this);
			_digitalInfoControl = new SectionDigitalInfoControl(this);
			_customSummaryControl = new SectionSummaryControl(this);

			xtraTabControl.TabPages.AddRange(new XtraTabPage[]
			{
				_sectionControl,
				_digitalInfoControl,
				_customSummaryControl,
			});

			_sectionControl.InitControls();
			_digitalInfoControl.InitControls();
			_customSummaryControl.InitControls();

			xtraTabControl.SelectedPageChanged += OnSelectedSectionEditorChanged;
		}
Ejemplo n.º 2
0
		public void Release()
		{
			_sectionControl.Release();
			_sectionControl = null;

			_digitalInfoControl.Release();
			_digitalInfoControl = null;

			_customSummaryControl.Release();
			_customSummaryControl = null;

			DataChanged = null;
			SectionEditorChanged = null;
			SectionData = null;
		}