Ejemplo n.º 1
0
        /// <summary>Handles the Click event of the bCreateObject control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        private void bCreateObject_Click(object sender, EventArgs e)
        {
            SimpleDataObject simpleDataObject = new SimpleDataObject();

            InfoOutput infoOutput = new InfoOutput();

            simpleDataObject.FillInfoOutput(infoOutput);

            InfoOutputPackage generalPackage = infoOutput.GetGeneralPackage();

            InfoOutputParentChildDataTable parentChildDataTable = generalPackage.GetParentChildDataTable("ParentTable");

            InitializeDataGridViews(parentChildDataTable);
        }
Ejemplo n.º 2
0
        public void GetGeneralPackage_noArgument_IsNotNull()
        {
            InfoOutputPackage generalPackage = m_InfoOutput.GetGeneralPackage();

            Assert.That(generalPackage, Is.Not.Null);
        }