예제 #1
0
        public static void clickOnTreeWorkpiece(int idWorkpiece, FormOfSelectWorkpiece form)
        {
            ParametersWorkpiece parameters = extractionOfParametersOfWorkpiece(idWorkpiece);

            Part.setWorkpiece(parameters);
            parameters.insertParametersOfWorkpieceInTextboxes(form);
        }
예제 #2
0
        public static void clickOnTreeWorkpiece(TreeNodeMouseClickEventArgs e, FormOfSelectWorkpiece form)
        {
            int idWorkpiece = e.Node.Index;

            ParametersWorkpiece parameters = extractionOfParametersOfWorkpiece(idWorkpiece);

            Part.setWorkpiece(parameters);
            parameters.insertParametersOfWorkpieceInTextboxes(form);
        }