Exemplo n.º 1
0
        public static void clickOnTreeWorkpiece(int idWorkpiece, FormOfSelectWorkpiece form)
        {
            ParametersWorkpiece parameters = extractionOfParametersOfWorkpiece(idWorkpiece);

            Part.setWorkpiece(parameters);
            parameters.insertParametersOfWorkpieceInTextboxes(form);
        }
Exemplo n.º 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);
        }
        private static void saveWorkpriece()
        {
            ParametersWorkpiece workpriece = Tables.getParametersOfWorkpieces().getParametersWorkprieceOnIndex(EventOutputDataFromDataBase.workpriece.getIdWorkpriece());

            Part.setWorkpiece(workpriece);
        }