Exemplo n.º 1
0
        void AddDockingWindow()
        {
            RemoveDockingWindow();

            dockingForm = new AddonDockingForm();
            dockingForm.Show(ApplicationData.DockPanel, DockState.Float);
        }
Exemplo n.º 2
0
        //

        public override DockContent OnCreateDockingWindowAtLoading(string windowTypeName)
        {
            if (dockingForm == null && windowTypeName == typeof(AddonDockingForm).ToString())
            {
                dockingForm = new AddonDockingForm();
                return(dockingForm);
            }
            return(base.OnCreateDockingWindowAtLoading(windowTypeName));
        }
Exemplo n.º 3
0
 void RemoveDockingWindow()
 {
     if (dockingForm != null)
     {
         dockingForm.Close();
         dockingForm.Dispose();
         dockingForm = null;
     }
 }
Exemplo n.º 4
0
		//

		public override DockContent OnCreateDockingWindowAtLoading( string windowTypeName )
		{
			if( dockingForm == null && windowTypeName == typeof( AddonDockingForm ).ToString() )
			{
				dockingForm = new AddonDockingForm();
				return dockingForm;
			}
			return base.OnCreateDockingWindowAtLoading( windowTypeName );
		}
Exemplo n.º 5
0
		void RemoveDockingWindow()
		{
			if( dockingForm != null )
			{
				dockingForm.Close();
				dockingForm.Dispose();
				dockingForm = null;
			}
		}
Exemplo n.º 6
0
		void AddDockingWindow()
		{
			RemoveDockingWindow();

			dockingForm = new AddonDockingForm();
			dockingForm.Show( ApplicationData.DockPanel, DockState.Float );
		}