Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

C# ÓëflasH ¿ª·¢ Åöµ½ÎÊÌâËæ±ãдд

¶î ÕâÁ½Ìì¼ÌÐøдÄǸö ³é½±³ÌÐò¡£¡£
ÏÈÊÇ Ð´ºÃÁË °´¼¸µÈ½± ¼¸¸öÈ赀 ½çÃæ¿ÉÒÔ³é³öÀ´Á˺ÅÂëÓÚÊÇÔÚÕÒÁËwinformµÄƤ·ô½çÃæ¡£»¹²»´í¡£¡£
¸ø assistantÑî¿´È»ºóÓÖ¸øÎÒ˵ û¹ö¶¯µÄЧ¹û ¿´ÆðÀ´²»ºÃ û³é½±µÄ´Ì¼¤¸Ð¡£
È»ºóÔÙµ½ÍøÉÏÕÒÁ˸ö ¹ö¶¯Ð§¹ûµÄ FLASH¡£¡£
½Ó×ÅÕÒÁËÒ»ÌìÖÕÓÚÖªµÀÁË FLASH µÄ±à³ÌÓïÑÔ ÈçºÎ¼òµ¥Ð޸ġ£¡£¡£ C#ÓëFLASHµÄ ¼òµ¥²ÎÊýͨÐÅ¡£
FLASHÖÐ
import flash.external.ExternalInterface;
ExternalInterface.addCallback("AddLog",AddLog);
function AddLog(str:String)
{   preview(Number(str));
}
C#:  
  this.axShockwaveFlash1.Movie = Application.StartupPath + "\\flash\\main.swf";
  this.axShockwaveFlash1.CallFunction("<invoke name=\"AddLog\" returntype=\"xml\">"
            + "<arguments>"      + "<string>"   + "888888"    + "</string>"       + "</arguments>"  + "</invoke>");
        } 
È»ºó ÏÖÔÚ»ØÏëÁËÏÂ
 ÕÒÁËÍøÉÏÓÐ˵ÓÃÕâ¸ö
fscommand º¯Êý¿ÉÒÔʹ SWF ÎļþÓë Flash Player »ò³ÐÔØ Flash Player µÄ³ÌÐò£¨Èç Web ä¯ÀÀÆ÷£©½øÐÐͨѶ¡£»¹¿ÉÒÔʹÓà
Ê×ÏÈÔÚflash´´½¨Ò»¸ö°´Å¥,²¢ÃüÃûΪflashToCBtn,ÔÚ´´½¨Ò»¸ö¶¯Ì¬Îı¾¿ò£¬ÃüÃûΪflashfromCTxt,È»ºóÔÚµÚÒ»ÕìÌí¼ÓÈçÏ´úÂë:
flashToCBnt.onRelease=function()
{
    fscommand("cmd","hello C#");
}
µ½ÕâÀïflashÒѾ­Íê³ÉÁË£¬ÏÂÃæ¾ÍÊÇC#ÁË£º
´ò¿ªvsн¨Ò»¸öC#µÄÏîÄ¿£¬ÔÚ´°ÌåÉÏÌí¼ÓÒ»¸öaxShockwaveFlashObjectµÄ¿Ø¼þ£¬½«ËûµÄӰƬURLÖ¸ÏòÄã¸Õ¸Õ·¢²¼µÄflash£¬È»ºóÔٸÿؼþµÄFSCommandʼþÉÏÌí¼ÓÈçÏ´úÂ룺
if (e.command == "cmd")
            {
                 MessageBox.Show(e.args.ToString());
            }
²âÊÔÏîÄ¿£¬ÔÚµ¥»÷flashToCBtn°´Å¥£¬½«µ¯³ö"hello C#";Ä㻹¿ÉÒÔÔÚC#ÖÐͨ¹ý°¢axShockwaveFlash1.SetVariableÀ´¿ØÖÆflashÖеÄӰƬ»òÕßÊDZäÁ¿µÄÖµ¡£
Flash·


Ïà¹ØÎĵµ£º

C#ÖÐC/C++³ÌÐòÔ±×¢ÒâÎÊÌâ

 1¡¢C/C++³ÌÐòÔ±Çë×¢Ò⣬²»ÄÜÔÚcaseÓï¾ä²»Îª¿Õʱ“ÏòÏÂÖ´ÐД¡£
