.Net技术联盟

专注于.NET技术

导航

随笔分类 -  Window开发

摘要://添加按钮方法,可以在CMainFrame,CTWinTest02View中添加//先添加CButtonm_btn变量,//在oncreate中添加m_btn.Create(_T("Mybutton"),WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON,CRect(10,10,100,30),this,1);//CTWinTest02View要在消息映射中WM_Create中添... 阅读全文

posted @ 2008-04-23 16:28 一样的云 阅读(1051) 评论(0) 推荐(0)

摘要:Colorc=newColor();Bitmapbox1=newBitmap(pictureBox1.Image);Bitmapbox2=newBitmap(pictureBox2.Image);intr,g,b,i,j,k1,k2,size,xres,yres;xres=pictureBox1.Image.Width;yres=pictureBox1.Image.Height;size=2;fo... 阅读全文

posted @ 2006-11-01 14:28 一样的云 阅读(753) 评论(2) 推荐(0)

摘要:System.Drawing.Imageimg;System.Drawing.Graphicsg;System.Drawing.Bitmapbmp;img=System.Drawing.Image.FromFile(filename);if(img.Width!=768||img.Height!=928)return"";if(!BakFilePath.Equals("nobak")&&a... 阅读全文

posted @ 2006-11-01 14:21 一样的云 阅读(916) 评论(0) 推荐(0)