随笔分类 -  Winform

hcy go go
摘要:winform 如何使用TabControl 控件来做winform界面框架? 这样的效果: 首先菜单的窗口展示的承载器为TabControl 控件,这个控件本身包含多页面预览和页面初始化。 如图所示:要实现如下功能。 1. 安装DevComponents.DotNetBar 组件 我这里使用的是: 阅读全文

posted @ 2017-04-24 18:52 霍先生的博客 阅读(2324) 评论(0) 推荐(0) |

摘要:public partial class FrmMain : DevComponents.DotNetBar.Office2007RibbonForm { public FrmMain() { InitializeComponent(); this.EnableGlass = false; ... 阅读全文

posted @ 2017-04-17 22:48 霍先生的博客 阅读(542) 评论(0) 推荐(0) |

摘要:public static string cExportTXT(DataView dv) { try { SaveFileDialog saveFileDialog1 = new SaveFileDialog(); saveFileDialog1.Filte... 阅读全文

posted @ 2017-03-30 11:25 霍先生的博客 阅读(1819) 评论(0) 推荐(0) |

摘要:弹出输入框和获取输入框的值: 阅读全文

posted @ 2017-03-30 11:22 霍先生的博客 阅读(1241) 评论(0) 推荐(0) |

摘要:Winform 使用NotNetBar 阅读全文

posted @ 2017-03-29 14:38 霍先生的博客 阅读(1061) 评论(0) 推荐(0) |

摘要:static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { //Application.EnableVisualStyles(); //Application. 阅读全文

posted @ 2016-03-03 17:41 霍先生的博客 阅读(334) 评论(0) 推荐(0) |

摘要://单击单元格获取单元格的内容 private void dataGridViewX1_CellClick(object sender, DataGridViewCellEventArgs e) { try { SelectPowerObjid = this.dataGridViewX1.Curre... 阅读全文

posted @ 2015-08-05 09:17 霍先生的博客 阅读(906) 评论(0) 推荐(0) |

摘要:private void Form1_Load(object sender, EventArgs e) { try { //程序运行位置 string R_startPath = Application.ExecutablePath; //对应于HKEY_LOCAL_MACHINE主键 Regis... 阅读全文

posted @ 2015-08-05 09:13 霍先生的博客 阅读(473) 评论(0) 推荐(1) |

摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u... 阅读全文

posted @ 2015-07-10 16:38 霍先生的博客 阅读(2573) 评论(0) 推荐(1) |

摘要:public void FindSelectNode(string NodeText) //节点Text { foreach (Node tnc in Advtree1.Nodes) //遍历你的 treeView1 { nextnodes(tnc, NodeText); // 这个是你textB... 阅读全文

posted @ 2015-07-09 11:25 霍先生的博客 阅读(1074) 评论(2) 推荐(0) |

摘要:create procedure DeleteNote@Objid int--定义要删除树节点asdeclare @childID int --声明变量declare cursors cursor local for select Objid from TableChart where parent... 阅读全文

posted @ 2015-07-09 10:50 霍先生的博客 阅读(475) 评论(0) 推荐(0) |

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3


 

< img src="" />