VB shape¿Ø¼þ - VB / ·Ç¼¼ÊõÀà
´ó¼ÒºÃ!! ÎÒÏëÎʸö»ù´¡ÎÊÌâ
ÔÚshape¿Ø¼þ±àд´úÂëʱ
Private Sub UserControl_Resize()
'±ä»»shape¿Ø¼þµÄ´óС
'ÒÔ±ãÌî³äshapeLabelµÄ¿É¼û±íÃæ.
shpBack.Move 0, 0, ScaleWidth, ScaleHeight
'ʹLable1¿Ø¼þ´¹Ö±¾ÓÖÐ,²¢Ê¹ËüµÄ¿í¶ÈÓëShapeLabelÒ»ÖÂ.
lblCaption.Move 0, (ScaleHeight _
- lblCaption.Height) / 2, ScaleWidth
lblCaption.Move 0, (ScaleHeight - lblCaption.Height) / 2, ScaleWidth
Õâ¾äÓëÉÏÃæ´úÂëÖеÄ×îºóÒ»¾äÓÐÓÐÉ¶Çø±ð°¡
ÎÒÏëÎʵÄÊÇ ÕâÑùµÄ´úÂëÊéд·½Ê½ ÊDz»ÊÇ»»ÐÐʹÓÃµÄ ¼ÓÁ˸ö _ Ïß »¹ÊÇÕâ¸ö _ ÔÚÓï¾äÖÐÓÐ×Åʲô×÷Óð¡
Íû´óÏÀ²»Äþ´Í ½Ì
×÷ÓþÍÊÇ»»ÐÐ,¾ÍÊÇlblCaption.Move 0, (ScaleHeight - lblCaption.Height) / 2, ScaleWidth
ûÓÐÇø±ð¡£
Ò»°ã½¨ÒéÿÐдúÂ볤¶È²»Òª³¬¹ýÆÁÄ»¿í¶È£¬·½±ãÔĶÁ¡£
¶ÔÆë ºÃ¿´
àÅ,¾ÍÊÇ»»ÐеÄ×÷ÓÃ,,ÕâÑù½ö½öΪÁË·½±ã,ºÃ¿´¶øÒÑ....³ÌÐòÔ±±à³Ì±ê×¼¹þ...
Ïà¹ØÎÊ´ð£º
ΪʲôÎÒÓÃform.showºÍform.hide¶à´ÎÁ¬½ÓÁËÁ½¸ö´°¿ÚÖ»ÄÜ»¥»»Á´½ÓÁ½´Î°¡£¿
´úÂë¿´¿´
ÕÕµÀÀíform.show û´ÎÊýÏÞ¶¨µÄ°É
ÎÒÒ²¿ì·èÁË¡£
Â¥Ö÷ÖªµÀÔõô·¢Ìùô£¿
ÒýÓÃ
ÎÒÒ²¿ì·èÁË¡£
Â¥Ö÷ÖªµÀÔõô·¢Ìùô£¿
Â¥Ö÷Ò² ......
vbÖÐ ÏÖÔÚÎÒÒª°ÑÊý¾Ý¿âÀï´æ´¢µÄÒ»¸ö¸½¼þµÄÄÚÈÝÌæ»»ÁË£¬Ôõô×ö£¬Ö»ÊÇÌæ»»ÎÒÖ¸¶¨µÄλÖ㬲»ÊÇÈ«²¿Ìæ»»
Ç뽫ÎÊÌâ˵Ã÷°×£¬´æ´¢×ֶθñʽ£¬Èç¹ûÊÇBinary¸ñʽµÄ±È½ÏÂé·³£¬Èç¹ûÊÇ×Ö´®£¬Ö±½ÓÌæ»»¡£×îºÃ²»Òª½øÐÐÖ¸¶¨Î»ÖÃÌæ»»¡ ......
dim a as string,b as string£¬c as string
a="¹¤³Ì±àºÅ,µ¥Î»¹¤³ÌÃû³Æ,·Ö²¿¹¤³Ì±àºÅ"
b="µ¥Î»¹¤³ÌÃû³Æ"
c="µ¥Î»"
Ôõô²ÅÄÜÅжϳöa×Ö·û´®ÖдæÔÚb×Ö·û´®£¬¶ø²»´æÔÚc×Ö·û´®
¿´¿´i ......
ÎÊÌ⣺
ÏÖÔÚAccessÊý¾Ý¿âÖÐÓÐÁ½ÕűíTableAºÍTableB
TableAÖÐÓмǼÈçÏÂ:
×Ö¶Î1(Name) ×Ö¶Î2(Num)
A 3
A 4
B 6
... ......
ͦ·±Ëö£¬Ö®Ç°·¢µÄÌû×Ó£¬·Öֵ̫µÍÏÖÔÚÖØ·¢Ò»¸ö¡£»¶Ó¸÷λ´óÏÀ~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[] ......