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

            Part.setWorkpiece(parameters);
            parameters.insertParametersOfWorkpieceInTextboxes(form);
        }
Exemple #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);
        }