void ReleaseDesignerOutlets()
        {
            if (DrawView != null)
            {
                DrawView.Dispose();
                DrawView = null;
            }

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

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

            if (SliderToControlItems != null)
            {
                SliderToControlItems.Dispose();
                SliderToControlItems = null;
            }
        }
Beispiel #2
0
        void ReleaseDesignerOutlets()
        {
            if (ContentView != null)
            {
                ContentView.Dispose();
                ContentView = null;
            }

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

            if (ImageView != null)
            {
                ImageView.Dispose();
                ImageView = null;
            }
        }
Beispiel #3
0
        void ReleaseDesignerOutlets()
        {
            if (BrushColor != null)
            {
                BrushColor.Dispose();
                BrushColor = null;
            }

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

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

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

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

            if (undoBT != null)
            {
                undoBT.Dispose();
                undoBT = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (CleanAllButton != null)
            {
                CleanAllButton.Dispose();
                CleanAllButton = null;
            }

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

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

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

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

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

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

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

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

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