Esempio n. 1
0
        /// <summary>
        /// Apply changed settings
        /// </summary>
        public void ApplyChanges()
        {
            if (comboBoxPath.Tag != null || textArgs.Tag != null)
            {
                string    name = Path.GetFileNameWithoutExtension(comboBoxPath.Text.Trim());
                AppHelper app  = new AppHelper(name, comboBoxPath.Text, textArgs.Text.Trim());
                Properties.Settings.Default.MergeAppHelper = app.ToString();

                ClassMerge.Configure(app);
            }
        }
Esempio n. 2
0
        /// <summary>
        /// Apply changed settings
        /// </summary>
        public void ApplyChanges()
        {
            if (comboBoxPath.Tag != null || textArgs.Tag != null)
            {
                try
                {
                    string    name = Path.GetFileNameWithoutExtension(comboBoxPath.Text.Trim());
                    AppHelper app  = new AppHelper(name, comboBoxPath.Text, textArgs.Text.Trim());
                    Properties.Settings.Default.MergeAppHelper = app.ToString();

                    ClassMerge.Configure(app);
                }
                catch (Exception ex)
                {
                    App.PrintLogMessage(ex.Message, MessageType.Error);
                }
            }
        }