Ejemplo n.º 1
0
 private void SaveToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (saveFileDialog.ShowDialog() == DialogResult.OK)
     {
         RobotFile.Save(saveFileDialog.FileName);
     }
 }
Ejemplo n.º 2
0
 private void LoadToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (openFileDialog.ShowDialog() == DialogResult.OK)
     {
         RobotFile.Load(openFileDialog.FileName);
         robotFileGroupBox.Text    = openFileDialog.SafeFileName;
         robotFileGroupBox.Visible = true;
     }
 }