コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (keyImageView1 != null)
            {
                keyImageView1.Dispose();
                keyImageView1 = null;
            }

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

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

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

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

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

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

            if (tapGestureRecognizer4 != null)
            {
                tapGestureRecognizer4.Dispose();
                tapGestureRecognizer4 = null;
            }
        }
コード例 #2
0
		void ReleaseDesignerOutlets ()
		{
			if (keyImageView1 != null) {
				keyImageView1.Dispose ();
				keyImageView1 = null;
			}

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

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

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

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

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

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

			if (tapGestureRecognizer4 != null) {
				tapGestureRecognizer4.Dispose ();
				tapGestureRecognizer4 = null;
			}
		}
コード例 #3
0
 partial void MenuDismissed(MonoTouch.UIKit.UITapGestureRecognizer sender)
 {
     pageView.SelectParagraphAtPosition(new System.Drawing.PointF(-100.0f, -100.0f), false);
 }