public InertiaDesignForm(MainForm main_Form, InertiaArithmetic weight_Arithmetic)
        {
            InitializeComponent();
            dataGridViewParaInput.Columns[1].ValueType = System.Type.GetType("System.Decimal");

            mainForm = main_Form;
            curWa = weight_Arithmetic;
        }
        private void cmbWeightMethod_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (!bEditProject)
            {
                string itemvalue = ((KeyValuePair<string, string>)cmbInertiaMethod.SelectedItem).Value;
                curWa = InertiaArithmetic.ReadArithmeticData(itemvalue);
            }

            OnCurWaChanged();
        }