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

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

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

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

            if (ToolbarPrint != null) {
                ToolbarPrint.Dispose ();
                ToolbarPrint = null;
            }
        }
Esempio n. 2
0
        void ReleaseDesignerOutlets()
        {
            if (ToolbarAutoComplete != null)
            {
                ToolbarAutoComplete.Dispose();
                ToolbarAutoComplete = null;
            }

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

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

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

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