示例#1
0
        //
        //Save field values into template
        //
        private void SaveInToTemplate()
        {
            PsTemplateManager psTemplateManager = new PsTemplateManager();

            psTemplateManager.AppendNumber(1);
            psTemplateManager.AppendString(this.stiffenerNameTextBox.Text);
            psTemplateManager.AppendString(this.stiffenerMaterialComboBox.Text.ToString());
            psTemplateManager.AppendString(this.stiffenerThicknessComboBox.Text.ToString());
            psTemplateManager.AppendString(this.stiffenerPositionComboBox.Text.ToString());
            psTemplateManager.SaveTemplateEntry("GSFStiffener", 1);
        }