Пример #1
0
 private void butImport_Click(object sender, EventArgs e)
 {
     openFileDialog.Filter = @"OpenCBS Settings files|*.Settings";
     openFileDialog.FileName = @"OpenCBS.Settings";
     if (openFileDialog.ShowDialog() == DialogResult.OK)
     {
         string fileName = openFileDialog.FileName;
         Form frm = new FrmSettingsImportExport(fileName);
         frm.ShowDialog();
     }
 }
Пример #2
0
 private void butExport_Click(object sender, EventArgs e)
 {
     Form frm = new FrmSettingsImportExport();
     frm.ShowDialog();
 }