かなウェル
かなウェルのメニューにお気に入りメニューをつけてみた。 MenuItemの派生クラスは以下。BookMarkMenuItem.cs あらかじめ、フォームにImageListを要しておく必要があります。 using System; using System.Collections.Generic; using System.Linq; using Sys…
かなウェルのソースを見ていたら、ヘボいコードを発見。 昔はデザインパターンの本とか読んでたのになあ。キー押下状態を見るシングルトン。switchとか使っているよ。 KeyState.cs using System; using System.Collections.Generic; using System.Linq; usin…
BigCheckMenuItemは以下の以前の記事の載せています。 http://d.hatena.ne.jp/kabacsharp/20111008/1318057324BigRadioCheckItem.cs: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; …
かなウェルや波佐見弁利で、設定項目を永続化したいと思って作ったクラス。 Accessに保存する中間クラスとした。 キャッシュ機能つき。Accessのテーブルは以下のよう。 settingsSingleton: using System; using System.Collections.Generic; using System.L…
メインメニューなるものを「C#によるプログラミングWindows上」本を見ながら作ってみました。ホントにメニューのフォントやサイズを変えられるんだ。 なんかどろくさいけどw「BigMenuItem」クラス using System; using System.Collections.Generic; using S…
「コクリコ坂から」を選択後・・・ 「H」キー押下で「とは」検索へGO WebBroserのキー押下検出には、OnPreviewKeyDownを使います。 「OnEnterPressWithTextSelection」("Enter"とはなっていますが、"H"の間違いです)レイズ先メソッドで、検索バーに選択文字…
ここではかなウェルというブラウザを例にしています。 かなウェル-> http://lsl.way-nifty.com/kanawel/ブラウザコンポーネント:MyTabWebBrowser.cs using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; usin…