¡¡¡¡2¡¢ÖµÀàÐͺÍÒýÓÃÀàÐÍÖ®¼äµÄÇø±ð£ºC#µÄ»ù±¾ÀàÐÍ(int£¬charµÈ)¶¼ÊÇÖµÀàÐÍ£¬ÊÇÔÚÕ»Öд´½¨µÄ¡£¶ø¶ÔÏóÊÇÒýÓÃÀàÐÍ£¬´´½¨ÓÚ¶ÑÖУ¬ÐèҪʹÓùؼü×Önew¡£
¡¡¡¡3¡¢ÔÚC#ÖÐͨ¹ýʵÀý·ÃÎʾ²Ì¬·½·¨»ò³ÉÔ±±äÁ¿ÊDz»ºÏ·¨µÄ£¬»áÉú³É±àÒëÆ÷´íÎó¡£µ«ÊÇÎÒÃÇ¿ÉÒÔ ......

FLASHÆƽâÎÞÏÞÖƵ¯´°ÊÓƵ½Ì³ÌÒÔ¼°Èí¼þÃâ·ÑÌṩÏÂÔØ

FLASHÆƽâÎÞÏÞµ¯´°
 
FLASH¼ÓÃÜÆƽâ½Ì³ÌÒÔ¼°Èí¼þÃâ·ÑÌṩÏÂÔØ£º
 
FLASH¼ÓÃÜÆƽâ½Ì³ÌÒÔ¼°Èí¼þÃâ·ÑÌṩÏÂÔØASV6.0£¨ÆƽâÎÞÏÞµ¯´°½Ì³Ì£©
 
½Ì³Ìµã»÷ÏÂÃæÇåÎú¹Û¿´
 
http://up.asqq8.net/QQ598080707/jc/01.swf
 
ÏÂÔØÈí¼þµØÖ·ºÍ¸üÇåÎúµÄ½Ì³Ì
 
Çëµã»÷ÏÂÃæÍøÒ³½øÈë×¢²á»áÔ±¹Û¿´ºÍÏ ......

C#Á¬½ÓSQL Server 2005 ExpressµÄ×Ö·û´®

C#Á¬½ÓSQL ServerµÄSqlConnectionµÄ×Ö·û´®£¬Ðí¶à¶¼ÊDz»ÄÜÁ¬½ÓµÄ¡£ÏÖÔÚ¸øÒ»¸öÄÜÁ¬½ÓµÄ£º
using System.Data.SqlClient;
public class sqlServerConnection {
//
public static void Main() {
//ÏÂÃæ¾ÍÊDZê×¼µÄÁ¬½Ó£¬×¢ÒâSERVERÊÇÎҵļÆËã»úÃû¡£SQLEXPRESSÊÇÊý¾Ý¿âʵÀý¡£SSPI±íʾʹÓÃWindowsµÇ½µÄÕÊ»§¡£masterÊÇÒªÁ¬½Óµ ......

flashλͼ¼¼ÊõÑо¿Æª(6)£ººÚ°×»­

  ¼ÌÐø°ÑÉÏÃæµÄ×ÊÁϼǼһÏ£¬ÏñËØ»­ÊǶÔÿһ¸öÏñËؽøÐвÙ×÷½øÐÐÖØ×飬¶øÕâЩ²Ù×÷¿ÉÒÔ¿´µ½Î»Í¼ÏñËزÙ×÷ÊÇ¿ÉÒԱ仯³öºÜ¶àÁîÈËÒâÏë²»µ½µÄЧ¹û¡£½ñÌ죬°ÑÔÚÍøÕ¾¿´µ½µÄһЩÎÄռǼһÏ£¬¹ØÓÚºÚ°×»­ÏñËزÙ×÷¡£Ô­ÀíºÜ¼òµ¥£¬´ÓÒ»ÕÅͼƬ¿ÉÒÔ¿´µ½ÊÇÓÉÒ»¸ö¸öÏñËØ×é³É£¬¿ÉÒÔ¿´³ÉÊÇÒ»¸ö¸öϸСµÄ΢Á£¡£ÕâЩ΢Á£°üº¬ÁËһЩֵ£¬ÑÕÉ«Ö ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