¿ìËÙÒµÎñͨµÀ

ʹÓÃsilverlight¹¹½¨Ò»¸ö¹¤×÷Á÷Éè¼ÆÆ÷(Ê®¶þ)

×÷Õß ØýÃû¼¼Êõ À´Ô´ NET±à³Ì ä¯ÀÀ ·¢²¼Ê±¼ä 2012-07-04

Ô´´úÂëÏÂÔØ£ºhttp://www.shareidea.net/opensource.htm

ÔÚÏßÑÝʾ£ºhttp://www.shareidea.net/workflow.htm

ÊÓƵ½Ì³Ì: http://www.shareidea.net/video/sharedesigner/sharedesigner.html

±¾Õ°üº¬ÒÔÏÂÄÚÈÝ£º

l¡¡ÐµĻͼÐΣ¬Í¼Ðθü¼ÓÇåÎúƯÁÁ.

l¡¡Ôö¼Ó¶ÔÉÏÏÂ×óÓÒ¼üµÄÖ§³Ö(Ñ¡Öл»òÕß¹æÔòºó£¬Ê¹Ó÷½Ïò¼ü½øÐÐÒƶ¯£¬°´×¡Ctrlʱ£¬Ã¿´ÎÒƶ¯µÄ¾àÀë¼Ó´ó).²»¹ýÓÐÒ»¸öÎÊÌ⣬ÎÞ·¨²¶»ñ·½Ïò¼üµÄ°´ÏÂʼþ£¬È´Äܲ¶»ñËÉ¿ªÊó±êʼþ£¬²»ÖªÎªºÎ

l¡¡ÊµÏÖÎÒÃǵÚʮս²µ½µÄ±ä»¯Æ¤·ôµÄ·½·¨¡£

±¾ÕÂÉÏÃæµÄÁ½µã¸üÐÂûÓÐʲôֵµÄҪ˵µÄ£¬ÏÂÃæʵÏÖÎÒÃÇÔÚµÚʮս²µÄ±ä»ÃƤ·ôµÄ·½·¨£¬

Èç¹ûÄú»¹²»Á˽â±ä»ÃƤ·ôµÄÔ­Àí£¬Çë²Î¿¼µÚʮյÄÄÚÈÝ¡£

°Ë¡¢ÊµÏÖ¸ü»»Æ¤·ô¹¦ÄÜ

ÎÒÃǶÔActivity.XamlÀàÀ´×öÊÔÑ飬²½ÖèÈçÏ£º

1.Ê×ÏÈÎÒÃÇ°ÑActivity.g.cs(λÓÚobj"Debug"DesignerÎļþ¼ÐÏÂ)ÖеÄÀà±äÁ¿ºÍInitializeComponent·½·¨¿½±´µÄActivity.xaml.csÎļþÖС£ÕâЩ´úÂëÈçÏÂËùʾ£º

internal System.Windows.Controls.Canvas container;
internal System.Windows.Controls.ToolTip ttActivityTip;
internal System.Windows.Shapes.Ellipse eiCenterEllipse;
internal Shareidea.Web.UI.Control.Workflow.Designer.ActivityPictureContainer sdPicture;
private bool _contentLoaded;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void InitializeComponent()
{
if (_contentLoaded)
{
return;
}
_contentLoaded = true;
System.Windows.Application.LoadComponent(this, new System.Uri("/ShareDesigner;component/Designer/Activity.xaml", System.UriKind.Relative));
this.container = ((System.Windows.Controls.Canvas)(this.FindName("container")));
this.ttActivityTip = ((System.Windows.Controls.ToolTip)(this.FindName("ttActivityTip")));
this.eiCenterEllipse = ((System.Windows.Shapes.Ellipse)(this.FindName("eiCenterEllipse")));
this.sdPicture = ((Shareidea.Web.UI.Control.Workflow.Designer.ActivityPictureContainer)(this.FindName("sdPicture")));
}

2.È»ºó±àÒë´úÂ룬Õâʱºò»á·¢Éú´íÎó£¬ËµÒѾ­´æÔÚÁËÏàͬµÄ±äÁ¿ºÍ·½·¨¡£ÕâÊÇÒòΪÔÚActivity.xaml.csºÍActivity.g.csÎļþÖдæÔÚÁËÏàͬµÄ´úÂë¡£ÎÒÃÇ°ÑActivity.g.csÄÚÈÝÈ«²¿É¾³ý£¬ÔٴαàÒ룬ok£¬Í¨¹ýÁË¡£

3.ËäÈ»±àÒëͨ¹ýÁË£¬µ«ÊÇInitializeComponent´úÂëÈ´ÎÞ·¨ÉèÖöϵ㣬ԭÒòÊÇÉèÖÃÁËÊôÐÔ

[System.Diagnostics.DebuggerNonUserCodeAttribute()]

Õâ¸öÊôÐÔÓÃÒÔ±íʾ±êʶ²»ÊôÓÚÓ¦ÓóÌÐòÓû§´úÂëµÄÀàÐÍ»ò³ÉÔ±£¬Õâ¸öÊôÐÔ¸æËßvs.netµ÷ÊÔ»úÖƲ»»á½øÈëÕâÒ»¶Î´úÂë¡£ÎÒÃÇ°ÑÕâ¸öÊôÐÔ×¢Ê͵ô£¬È»ºóÔÙÔËÐоͿÉÒÔÁË¡£

4.½ÓÏÂÀ´´´½¨Ò»¸öеÄactivityƤ·ôÎļþ¡£Í¨¹ývs.netÀàä¯ÀÀÆ÷£¬ÎÒÃÇ¿½±´Activity.xamlÎļþ£¬²¢ÇÒ¿½±´µÄÐÂÎļþÃüÃûΪActivity2.xaml.

