摘要:
代表四种检出深度:1、Fully recursive——全递归:检出完整的目录树,包含所有的文件或子目录。2、Immediate children,including folders——直接子节点,包含文件夹:检出目录,包含其中的文件或子目录,但是不递归展开子目录。3、Only file chlid
阅读全文
posted @ 2025-07-10 15:19
_jwj
阅读(15)
推荐(0)
摘要:
Python方法是定义在类内部的函数,根据绑定方式和功能可分为实例方法、类方法、静态方法和特殊方法,此外Python还提供了多种高效编程技巧如推导式、生成器表达式等。 1、实例方法。 定义时第一个参数为self,用于操作实例属性。 调用时自动传入当前实例,例如obj.method(args)。
阅读全文
posted @ 2025-06-12 11:51
_jwj
阅读(16)
推荐(0)
摘要:
我们的实例中的所有 jQuery 函数位于一个 document ready 函数中: $(document).ready(function(){ // 开始写 jQuery 代码... }); 简洁写法: $(function(){ // 开始写 jQuery 代码... }); JavaScri
阅读全文
posted @ 2023-01-09 09:43
_jwj
阅读(94)
推荐(0)
摘要:
下面的 JavaScript 语句向 id="demo" 的 HTML 元素输出文本 "你好 Dolly" : document.getElementById("demo").innerHTML = "你好 Dolly";
阅读全文
posted @ 2023-01-05 10:49
_jwj
阅读(56)
推荐(0)
摘要:
1 本例使用该方法来“查找” id="demo" 的 HTML 元素,并把元素内容(innerHTML)更改为 "Hello JavaScript": document.getElementById("demo").innerHTML = "Hello JavaScript";2 asp乱码解决:R
阅读全文
posted @ 2023-01-05 10:48
_jwj
阅读(73)
推荐(0)
摘要:
1.使用Facdes的方式 //重定向路由return Redirect::to('/home');//重定向命名路由return Redirect::route('website.home');//重定向到控制器动作return Redirect::action('homeController@h
阅读全文
posted @ 2022-11-17 15:29
_jwj
阅读(92)
推荐(0)
摘要:
参考:https://blog.csdn.net/weixin_33099015/article/details/116315708
阅读全文
posted @ 2022-07-18 11:52
_jwj
阅读(63)
推荐(0)
摘要:
https://www.cnblogs.com/yuerdongni/archive/2011/10/10/2205544.html
阅读全文
posted @ 2022-02-17 18:30
_jwj
阅读(174)
推荐(0)
摘要:
1. File File.Exists(path) File.Delete(path) File.Create(path) File.Move(path1,path2) File.Copy(path1,path2,true) 2. FileInfo FileInfo fileInfo = new F
阅读全文
posted @ 2021-12-13 17:15
_jwj
阅读(87)
推荐(0)
摘要:
JSP指令: 1.page:配置JSP页面的 <%@ page contentType="text/html;charset=UTF-8" language="java" %> 2.include:页面包含的。导入页面的资源文件 <%@ include file="xxx.jsp" %> 3.tag
阅读全文
posted @ 2021-11-10 15:31
_jwj
阅读(78)
推荐(0)
摘要:
1. 空白Trim replace(/(^\s*)|(\s*$)/g, "") 2. 选择信息 window.confirm("このデータを更新しますか?") 3. 信息框 alter() 4.四舍五入 CLng <=> Math.round() 返回小于等于x的最大整数: Math.floor(x
阅读全文
posted @ 2021-10-27 18:22
_jwj
阅读(85)
推荐(0)
摘要:
1. FileStream :对字节进行处理的流,可以和StreamWriter,StreamReader一起使用 2. StreamWriter,StreamReader:写入和读取字符文件的 3. 使用StreamWriter,写入数据 1 try 2 { 3 FileStream Mystre
阅读全文
posted @ 2021-10-14 11:49
_jwj
阅读(342)
推荐(0)
摘要:
1 private void txtKaisuu_KeyPress(object sender, KeyPressEventArgs e) 2 { 3 if ((e.KeyChar >= 32 && e.KeyChar <= 47) || (e.KeyChar >= 58 && e.KeyChar
阅读全文
posted @ 2021-10-11 17:06
_jwj
阅读(142)
推荐(0)
摘要:
https://www.cnblogs.com/candyzhmm/p/5595358.html
阅读全文
posted @ 2021-10-08 15:23
_jwj
阅读(154)
推荐(0)
摘要:
[System.Runtime.InteropServices.DllImport("imagehlp.dll")] private static extern int SearchTreeForFile(string RootPath, string FileName, StringBuilder
阅读全文
posted @ 2021-07-16 14:26
_jwj
阅读(128)
推荐(0)
摘要:
this.fgMain.EditOptions = EditFlags.None;
阅读全文
posted @ 2021-07-13 16:09
_jwj
阅读(96)
推荐(0)
摘要:
fgPhaseB.Rows[i].IsNode = true; fgPhaseB.Rows[i].Node.Level = 1; fgPhaseB.Tree.Column = 0; fgPhaseB.Tree.Style = TreeStyleFlags.SimpleLeaf; // 折り flex
阅读全文
posted @ 2021-07-12 18:22
_jwj
阅读(275)
推荐(0)
摘要:
1.FlexGrid的DropMode=Manual 1 private void fgMain_DragDrop(object sender, DragEventArgs e) 2 { 3 int row = this.fgMain.MouseRow; 4 int col = this.fgMai
阅读全文
posted @ 2021-07-12 17:57
_jwj
阅读(171)
推荐(0)
摘要:
1.有单元格右击,不显示菜单。 2.现在窗体加入控件ContextMenuStrip。 1 private void fgMain_MouseClick(object sender, MouseEventArgs e) 2 { 3 if (e.Button == MouseButtons.Right
阅读全文
posted @ 2021-07-12 17:50
_jwj
阅读(162)
推荐(0)
摘要:
参考:https://blog.csdn.net/zhuxipan1990/article/details/83114304
阅读全文
posted @ 2021-07-12 17:41
_jwj
阅读(210)
推荐(0)
摘要:
1、Menustrip 最常用的莫过于此菜单了,从工具栏中拖入一个menustrip到窗体中即可。可以有多个ToolStripMenuItem组成。 获取一个ToolStripMenuItem下面的子菜单的名字:ToolStripItem crl = this.menuACOS.DropDownIt
阅读全文
posted @ 2021-07-12 17:30
_jwj
阅读(465)
推荐(0)
摘要:
this.fgMain.AllowMerging = AllowMergingEnum.Custom; cellRange = this.fgMain.GetCellRange(0, 1, 0, 2); cellRange.Data = "基本小分類コード"; this.fgMain.MergedR
阅读全文
posted @ 2021-07-12 16:50
_jwj
阅读(327)
推荐(0)
摘要:
DECLARE @SQL1 NVARCHAR(1000) ,@SQL2 VARCHAR(1000) ,@type varchar(20) SET @SQL1 =' SELECT @type=B.NAME FROM SYSCOLUMNS A INNER JOIN SYSTYPES B ON A.XTY
阅读全文
posted @ 2021-07-06 16:20
_jwj
阅读(150)
推荐(0)
摘要:
ctrl+shift+k 删除一行 ctrl+k+s 快捷键设置 ctrl+p 打开文件 ctrl+shift+p 命令行 ctrl+x 剪切一行 ctrl+enter 向下插入一行空白行 ctrl+shift+enter 向上插入一行空白行 ctrl+/ 注释,反注释 alt+shift+箭头 复
阅读全文
posted @ 2021-04-22 18:28
_jwj
阅读(163)
推荐(0)
摘要:
AngularJS 是一个 JavaScript 框架。它可通过 <script> 标签添加到 HTML 页面 <script src="https://cdn.staticfile.org/angular.js/1.4.6/angular.min.js"></script>
阅读全文
posted @ 2021-02-06 12:05
_jwj
阅读(116)
推荐(0)
摘要:
Debug 视图下 -》在调试的线程上 右键单击 -》选择Edit Source Lookup Path -》选择Add -》选择Java Project 选择相应的Project 进行OK确定即可
阅读全文
posted @ 2020-12-11 14:13
_jwj
阅读(172)
推荐(0)
摘要:
1. 遍历文件夹 获取文件 : // 根据文件夹路径new一个DirectoryInfo对象 DirectoryInfo directoryInfo = new DirectoryInfo(folder); // 循环文件 foreach (FileInfo ofile in directoryIn
阅读全文
posted @ 2020-11-14 16:43
_jwj
阅读(167)
推荐(0)
摘要:
Array.Sort<FileInfo>(fileList, delegate(FileInfo x, FileInfo y) { return x.Name.CompareTo(y.Name); });
阅读全文
posted @ 2020-09-18 13:19
_jwj
阅读(186)
推荐(0)
摘要:
1. 01_Com_Class项目的属性设为类库 2. 编译后生成.dll 3.在工具箱中,右键点击,选择项,.NET Framework 组件分页(第一次加载会有些慢,耐心等一会儿),这时候,里边是找不到我们的控件的,需要点击浏览,找到dll,添加进去,点击确定。
阅读全文
posted @ 2020-05-25 16:34
_jwj
阅读(2256)
推荐(0)
摘要:
枚举是静态的,若枚举在类中,可以以类名.枚举名的方式调用 在namespace下,直接用 *修饰符不能是私有的
阅读全文
posted @ 2020-03-26 11:41
_jwj
阅读(230)
推荐(0)
摘要:
VLOOKUP (你想要查找的内容,要查找的位置,包含要返回的值的区域中的列号,返回近似或精确匹配-表示为 1/TRUE 或 0/假) 在A列中查找相等于B列的,对应的C列的值,在D列中返回 D列=VLOOKUP (A1:A1:C53,3,1)
阅读全文
posted @ 2020-01-06 10:23
_jwj
阅读(284)
推荐(0)
摘要:
CHARINDEX(B.[サイズ],A.[サイズリスト]) >0:第一项目在第二项目中 <0:不在
阅读全文
posted @ 2019-11-19 18:59
_jwj
阅读(194)
推荐(0)
摘要:
GetFolderPath(Environment.SpecialFolder.Desktop) 桌面路径 Environment.UserName 电脑用户 Environment.MachineName 电脑名
阅读全文
posted @ 2019-11-19 18:33
_jwj
阅读(358)
推荐(0)
摘要:
private void txt_file_DragDrop(object sender, DragEventArgs e) { ((TextBox)sender).Text = ((System.Array)e.Data.GetData(DataFormats.FileDrop)).GetValu
阅读全文
posted @ 2019-11-19 18:29
_jwj
阅读(408)
推荐(0)
摘要:
if (frmUpan == null) { frmUpan(全局变量) = new frm_unpan(pdFrm); } else { frmUpan.Close(); frmUpan.Dispose(); frmUpan = null; frmUpan = new frm_unpan(pdFr
阅读全文
posted @ 2019-11-19 18:28
_jwj
阅读(638)
推荐(0)
摘要:
private void cmd_prn_Click(object sender, EventArgs e) { if (printDoc.PrinterSettings.IsValid == false) return; Graphics myGraphics = this.CreateGraph
阅读全文
posted @ 2019-11-19 18:26
_jwj
阅读(477)
推荐(0)
摘要:
模拟用户的单击操作,触发 Click 事件 控件.PerformClick
阅读全文
posted @ 2019-10-29 19:39
_jwj
阅读(1350)
推荐(0)
摘要:
for (int i = 1; i <= 21; i++) { strName = "_txt_input_"+i.ToString(); Control con = this.Controls.Find(strName, true)[0]; con.Text = ""; }
阅读全文
posted @ 2019-10-29 19:35
_jwj
阅读(528)
推荐(0)
摘要:
1. System.Drawing.Color clrUnEnable = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(204))))); 2. this._
阅读全文
posted @ 2019-10-29 19:34
_jwj
阅读(1004)
推荐(0)
摘要:
#region-----画面のテキストボックスの全選択処理----- /// /// 画面のテキストボックスの全選択処理 /// /// public static void TextBoxEnter_SelectAll(Control crol) { S...
阅读全文
posted @ 2019-10-29 19:13
_jwj
阅读(574)
推荐(0)