Ejemplo n.º 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            OpenFileDialog newof = new OpenFileDialog();

            if (newof.ShowDialog() == DialogResult.OK)
            {
                cfile = CallibrationFile.Load(newof.FileName);
            }
            UpdateForm();
        }
Ejemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            cfile = new CallibrationFile();
            foreach (ActionList al in ActionList.actionlists)
            {
                cfile.actionlists.Add(al);
            }
            SaveFileDialog newsf = new SaveFileDialog();

            if (newsf.ShowDialog() == DialogResult.OK)
            {
                cfile.Save(newsf.FileName);
            }
        }