谁会用C#写一些简单的小程序,帮忙一下.

来源:百度知道 编辑:UC知道 时间:2024/05/07 05:35:15

小程序 什么样的小程序 一般的例题里的小程序吗? 学了语法应该都能些了 呵呵

public int getFlag(){return flag;} public int getStatu(){return statu;} public int getMx(){return mx;} public int getMy(){return my;} public int getMw(){return mw;} public int getCount(){return count;} public void setFlag(int f){flag = f;} public void setCount(int c){count = c;} public void setData(int f,int x,int y,int w,int s) //传递值 { flag = f; mx = (x-1)*w; my = (y-1)*w; mw = w-1; sta // public int sendKey(int key) { int rtn = 1; if(key == 3) { switch(statu) { case 1: break; case 2: statu = 3; break; case 3: statu = 0; break; case 0: statu = 2; break; } rtn = 1; } if(key == 1

?你想要什么样的小程序?