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

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

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

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

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

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

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

            if (SheetControl != null)
            {
                SheetControl.Dispose();
                SheetControl = null;
            }
        }
Exemplo n.º 2
0
 public override void AwakeFromNib()
 {
     base.AwakeFromNib();
     LangButton.SelectSegment(NSUserDefaults.StandardUserDefaults.IntForKey(AppConstants.langSelectedKey));
     FmlaButton.SelectSegment(NSUserDefaults.StandardUserDefaults.IntForKey(AppConstants.fmlaSelectedKey));
 }