Beispiel #1
0
        private void comboBoxTransformationType_SelectedIndexChanged(object sender, EventArgs e)
        {
            TransfomationType tt =
                dt[comboBoxTransformationType.SelectedItem + ""];
            Tuple <TransfomationType, PhysicalUnitTypeAttribute, bool,
                   double, double[], byte[], DateTime, Tuple <Dictionary <int, string>, double[]> > t = orbit.Tuple;

            orbit.Tuple = new Tuple <TransfomationType, PhysicalUnitTypeAttribute, bool,
                                     double, double[], byte[], DateTime, Tuple <Dictionary <int, string>, double[]> >(
                tt, t.Item2, t.Item3, t.Item4, t.Item5, t.Item6, t.Item7, t.Rest);
        }
Beispiel #2
0
        private void comboBoxTransformationType_SelectedIndexChanged(object sender, EventArgs e)
        {
            TransfomationType tt =
                dt[comboBoxTransformationType.SelectedItem + ""];
            Tuple <TransfomationType, PhysicalUnitTypeAttribute, bool,
                   double, double[], byte[], DateTime, Tuple <Dictionary <int, string>, double[]> > t = orbit.Tuple;

            orbit.Tuple = new Tuple <TransfomationType, PhysicalUnitTypeAttribute, bool,
                                     double, double[], byte[], DateTime, Tuple <Dictionary <int, string>, double[]> >(
                tt, t.Item2, t.Item3, t.Item4, t.Item5, t.Item6, t.Item7, t.Rest);
            bool b = tt == TransfomationType.TimeToMotion;

            foreach (Control c in tabPageExport.Controls)
            {
                c.Enabled = b;
            }
        }