5.È»ºó±àÒë´úÂ룬·¢Éú´íÎó£¬ÒòΪ×Ô¶¯Éú³ÉµÄActivity2.g.csÎļþÖаüº¬ÁËһЩ´úÂ룬ÎÒÃÇ°ÑActivity2.g.csÇå¿Õ£¬È»ºóÔÙ±àÒë¡£Ok£¬Í¨¹ý¡£

6.ÐÞ¸ÄÒ»ÏÂActivity2.xamlµÄÑùʽ£¬ÒÔÇø±ðÓÚActivity.xaml¡£

7.ÐÞ¸ÄActivity.xaml.csÎļþÖÐµÄ System.Windows.Application.LoadComponent(this, new System.Uri("/ShareDesigner;component/Designer/Activity.xaml", System.UriKind.Relative))·½·¨£¬°Ñ/Activity.xamlÐÞ¸ÄΪ/Activity2.xaml£¬Ê¹µÃÔØÈëеÄƤ·ôActivity2.xamlÎļþ¡£

×îºóÔËÐдúÂ룬¿ÉÒÔ¿´µ½£¬Ê¹ÓÃеÄActivity2.xamlÎļþÁË¡£

ÕâÑùÎÒÃǾͿÉÒÔͨ¹ý¸Ä±äSystem.Windows.Application.LoadComponentµÄµÚ¶þ¸ö²ÎÊýÀ´¶¯Ì¬µÄÔØÈëÖ¸¶¨µÄƤ·ô¡£

µ½´ËΪֹ£¬ÎÒÃÇÒѾ­Íê³ÉÁËÒ»¸ö±ä»ÃƤ·ôµÄ´úÂë¡£²»¹ý»¹ÓÐһЩ¿ÉÒÔÉîÈë˼¿¼µÄµØ·½¡£

1¡¢Èç¹ûÓкܶàƤ·ô£¬ÄÇô²»Ï£ÍûÓû§ÔÚµÚÒ»´Î¼ÓÔصÄʱºò¾ÍÏÂÔØËùÓеÄƤ·ôÎļþ£¬ÕâÑù»áÔö¼ÓÓû§µÈ´ýʱ¼ä£¬Èç¹ûÄܶ¯Ì¬´ÓÍøÂçÉÏÏÂÔØxmal´úÂë¾ÍºÃÁË£¬²»¹ý»¹Ã»ÓÐÕÒµ½Õâ¸ö·½·¨¡£

2¡¢ÉÏÃæµÄ·½·¨²¢Ã»ÓÐʹµÃ.xmalºÍxaml.csÎļþʧȥ¹ØÁª£¬ÎÒÃÇ¿ÉÒÔÊÖ¹¤¼ôÇÐxaml.csÎļþµ½ÆäËüÎļþ°É£¬¶ø°ÑƤ·ôÎļþ(.xmalÎļþ)·ÅÔÚµ¥¶ÀµÄÎļþ¼ÐÖУ¬±ãÓÚ¹ÜÀí¡£

3¡¢×Ô¶¯Éú³ÉµÄ.g.csÎļþÄܲ»ÄÜÈ¥µôÄØ£¿Õâ¸öÎļþÊÇÔÚ±àÒëʱºò×Ô¶¯Éú³ÉµÄ£¬Î»ÓÚobj"Debug"DesignerÎļþ¼ÐÏ¡£

ÁèÖڿƼ¼×¨ÒµÌṩ·þÎñÆ÷×âÓᢷþÎñÆ÷Íйܡ¢ÆóÒµÓʾ֡¢ÐéÄâÖ÷»úµÈ·þÎñ£¬¹«Ë¾ÍøÕ¾£ºhttp://www.lingzhong.cn ΪÁ˸ø¹ã´ó¿Í»§Á˽â¸ü¶àµÄ¼¼ÊõÐÅÏ¢£¬±¾¼¼ÊõÎÄÕÂÊÕ¼¯À´Ô´ÓÚÍøÂç,ÁèÖڿƼ¼×ðÖØÎÄÕÂ×÷ÕߵİæȨ£¬Èç¹ûÓÐÉæ¼°ÄãµÄ°æȨÓбØҪɾ³ýÄãµÄÎÄÕ£¬ÇëºÍÎÒÃÇÁªÏµ¡£ÒÔÉÏÐÅÏ¢ÓëÎÄÕÂÕýÎÄÊDz»¿É·Ö¸îµÄÒ»²¿·Ö,Èç¹ûÄúҪתÔر¾ÎÄÕÂ,Çë±£ÁôÒÔÉÏÐÅÏ¢£¬Ð»Ð»!

·ÖÏíµ½£º ¸ü¶à

Copyright ©1999-2011 ÏÃÃÅÁèÖڿƼ¼ÓÐÏÞ¹«Ë¾ ÏÃÃÅÓÅͨ»¥Áª¿Æ¼¼¿ª·¢ÓÐÏÞ¹«Ë¾ All rights reserved

µØÖ·(ADD)£ºÏÃÃÅÈí¼þÔ°¶þÆÚÍûº£Â·63ºÅ701E£¨¶«ÄÏÈÚͨÅÔ£© Óʱà(ZIP)£º361008

µç»°£º0592-5908028 ´«Õ棺0592-5908039 ×ÉѯÐÅÏ䣺web@lingzhong.cn ×ÉѯOICQ£º173723134

¡¶ÖлªÈËÃñ¹²ºÍ¹úÔöÖµµçÐÅÒµÎñ¾­ÓªÐí¿ÉÖ¤¡·ÃöB2-20100024  ICP±¸°¸:ÃöICP±¸05037997ºÅ