460 X 120

2013年5月26日 星期日

統一發票 102年03-04月中獎號碼


獎別 中獎號碼
特別獎
1,000 萬元
13393774
同期統一發票收執聯8位數號碼與上列號碼相同者獎金1,000 萬元
特獎
200 萬元
25894576
同期統一發票收執聯8位數號碼與上列號碼相同者獎金200 萬元
頭獎
20 萬元
43792479、01973003、71347425
同期統一發票收執聯8位數號碼與上列號碼相同者獎金20 萬元
二獎
4 萬元
同期統一發票收執聯末7 位數號碼與頭獎中獎號碼末7 位相同者各得獎金4 萬元
三獎
1 萬元
同期統一發票收執聯末6 位數號碼與頭獎中獎號碼末6 位相同者各得獎金1 萬元
四獎
4 千元
同期統一發票收執聯末5 位數號碼與頭獎中獎號碼末5 位相同者各得獎金4 千元
五獎
1 千元
同期統一發票收執聯末4 位數號碼與頭獎中獎號碼末4 位相同者各得獎金1 千元
六獎
2 百元
同期統一發票收執聯末3 位數號碼與頭獎中獎號碼末3 位相同者各得獎金2 百元
增開六獎
2 百元
997
同期統一發票收執聯末3 位數號碼與上列號碼相同者各得獎金2 百元
領獎期間自102年06月6日起至102年09月5日止

2013年5月22日 星期三

[Windows 8] How to set the Item to bring into view with ListView in Windows Store app

You can use the following function:

Scrolls the list to bring the specified data item into view.
public void ScrollIntoView(
    object item
)

Parameters

item
          Type: System.Object [.NET] | Platform::Object [C++]
          The data item to bring into view.

Sample

    int nPos = 5;  
    listView.ItemsSource = list;
    listView.UpdateLayout();
    listView.ScrollIntoView(list[nPos]);

2013年5月21日 星期二

[Windows 8] How to make Metro ListView selection color modification in XAML

Add the following xaml tag
    <SolidColorBrush x:Key="ListViewItemSelectedBackgroundThemeBrush" Color="#FF8FC249"/> 
    <SolidColorBrush x:Key="ListViewItemSelectedPointerOverBackgroundThemeBrush" Color="#DE8FC249"/> 
    <SolidColorBrush x:Key="ListViewItemSelectedPointerOverBorderThemeBrush" Color="#AB8FC249"/>

to StandardStyles.xaml file, and reference the following:
<ResourceDictionary 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> 
    
    <!-- Non-brush values that vary across themes --> 
    
    <ResourceDictionary.ThemeDictionaries> 
        <ResourceDictionary x:Key="Default"> 
            <x:String x:Key="BackButtonGlyph"></x:String> 
            <x:String x:Key="BackButtonSnappedGlyph"></x:String> 
        </ResourceDictionary> 
        
        <ResourceDictionary x:Key="HighContrast"> 
            <x:String x:Key="BackButtonGlyph"></x:String> 
            <x:String x:Key="BackButtonSnappedGlyph"></x:String> 
        </ResourceDictionary> 
    </ResourceDictionary.ThemeDictionaries> 
    
    <x:String x:Key="ChevronGlyph"></x:String> 
    
    <SolidColorBrush x:Key="ListViewItemSelectedBackgroundThemeBrush" Color="#FF8FC249"/> 
    <SolidColorBrush x:Key="ListViewItemSelectedPointerOverBackgroundThemeBrush" Color="#DE8FC249"/> 
    <SolidColorBrush x:Key="ListViewItemSelectedPointerOverBorderThemeBrush" Color="#AB8FC249"/>
    ...
</ResourceDictionary> 

2013年5月18日 星期六

統一發票 102年01-02月中獎號碼


獎別 中獎號碼
特別獎
1,000 萬元
18623268
同期統一發票收執聯8位數號碼與上列號碼相同者獎金1,000 萬元
特獎
200 萬元
23322026
同期統一發票收執聯8位數號碼與上列號碼相同者獎金200 萬元
頭獎
20 萬元
55296725、65713406、44395947
同期統一發票收執聯8位數號碼與上列號碼相同者獎金20 萬元
二獎
4 萬元
同期統一發票收執聯末7 位數號碼與頭獎中獎號碼末7 位相同者各得獎金4 萬元
三獎
1 萬元
同期統一發票收執聯末6 位數號碼與頭獎中獎號碼末6 位相同者各得獎金1 萬元
四獎
4 千元
同期統一發票收執聯末5 位數號碼與頭獎中獎號碼末5 位相同者各得獎金4 千元
五獎
1 千元
同期統一發票收執聯末4 位數號碼與頭獎中獎號碼末4 位相同者各得獎金1 千元
六獎
2 百元
同期統一發票收執聯末3 位數號碼與頭獎中獎號碼末3 位相同者各得獎金2 百元
增開六獎
2 百元
436
同期統一發票收執聯末3 位數號碼與上列號碼相同者各得獎金2 百元
領獎期間自102年04月6日起至102年07月5日止

2013年5月13日 星期一

[Windows 8] to fix error: Additional information: Cannot perform runtime binding on a null reference

Recently, in the study the Facebook API, try to find a feed/data, but I feed data no contents, run the following program, there will be the Additional Information: Can not perform runtime binding on a null reference ":
  dynamic feeds = await fbClient.GetTaskAsync(strID + "?fields=feed");
  foreach (var data in feeds.feed.data)
  {
     ...
  }
Later changed to:
  dynamic feeds = await fbClient.GetTaskAsync(strID + "/feed");
  if (feeds != null)
  {
    foreach (var data in feeds.data)
    {
       ...
    }
  }
The problem is solved.

2013年5月11日 星期六

下雨的週末

一早起床, 本想去買豆漿和蘿蔔糕加蛋,
沒想到外面下雨, 只好打消念頭, 囧 ...

早上在風行網上看動漫 - [BOOLD-C劇場版]

下一整天的雨, 原來是梅雨季來報到