Пример #1
0
        void ReleaseDesignerOutlets()
        {
            if (VCAddCase != null)
            {
                VCAddCase.Dispose();
                VCAddCase = null;
            }

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

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

            if (VCMessanger != null)
            {
                VCMessanger.Dispose();
                VCMessanger = null;
            }
        }
Пример #2
0
        void ReleaseDesignerOutlets()
        {
            if (VCCases != null)
            {
                VCCases.Dispose();
                VCCases = null;
            }

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

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