Exemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (TransactionsTable != null)
            {
                TransactionsTable.Dispose();
                TransactionsTable = null;
            }

            if (DateColumn != null)
            {
                DateColumn.Dispose();
                DateColumn = null;
            }

            if (DescriptionColumn != null)
            {
                DescriptionColumn.Dispose();
                DescriptionColumn = null;
            }

            if (ValueColumn != null)
            {
                ValueColumn.Dispose();
                ValueColumn = null;
            }
        }
Exemplo n.º 2
0
        void ReleaseDesignerOutlets()
        {
            if (OccupationTable != null)
            {
                OccupationTable.Dispose();
                OccupationTable = null;
            }

            if (OccupationColumn != null)
            {
                OccupationColumn.Dispose();
                OccupationColumn = null;
            }

            if (DescriptionColumn != null)
            {
                DescriptionColumn.Dispose();
                DescriptionColumn = null;
            }
        }