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

vb ת C#

http://www.tangiblesoftwaresolutions.com/Product_Details/Instant_CSharp.html
http://www.tangiblesoftwaresolutions.com/?gclid=COeGzKKxo58CFQIupAodu2jvJQ
ÔÚÏß
VB.netºÍC#ÔÚÏß»¥×ª¹¤¾ß
http://bbs.51aspx.com/showtopic-2059.html
Convert VB.NET to C#
http://www.developerfusion.com/tools/convert/vb-to-csharp/


Ïà¹ØÎĵµ£º

C# Active¿Ø¼þ£¬²¢´¥·¢javascriptʼþ

´´½¨Ò»¸öWinformÓû§¿Ø¼þ UserControl1
 using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Reflection;
namespace MyActiveT ......

ÓÃC#´´½¨XML[¼òµ¥´úÂë]

XmlDocument doc = new XmlDocument();
XmlDeclaration dec = doc.CreateXmlDeclaration("1.0", "GB2312", null);
doc.AppendChild(dec);
//´´½¨Ò»¸ö¸ù½Úµã£¨Ò»¼¶£©
XmlElement root = doc.CreateElement("First");
doc.AppendChild(root);
//´´½¨½Úµã£ ......

C#ʹÓÃSQLDMOʵÏÖ¶ÔMSSQLÊý¾Ý¿â½øÐб¸·ÝºÍ»Ö¸´

public sealed class DbOper
{
     ///<summary>
     /// DbOperÀàµÄ¹¹Ô캯Êý
     ///</summary>
     private DbOper()
     {
     }
     ......

C#¿ª»ú×Ô¶¯Æô¶¯Ó¦ÓóÌÐò

//ÃüÃû¿Õ¼ä using Microsoft.Win32;
private void checkBox2_CheckedChanged(object sender, System.EventArgs e)
{
if (checkBox2.Checked) //ÉèÖÿª»ú×ÔÆô¶¯
{
//MessageBox.Show ("ÉèÖÿª»ú×ÔÆô¶¯ÐèÒªÐÞ¸Ä×¢²á±í","Ìáʾ");
string path = Application.ExecutablePath;
RegistryKey rk = Registry.LocalMac ......

ArcEngine ͼÀýC#Ô´Âë:

private void MakeLegend(IActiveView activeView,IPageLayout pageLayout)
      {
          //¶¨ÒåͼÀýUID¶ÔÏó
          UID uid = new UIDClass();
      &n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