¹ØÓÚvb±àдµÄÈí¼þÔÚ²»Í¬·Ö±æÂÊϵÄÏÔʾ - VB / »ù´¡Àà
ÎÒÓÃvbÔÚ1680*1050µÄ·Ö±æÂÊϱàºÃÁËÈí¼þ¡£ÎÒµÄÈí¼þÏÖÔÚÊÇÈ«ÆÁÏÔʾµÄ¡£¼ÙÈçÓû§µÄÏÔʾÆÁ²»ÊÇÕâ¸ö·Ö±æÂʵĻ°£¬ÈçºÎ×öµ½¶¼ÄÜÍêÕûµÄÏÔʾÎÒµÄÈí¼þÄØ£¿
Ï£Íû´ó¼Ò¸øÓèÖ¸µã£¬»á¾¡¿ì½áÌù¸ø·Ö¡£Ð»Ð»£¡
Õâ¸ö±È½ÏÂé·³£¬Èç¹ûÄã³ÌÐò½çÃæÉϵĿؼþ±È½Ï¼òµ¥µÄ»°£¬ÊÔÊÔÕâ¸ö£¬ÎÒÓùý£¬µ«Ò²²»ÊǺܺÃÓá£Äã¿ÉÒÔÔÚÍøÉÏbaiduһϣ¬µ«Ã»ÓкÜÍêÃÀµÄ£¬ºÇºÇ£¬Èç¹ûÄãÕÒµ½Á˱ðÍüÁ˸æËßÎÒÒ»Éù
VB code:
Private Sub Form_Load()
For Each Control In Controls
Control.Tag = Join(Array(Control.Left, Control.Top, Control.Width, Control.Height))
Next
Tag = Join(Array(Width, Height))
End Sub
Private Sub Form_Resize()
Dim sF, sC
sF = Split(Tag)
For Each Control In Controls
sC = Split(Control.Tag)
Control.Move Width / sF(0) * sC(0), Height / sF(1) * sC(1), Width / sF(0) * sC(2), Height / sF(1) * sC(3)
Next
For Each Control In Controls
Control.Tag = Join(Array(Control.Left, Control.Top, Control.Width, Control.Height))
Next
Tag = Join(Array(Width, Height))
End Sub
VB6ÖжÔÏó´°¿ÚÀïµÄ³ß´ç¶¼ÊÇ£¢´òÓ¡³ß´ç£¢£¬ÊÂʵÉϺÍÎÒÃÇƽʱ¿¼ÂǵÄÆÁÄ»³ß´çÊÇÁ½ÂëÊ£®
Â¥Ö÷˵µÄÔڽϴóµÄ£¢1680*1050µÄ·Ö±æÂÊ£¢Ï°ÚÂú¿Ø¼þµÄ´°Ì壬µ½Ð¡·Ö±æÂÊÏ¿ÉÄÜÏÔʾ²»ÍêÈ«£®¶Ô¸¶ÕâÖÖÇé¿ö£¬±È½Ï¼òµ¥µÄ·½°¸ÊÇÏñVCLÄÇÑù£¬°Ñ´°ÌåµÄ¹ö¶¯ÌõÏÔʾ³öÀ´£¬²¢ÏìÓ¦¹ö¶¯ÌõµÄ±ä»¯¶øÒƶ¯ËùÓпؼþλÖã®
Â¥ÉϵĴúÂë¿´ÁËÒ»ÏÂûÃ÷°×Òâ˼£¬ÄܽâÊÍÁ½¾äÂ𣺣©
¶÷¿´À´Ã»ÓбȽÏÍêÃÀµÄ·½°¸°¡ °´ËµÕâ¸ö¹¦ÄÜÓ¦¸ÃºÜ³£Óð¡ ÏñƽʱÎÒÃÇÂòµÄÈí¼þ ºÜ¶à¶¼¿ÉÒÔÔÚ²»Í¬µÄ»úÆ
Ïà¹ØÎÊ´ð£º
ΪʲôÎÒÓÃform.showºÍform.hide¶à´ÎÁ¬½ÓÁËÁ½¸ö´°¿ÚÖ»ÄÜ»¥»»Á´½ÓÁ½´Î°¡£¿
´úÂë¿´¿´
ÕÕµÀÀíform.show û´ÎÊýÏÞ¶¨µÄ°É
ÎÒÒ²¿ì·èÁË¡£
Â¥Ö÷ÖªµÀÔõô·¢Ìùô£¿
ÒýÓÃ
ÎÒÒ²¿ì·èÁË¡£
Â¥Ö÷ÖªµÀÔõô·¢Ìùô£¿
Â¥Ö÷Ò² ......
Êý¾Ý¿âÀïÓÐÒ»¸ö×ֶεÄÄÚÈÝÊǶþ½øÖÆ£¬Ôõô²ÅÄÜ°ÑÕâ¸ö¶þ½øÖƶÁ³öÀ´
ʹÓÃ×Ö½ÚÁ÷¶ÔÏó¿ÉÒÔʵÏÖ
ÀýÈçÏÖÔÚÊý¾Ý¿âÀïÓиö×ֶεÄÄÚÈÝÊÇ0x504B03040A0000000800407F263C3B02465390000000820000000A0000006273CECACCE22E7478 ......
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
... ......
ËÄÜ°ïÎÒ°ÑÏÂÃæÕâЩ´úÂë¸Ä³ÉVBÐÎʽµÄ£¬¶àлÁË£¬¼±ÓÃ~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[],float g ......