public override void Closing() { uctg.OnTravelSelectionChanged -= Uctg_OnTravelSelectionChanged; computer.ShutDown(); SQLiteConnectionUser.PutSettingDouble(DbSave + "PlotMin", textMinRadius.Value); SQLiteConnectionUser.PutSettingDouble(DbSave + "PlotMax", textMaxRadius.Value); }
public override void Closing() { DGVSaveColumnLayout(dataGridView, DbColumnSave); conditionFilterUC.Check(); // checks, ignore string return errors, fills in Result SQLiteConnectionUser.PutSettingString(DbQuerySave, conditionFilterUC.Result.ToString()); Queries.Instance.Save(); SQLiteConnectionUser.PutSettingDouble(DbSplitterSave, splitContainer.GetSplitterDistance()); }
public override void Closing() { uctg.OnTravelSelectionChanged -= Uctg_OnTravelSelectionChanged; computer.ShutDown(); SQLiteConnectionUser.PutSettingDouble(DbSave + "PlotMin", textMinRadius.Value); SQLiteConnectionUser.PutSettingDouble(DbSave + "PlotMax", textMaxRadius.Value); SQLiteConnectionUser.PutSettingString(DbSave + "PlotOrientation", comboBoxView.SelectedItem.ToString()); }
public override void Closing() { uctg.OnTravelSelectionChanged -= Uctg_OnTravelSelectionChanged; computer.ShutDown(); SQLiteConnectionUser.PutSettingDouble(DbSave + "Min", textMinRadius.Value); SQLiteConnectionUser.PutSettingDouble(DbSave + "Max", textMaxRadius.Value); SQLiteConnectionUser.PutSettingBool(DbSave + "Behaviour", checkBoxCube.Checked); }
public void Closing() { SQLiteConnectionUser.PutSettingDouble(DbRadiusMin, numberBoxMinRadius.Value); SQLiteConnectionUser.PutSettingDouble(DbRadiusMax, numberBoxMaxRadius.Value); SQLiteConnectionUser.PutSettingDouble(DbX, numberBoxDoubleX.Value); SQLiteConnectionUser.PutSettingDouble(DbY, numberBoxDoubleY.Value); SQLiteConnectionUser.PutSettingDouble(DbZ, numberBoxDoubleZ.Value); SQLiteConnectionUser.PutSettingString(DbStar, textBoxSystemName.Text); }
public override void Closing() { uctg.OnTravelSelectionChanged -= Uctg_OnTravelSelectionChanged; computer.ShutDown(); SQLiteConnectionUser.PutSettingDouble(DbSave + "MapMin", textMinRadius.Value); SQLiteConnectionUser.PutSettingDouble(DbSave + "MapMax", textMaxRadius.Value); SQLiteConnectionUser.PutSettingInt(DbSave + "MapMaxItems", maxitems); SQLiteConnectionUser.PutSettingDouble(DbSave + "MapRotationX", prevxr); SQLiteConnectionUser.PutSettingDouble(DbSave + "MapRotationY", prevyr); }
public void Closing() { SQLiteConnectionUser.PutSettingDouble(DbRadiusMin, numberBoxMinRadius.Value); SQLiteConnectionUser.PutSettingDouble(DbRadiusMax, numberBoxMaxRadius.Value); SQLiteConnectionUser.PutSettingDouble(DbX, numberBoxDoubleX.Value); SQLiteConnectionUser.PutSettingDouble(DbY, numberBoxDoubleY.Value); SQLiteConnectionUser.PutSettingDouble(DbZ, numberBoxDoubleZ.Value); SQLiteConnectionUser.PutSettingString(DbStar, textBoxSystemName.Text); SQLiteConnectionUser.PutSettingBool(DbCube, checkBoxCustomCube.Checked); SQLiteConnectionUser.PutSettingBool(DbEVS, extCheckBoxExcludeVisitedSystems.Checked); }
private void ChartMap_MouseUp(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { prevxr = Cursor.Position.X; // record the last mouse position prevyr = Cursor.Position.Y; // SQLiteConnectionUser.PutSettingDouble(DbSave + "MapRotationX", prevxr); SQLiteConnectionUser.PutSettingDouble(DbSave + "MapRotationY", prevyr); CenterMouseOverControl(chartMap); Cursor.Show(); // show the cursor } if (e.Button == MouseButtons.Middle) { // return to the default cursor Cursor.Current = Cursors.Default; } }