Example #1
0
        public OptionsForm(ClientCommonAPI.IClientHost host,
                           List <ClientCommonAPI.PhysicalLocation> locations,
                           bool showNearestAzmRotation,
                           bool connectToStellarium,
                           int stellariumTcpPort,
                           bool oppositeHorzPositioningDir,
                           ClientCommonAPI.AutoTrack autoTrack,
                           ClientCommonAPI.LoggingState lstate,
                           ClientCommonAPI.LoggingChannel lchannel,
                           ClientCommonAPI.LoggingType ltype0,
                           ClientCommonAPI.LoggingType ltype1,
                           List <int> logData)
        {
            host_                      = host;
            locations_                 = locations;
            nightMode_                 = host.NightMode;
            Latitude                   = host.Latitude;
            Longitude                  = host.Longitude;
            ShowNearestAzmRotation     = showNearestAzmRotation;
            ConnectToStellarium        = connectToStellarium;
            StellariumTcpPort          = stellariumTcpPort;
            OppositeHorzPositioningDir = oppositeHorzPositioningDir;
            AutoTrack                  = autoTrack;
#if LOGGING_ON
            LoggingState   = lstate;
            LoggingChannel = lchannel;
            LoggingType0   = ltype0;
            LoggingType1   = ltype1;
            LogData        = logData;
#endif
            InitializeComponent();
        }
Example #2
0
 public AlignmentForm(ClientCommonAPI.IClientHost host, LastSettings settings, DSCAlignment alignment)
 {
     host_      = host;
     nightMode_ = host.NightMode;
     latitude_  = host.Latitude;
     longitude_ = host.Longitude;
     Settings   = settings;
     Alignment  = alignment;
     InitializeComponent();
 }
Example #3
0
 public SkyObjectForm(ClientCommonAPI.IClientHost host,
                      List <ClientCommonAPI.ObjDatabaseEntry> database,
                      StellariumServer.Connection stellariumConnection,
                      SkyObjectPosCalc.SkyPosition[] lastObjects,
                      LastSettings settings)
 {
     nightMode_            = host.NightMode;
     latitude_             = host.Latitude;
     longitude_            = host.Longitude;
     database_             = database;
     stellariumConnection_ = stellariumConnection;
     lastObjects_          = lastObjects;
     settings_             = settings;
     InitializeComponent();
 }