ページ

Thursday, December 17, 2009

Out of Browser

It's not easy to find out the best practice about "Out Of Browser", but as one of solutions on the Internet,
Online Catalog or something like that would be nice... I think.
Because the catalog always provides the latest information whenever we start the "Out of browser", differently from PDF or Word files.

Demo site ( Until Dec 31, 2009 )
http://lol.cloudapp.net/SilverlightCatalog.aspx


1. Silverlight Page







2. Installing Out of Browser



3. Starting Out of Browser







4. Starting Out of Browser when Network is not available



Adding "Out of Browser" on Silverlight is very easy, but not easy to add what kind of service on it ... as usual.

Sunday, December 6, 2009

WPF Ribbon Application

As my next challenge, I tried creating a simple WPF Ribbon Application.
Using RibbonControlsLibrary, it's very easy to create Ribbon-designed application which looks like  Office 2007.
However, therefore the user would require high-level user experience, I think.

1. Starting the application.





2.Simple FontDialog & ColorDialog for WPF Application.





 *When a font is selected on the FontDialog, the font is supposed to be checked if it's available or not on WPF.
  That's because the incorrect-format-font causes the System.IO.FileFormatException.


3. Customizing the Skin on Application.




 *As the default skin, it seems there're 3 type ones: black, blue and silver.

4.ContextMenu on RichTextBox



 * The header is shown correctly, which means "IMEを開く"/"IMEを閉じる"-menu
   ,unless directly switching IME-Mode out of this application.... so far.
   ( I mean, I didn't add the Eventhandler for it. )

5.Showing the Most Recent used files a.k.a. MRU

 After saving a text on a file, and restarting application again, then the most recent used file(s) appears like following.
 unless either deleting the data by clicking "情報削除"-Button in "最近使ったファイル"-Group on "設定"-Tab
 or deleting the registry-key directly.





 MRU data is stored in Registry, "HKEY_CURRENT_USER\Software\<applicationName>\"
... Well, I hope the next .net framework, .net framework 4, has RibbonControlsLibrary.

PS: プログラミング前の印象とはうらはらに、リボンの実装ってとても簡単だった。。。