Page 810 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 810

Ⅳ.  CodeVision  Source  Code



                                        break;



                                  case  R.id.L1:
                                        if  (who  !=  null) {

                                             strLoc  =  "a";
                                             data_out  =  strLoc +  strWho;
                                             checkIsNull(0,  "L1",  L1);
                                        }
                                        break;



                                  case  R.id.L2:
                                        if  (who  !=  null) {

                                             strLoc  =  "b";
                                             data_out  =  strLoc +  strWho;
                                             checkIsNull(1,  "L2",  L2);
                                        }
                                        break;



                                  case  R.id.L3:
                                        if  (who  !=  null) {

                                             strLoc  =  "c";
                                             data_out  =  strLoc +  strWho;
                                             checkIsNull(2,  "L3",  L3);
                                        }
                                        break;



                                  default:
                             }

                        }
                  }                                              //버튼이 눌렸을때  작동하는  부분


                  private  void  checkID(ImageButton  a) {
                        for  (int i  = 0;  i  <  vc.size();  i++)  {

                             if  (vc.get(i)  ==  a)
                                  continue;
                             vc.get(i).setBackgroundResource(re.get(i));




                                                                                               정보통신기기과
                                                         -  803  -
   805   806   807   808   809   810   811   812   813   814   815