コード例 #1
0
        public WeightEstimateForm(MainForm main_Form, WeightArithmetic weight_Arithmetic)
        {
            InitializeComponent();
            dataGridViewParaInput.Columns[1].ValueType = System.Type.GetType("System.Decimal");

            mainForm = main_Form;
            curWa = weight_Arithmetic;
        }
コード例 #2
0
        public CoreDesignProject(MainForm main_Form, string str_OperType)
        {
            InitializeComponent();
            mainForm = main_Form;

            strOperType = str_OperType;

            if (mainForm.designProjectData != null)
            {
                if (strOperType != "new")
                {
                    SetPageData();
                }
            }
        }