Exemple #1
0
        /// <summary>
        /// Load
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnLoad_Click(object sender, EventArgs e)
        {
            IsoReadSettingFileForm rsfm = new IsoReadSettingFileForm();

            rsfm.FillFiles(App_Configure.Cnfgs.Path_Usr_Vsw);

            if (rsfm.ShowDialog() == DialogResult.OK)
            {
                if (File.Exists(App_Configure.Cnfgs.Path_Usr_Vsw + "\\" + rsfm.FileName))
                {
                    //App_Configure.Cnfgs.File_Usr_Vsw = rsfm.FileName;

                    Settings_Vsw vsw = new Settings_Vsw(App_Configure.Cnfgs.Path_Usr_Vsw + "\\" +
                                                        rsfm.FileName);

                    vsw.LoadSettings();

                    vsw.Clone(this.settings);

                    GetVswrSettings();
                }
            }

            rsfm.Dispose();
        }