2 using System.Collections.Generic;
 
    3 using System.ComponentModel;
 
    7 using System.Windows.Forms;
 
    9 namespace Sample_Environment_Control_Interface.Dialogs.Config
 
   15             InitializeComponent();
 
   20             openFileDialog1.InitialDirectory = Seci.SeciInterface.SeciStatus.ConfigDir;
 
   22             if (openFileDialog1.ShowDialog() == DialogResult.OK)
 
   24                 txtFile.Text = openFileDialog1.FileName;
 
   30             if (!String.IsNullOrEmpty(txtFile.Text))
 
   32                 Seci.SeciInterface.Configuration_Merge(txtFile.Text);
 
   34                 DialogResult = DialogResult.OK;
 
   40                 MessageBox.Show(
"Please select a configuration to add.", 
"Configuration Not Selected!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
 
void btnBrowse_Click(object sender, EventArgs e)
void btnAdd_Click(object sender, EventArgs e)