zoukankan      html  css  js  c++  java
  • c# ^s* 空行

    ctrl shift K U 注释 Ctrl+K,Ctrl+F 快捷键。就格式化好了
    1、文件监控   C# FileSystemWatcher 在监控文件夹和文件时的用法
    2、气泡栏目   C# WinForm中NotifyICon控件的用法
    3、注册自启动可执行文件  RegistryHelper.SetupAutoStart(Application.ExecutablePath);
    4、C:\Users\sujie\Desktop\Work\source_code\1_Agent\AgentSocketServer1\Output
    5、CommonConstant.Config           Config
    6、DatabaseConfig.xml
    7、C:UserssujieDesktopWorksource_code1_AgentAgentSocketServer1OutputConfigDatabaseConfig.xml
    8delegate
    9event       http://www.runoob.com/csharp/csharp-event.html
    10、C# 如何理解如下泛型约束 class A<T>:where T:class{}                               https://www.cnblogs.com/rinack/p/5676311.html
    11、引用类型和值类型
    12as
    13、EnableVisualStyles 你可以理解为启用XP风格。如果不启用,则显示的是经典风格
    14、Application.ProductName
    15、c#对于mutex互斥量的深入理解 http://blog.csdn.net/xwdpepsi/article/details/6346890
    16、Monitor.TryEnter
    17、C#多线程编程 https://www.cnblogs.com/luxiaoxun/p/3280146.html
    18、ThreadPool
    19、setSocketOption各项的含义
    20、BeginInvoke    invoke
    21、excel
    22、datatable dataset写入数据库
    23、app.config
    24this.listView1.SelectedItems[0].SubItems[0].Text;
    25、DateTime.Now.Year.ToString().PadLeft(4, '0') + DateTime.Now.Month.ToString().PadLeft(2, '0')+ DateTime.Now.Day.ToString().PadLeft(2, '0')
    26//删除列myDt.Columns.Remove("minArea");//调整列顺序 ,列排序从0开始myDt.Columns["num"].SetOrdinal(1);
    27//修改列标题名称dt.Columns["num"].ColumnName = "搜索量";
    28、 m_dtAtchFile.Columns.Add("FileName");增加列 
    29、dr1[15] = dr["CREATE_DATE"];   dtTemp.Rows.Add(dr1);增加行
    30、Convert.ToInt32("FF", 16)
    31、dt.Columns["TaskState"].ColumnName
    32、AddG("FB_CARYOT_DT", "Carry-out Issue Date", "搬出证发行日");   Dictionary
    33if (Regex.IsMatch(numStr, @"^d+$")) 判断是否为数字 无小数点 34 判断字母和字数
    34string pattern = @"^[A-Za-z0-9]+$";Regex regex = new Regex(patt ern); return regex.IsMatch(input);
    35、(?<=
    )
      空白行正则替换    ^:b*$
       ^s*(?=
    ?$)
           ^s*
           空行             //.&&.*
              [	]*//[^
    ]*
          注释  
    36、System.IO.Path.GetFileName(fullPath)  
    37、System.IO.Path.GetExtension(fullPath)
    38、System.IO.Path.GetFileNameWithoutExtension(fullPath)
    39、System.IO.Path.GetDirectoryName(filePath)     https://www.cnblogs.com/libushuang/p/5794976.html
    40、GridViewInitial
    41、使用快捷键Ctrl+E+D(编排整个文档)来使代码对齐
    42、Indent Guides.  打开Vs2012,选择“工具”菜单下的“扩展管理器”,然后打开了扩展管理器对话框。
    43、  发了fl21sunjie jie。sun1  https://community.flexerasoftware.com/usercp.php
    44、http://www.cnblogs.com/dongh/p/6868638.html  安装包生成
    45、https://www.cnblogs.com/longyi/archive/2009/09/18/1569518.html   网页activex 控件生成
    46、在VS2010 工具—>选项—>项目和解决方案—>生成并运行—>找到“运行时,当项目过期时(O):”—>选择始终生成。—>确定。
    47、上方菜单→ Tools→Extension Manager→搜索 indent Guides→安装→重启VS2010
    48、JScript Editor Extensions——折叠JavaScript代码
    49、Javascript parser——树形状查看JS代码
    50、VSCommands是微软的Visual Studio一个扩展工具。
    51、devColor——颜色提取器
    52、Code Compare——代码比对工具
    53、Web Essentials
    54、Productivity Power Tools
    551)CTRL + W选择当前单词
    56、https://www.cnblogs.com/arxive/p/5794699.html  OFFICE 操作  excel  打印
    57if (File.Exists(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "\AllLabel.xlsx")) 桌面位置
    58string ExcelFile = System.Windows.Forms.Application.StartupPath + @"exceltemplate2.xls";         运行位置
    59、Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory)
    60"2.0.9.12345
    IMES.OI.UI.Sub, Version=1.2.3.45678, 
    Culture=neutral, PublicKeyToken=null
    Major Version    = 1
    Minor Version    = 2
    Revision Version = 45678
    Build Version    = 3"
    
                System.Diagnostics.FileVersionInfo fvi = System.Diagnostics.FileVersionInfo.GetVersionInfo(m_strDllName + ".dll");
                            m_strDllVersion = fvi.FileVersion;
                            Assembly assembly = Assembly.LoadFile(System.Windows.Forms.Application.StartupPath + @"" +  m_strDllName + ".dll");
                            AssemblyName assemblyName = assembly.GetName();
                            Version version = assemblyName.Version;
                            m_strDllVersion += (assemblyName.FullName);
                            m_strDllVersion  += ("Major Version    = " + version.Major);
                            m_strDllVersion += ("Minor Version    = " + version.Minor);
                            m_strDllVersion += ("Revision Version = " + version.Revision);
                            m_strDllVersion += ("Build Version    = " + version.Build);
  • 相关阅读:
    新手学Python必看的几个练手小项目,轻松不枯燥哦!
    实力讲解,一文读懂Python闭包与装饰器!
    Python必不可少的小技巧,一行代码减少一半内存占用!
    千篇一律的Python爬虫,大神精心总结的爬虫套路!
    Python小技巧:获取Linux系统基本信息
    大数据时代|搭建Python数据分析平台
    利用Python实时接收微博小姐姐动态啦~
    Python爬虫:把爬取到的数据插入到execl中
    正则表达式 元字符
    正则表达式——(2) – 语法
  • 原文地址:https://www.cnblogs.com/2eggs/p/13097755.html
Copyright © 2011-2022 走看看