- Aug 17 Wed 2011 17:54
Ext.get()/Ext.fly()區別
- Aug 17 Wed 2011 14:54
Ext取Dom的方法
Ext.getDom('testDom')、 Ext.getDom(el)、 Ext.getDom(el.Dom)是一樣的都可取回testDom元素
<html xmlns="http://www.w3.org/1999/xhtml">
- Aug 17 Wed 2011 11:43
Ext的extend
最近有機會對倉庫系統專案做Code review,網頁的寫法大多是用ExtJs(其實是用ExtNet) 所以買了一本書學習一下:
下面程式碼主要是用Ext.extend 將Person繼承Object之後寫簡單的方法和屬性,
- Sep 21 Tue 2010 09:52
字串Format向右、向左靠
Strings
The only formatting available to Strings is the padding option, which can be positive or negative depending on whether the string should be left- or right-aligned:
String.Format("'{0,10}'", "John");
- Sep 15 Wed 2010 12:20
C# winform 遇到沒有Tip屬性時可以用ToolTip物件做Tip
ToolTip tips = new ToolTip();
tips.ToolTipTitle = "lable提示";
tips.IsBalloon = true;
tips.UseAnimation = true;
tips.UseFading = true;
tips.AutoPopDelay = 3000;
tips.SetToolTip(this.label1,"提示");