예제 #1
0
        void ReleaseDesignerOutlets()
        {
            if (EditBtn != null)
            {
                EditBtn.Dispose();
                EditBtn = null;
            }

            if (ExcerciseTable != null)
            {
                ExcerciseTable.Dispose();
                ExcerciseTable = null;
            }
        }
예제 #2
0
        void ReleaseDesignerOutlets()
        {
            if (bannerView != null)
            {
                bannerView.Dispose();
                bannerView = null;
            }

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

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

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

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

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

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

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

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

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

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