예제 #1
0
        private void cmdInsertStiffenerMany(object sender, System.EventArgs e)
        {
            string str1 = this.stiffenerPosNumTextBox.Text;

            GSFStiffenerControl.CloseForm();
            InsertMany(str1);
            GSFStiffenerControl.ShowForm(m_addIn);
        }
예제 #2
0
        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);
        }
예제 #3
0
 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();
 }
예제 #4
0
 protected override void OnUnloading(UnloadingEventArgs eventArgs)
 {
     GSFStiffenerControl.CloseForm();
     base.OnUnloading(eventArgs);
 }
예제 #5
0
 private void Ok()
 {
     GSFStiffenerControl.CloseForm();
 }