09 2007 档案
企業類庫之Configuration-Migration Application Block(一)
摘要:EditorFontData.csusingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Configuration;namespaceDemo003...{/**////<summary>//////</summary>publicclassEditorFontData:ConfigurationSection...{/**////<summary>//////</summary>publicEditorFontData()...{}/**////< 阅读全文
posted @ 2007-09-25 12:52 wkjs 阅读(175) 评论(0) 推荐(0)
傳統經理人的迷思(转)
摘要:傳統經理人的迷思美國的企管顧問師威廉·葛詩禮,於十幾年前,在亞洲基金會與全國職業訓練金監理會的贊助之下,完成了一本名叫《為中國經理把脈》的研究報告。 在該篇報告中,葛詩禮毫不客氣地指出臺灣經理人常犯的三十六項錯誤,這些錯誤是: 一、 授權不夠二、 權責不明三、 多頭馬車四、 踢皮球--推卸責任五、 死愛面子六、 不能容忍部屬的錯誤七、 把建議當作是批判八、 自認樣樣都比部屬行九、 喜歡製造派系的鬥爭十、 喜歡用聽話而無主見的人十一、 用人重視忠心忽視能力十二、 霸佔部屬的創見十三、 墨守成規、拒絕改變十四、 把部屬看成是低一等的人十五、 沒給部屬宣洩情緒的機會十六、 對部屬的好壞絕口 阅读全文
posted @ 2007-09-25 12:38 wkjs 阅读(137) 评论(0) 推荐(0)
企業類庫之Caching Application Block (一)
摘要:配置文件<?xmlversion="1.0"encoding="utf-8"?><configuration><configSections><sectionname="cachingConfiguration"type="Microsoft.Practices.EnterpriseLibrary.Caching.Configuration.CacheManagerSettings,Microsoft.Practices.EnterpriseLibrary.Caching" 阅读全文
posted @ 2007-09-20 20:52 wkjs 阅读(167) 评论(0) 推荐(0)
移動設備開發注意點
摘要:我現在就要告訴您,處理使用者輸入的方式,刻意成就您的應用程式,也可以徹底毀滅它。您可能會問︰『為甚麼呢?』答案很簡單,因為對Windows CE的使用者來說,輸入是非常痛苦的作業。您沒有滑鼠可用,也沒有鍵盤(千萬不要告訴我說︰『不是有SIP嗎?』),不過您還是需要能收集資料。輸入規則#1 愈大愈好輸入規則#2 盡量幫使用者完成工作輸入規則#3 阻止使用者操作危險的按鈕輸入規則#4 遠離SIP 阅读全文
posted @ 2007-09-19 22:26 wkjs 阅读(113) 评论(0) 推荐(0)
C#實現自動啟動
摘要:privatevoidtoolStripMenuItem3_Click(objectsender,EventArgse)...{if(autorun==true)...{RunWhenStart(false,Application.ProductName,Application.StartupPath+@""+Application.ProductName+@".exe");autorun=false;}else...{RunWhenStart(true,Application.ProductName,Application.StartupPath+@& 阅读全文
posted @ 2007-09-19 22:04 wkjs 阅读(197) 评论(0) 推荐(0)
劳动合同法之试用期工资的算法(轉)
摘要:试用期究竟应该怎么算? “来我这儿工作先试用个半年,表现可以我们再签订劳动合同。”“你前三个月试用下来不太理想,我们再给你个机会试用半年吧。” 劳动者前去求职,遇到这样场景的绝不少见。为了保住这个岗位,劳动者不得不忍受着试用期的低工资、多工作量的待遇。结果,原来是用人单位与劳动者在劳动合同中协商约定的有限的考察期,变成了无限制的廉价劳动期。 此次出台的《劳动合同法》延续了《劳动法》有关试用期的一些规定,如试用期属于劳动合同的约定条款,双方可以约定也可以不约定试用期;试用期包含在劳动合同期限之内;试用期最长不得超过六个月。 针对上述的一些用人单位滥用试用期的问题,如试用期过长、过分压低劳动者在试 阅读全文
posted @ 2007-09-18 19:37 wkjs 阅读(239) 评论(0) 推荐(0)
修該Config文件程序程式
摘要:usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Configuration;usingSystem.Xml;usingSystem.Reflection;namespaceWalter.K.Wang.Config...{/**////<summary>///讀寫配置文件操作類///</summary>publicclassConfig...{/**////<summary>///讀配置文件///</summary>///<paramname=& 阅读全文
posted @ 2007-09-17 19:51 wkjs 阅读(165) 评论(0) 推荐(0)
關機程式操作類
摘要:usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Runtime.InteropServices;namespaceWalter.K.Wang.ShutDown...{/**////<summary>//////</summary>publicclassShutDown...{/**////<summary>//////</summary>publicenumOperat...{/**////<summary>///關閉計算機///< 阅读全文
posted @ 2007-09-16 22:30 wkjs 阅读(207) 评论(0) 推荐(0)
關閉程式使程式最小化
摘要:privatevoid顯示程序ToolStripMenuItem_Click(objectsender,EventArgse)...{if(顯示程序ToolStripMenuItem.Checked==false)...{this.Show();this.WindowState=System.Windows.Forms.FormWindowState.Normal;this.ShowInTaskbar=true;bclose=false;顯示程序ToolStripMenuItem.Checked=true;}else...{this.Hide();this.WindowState=System 阅读全文
posted @ 2007-09-16 22:27 wkjs 阅读(218) 评论(0) 推荐(0)
只運行一個程序之二
摘要:usingSystem;usingSystem.Collections.Generic;usingSystem.Windows.Forms;usingSystem.Threading;namespaceWalter.K.Wang.Demo...{staticclassProgram...{/**////<summary>///應用程式的主要進入點。///</summary>[STAThread]staticvoidMain()...{Application.EnableVisualStyles();Application.SetCompatibleTextRenderi 阅读全文
posted @ 2007-09-16 21:58 wkjs 阅读(180) 评论(0) 推荐(0)
Windows Mobile asp.net第一個程序
摘要:<%...@PageLanguage="C#"AutoEventWireup="true"CodeFile="Default2.aspx.cs"Inherits="Default2"%><%...@RegisterTagPrefix="mobile"Namespace="System.Web.UI.MobileControls"Assembly="System.Web.Mobile"%><htmlxmlns="htt 阅读全文
posted @ 2007-09-14 09:53 wkjs 阅读(202) 评论(0) 推荐(0)
創建型模式之原型模式
摘要: 阅读全文
posted @ 2007-09-09 21:33 wkjs 阅读(184) 评论(0) 推荐(0)
創建型模式之創建者模式
摘要: 阅读全文
posted @ 2007-09-09 21:32 wkjs 阅读(96) 评论(0) 推荐(0)
創建型模式之工廠方法模式
摘要: 阅读全文
posted @ 2007-09-09 21:32 wkjs 阅读(119) 评论(0) 推荐(0)
創建型模式之抽象工廠(轉)
摘要:usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Windows.Forms;namespaceWalter.K.Wang.Abstract...{publicabstractclassContinentFactory...{publicabstractHerbivoreCreateHerbivore();publicabstractCarnivoreCreateCarnivore();}publicclassAfricaFactory:ContinentFactory...{publicoverr 阅读全文
posted @ 2007-09-09 21:31 wkjs 阅读(165) 评论(0) 推荐(0)
創建型模式之單件模式(轉)
摘要:usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Collections;namespaceWalter.K.Wang.Singleton...{/**////<summary>///Singleton模式///</summary>publicclassLoadBalancer...{privatestaticLoadBalancerinstance;privateArrayListservers=newArrayList();privateRandomrandom=newR 阅读全文
posted @ 2007-09-09 21:30 wkjs 阅读(201) 评论(0) 推荐(0)