private void cmdInsertStiffenerMany(object sender, System.EventArgs e) { string str1 = this.stiffenerPosNumTextBox.Text; GSFStiffenerControl.CloseForm(); InsertMany(str1); GSFStiffenerControl.ShowForm(m_addIn); }
private void cmdInsertStiffenerOne(object sender, System.EventArgs e) { PsUnits psUnits = new PsUnits(); string stiffenerLabel = this.stiffenerNameTextBox.Text; string stiffenerMaterial = this.stiffenerMaterialComboBox.Text; double stiffenerThickness = psUnits.ConvertToNumeric(this.stiffenerThicknessComboBox.Text); int positionIndex = this.stiffenerPositionComboBox.SelectedIndex; SaveInToTemplate(); GSFStiffenerControl.CloseForm(); InsertOne(stiffenerLabel, stiffenerMaterial, stiffenerThickness, positionIndex); GSFStiffenerControl.ShowForm(m_addIn); }
private void Cancel() { // PsTransaction psTransaction = new PsTransaction(); // psTransaction.EraseLongId((long)objId); // psTransaction.Close(); if (!objIds) { foreach (int objId in objIds) { long i = (long)objId; CommonFunctions.EntityDelete(ref i); } } GSFStiffenerControl.CloseForm(); }
protected override void OnUnloading(UnloadingEventArgs eventArgs) { GSFStiffenerControl.CloseForm(); base.OnUnloading(eventArgs); }
private void Ok() { GSFStiffenerControl.CloseForm(); }