public WeightEstimateForm(MainForm main_Form, WeightArithmetic weight_Arithmetic) { InitializeComponent(); dataGridViewParaInput.Columns[1].ValueType = System.Type.GetType("System.Decimal"); mainForm = main_Form; curWa = weight_Arithmetic; }
public CoreDesignProject(MainForm main_Form, string str_OperType) { InitializeComponent(); mainForm = main_Form; strOperType = str_OperType; if (mainForm.designProjectData != null) { if (strOperType != "new") { SetPageData(); } } }