コード例 #1
0
 public ObjectFromCoordinatesForm(bool nightMode, double latitude, double longitude, LastSettings settings)
 {
     nightMode_ = nightMode;
     latitude_  = latitude;
     longitude_ = longitude;
     settings_  = settings;
     InitializeComponent();
 }
コード例 #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();
 }
コード例 #3
0
        public ObjectFromListForm(bool nightMode, double latitude, double longitude, List <ClientCommonAPI.ObjDatabaseEntry> database, LastSettings settings)
        {
            System.Diagnostics.Debug.Assert(database != null);

            nightMode_ = nightMode;
            latitude_  = latitude;
            longitude_ = longitude;
            database_  = database;
            settings_  = settings;
            InitializeComponent();
        }
コード例 #4
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();
 }