public WindowSettings BuildSettings( )
		{
//_logger.Info( "BuildSettings" );
			WindowSettings W = new WindowSettings( ScienceChecklistAddon.WINDOW_NAME_STATUS );
			W.Set( "Top", (int)windowPos.yMin );
			W.Set( "Left", (int)windowPos.xMin );
			W.Set( "Visible", IsVisible( ) );

			return W;
		}
Beispiel #2
0
        public WindowSettings BuildSettings()
        {
            //_logger.Info( "BuildSettings" );
            WindowSettings W = new WindowSettings(ScienceChecklistAddon.WINDOW_NAME_SHIP_STATE);

            W.Set("Top", (int)windowPos.yMin);
            W.Set("Left", (int)windowPos.xMin);
            W.Set("Width", (int)windowPos.width);
            W.Set("Height", (int)windowPos.height);

            return(W);
        }
        public WindowSettings BuildSettings( )
        {
//_logger.Info( "BuildSettings" );
            WindowSettings W = new WindowSettings(ScienceChecklistAddon.WINDOW_NAME_CHECKLIST);

            W.Set("Top", (int)_rect.yMin);
            W.Set("Left", (int)_rect.xMin);
            W.Set("CompactTop", (int)_rect3.yMin);
            W.Set("CompactLeft", (int)_rect3.xMin);
            W.Set("Visible", IsVisible);
            W.Set("Compacted", _compactMode);
            W.Set("FilterMode", _filter.DisplayMode.ToString( ));
            W.Set("FilterText", _filter.Text);

            return(W);
        }