Ejemplo n.º 1
0
        public TransferBase()
        {
            string dir = "..\\..\\..\\config_files\\";

            appconfig = Directory.Exists(dir) ? dir + GetType().Name.Substring(0, 7) + ".xml" : ".\\config.xml";
            pd        = ParamaterData.Load(appconfig);
            pd.extentions.Clear();
            Initialize();
        }
Ejemplo n.º 2
0
        private void tiSystemConfig_Click(object sender, EventArgs e)
        {
            ConfigForm cf = new ConfigForm();

            cf.pd = pd.Clone();
            cf.ShowDialog();
            if (cf.needSave)
            {
                pd = cf.pd;
            }
        }
Ejemplo n.º 3
0
 public NewMainForm()
 {
     InitializeComponent();
     trans = values.transducer;
     pd    = trans.pd;
 }