Beispiel #1
0
        public FloatProgression clone()
        {
            FloatProgression clone = new FloatProgression();

            clone.Copy(this);
            return(clone);
        }
Beispiel #2
0
        private void LoadProgression(string filename)
        {
            XmlSerializer    s  = new XmlSerializer(typeof(FloatProgression), new Type[] { });
            Stream           st = File.OpenRead(filename);
            FloatProgression loadedProgression = new FloatProgression();

            loadedProgression = (FloatProgression)s.Deserialize(st);
            st.Close();

            data.Copy(loadedProgression);

            bInitialized = false;
            getModifiedData();
            bInitialized = true;
            refreshListBox();
            refreshTextBoxes();
            refreshGraph();
            chartControl1.Refresh();
            updateEnableState();
        }