02 2013 档案

摘要:Support the minimum Windows effective resolution of 800x600 pixels. For critical user interfaces (UIs) that must work in safe mode, support an effective resolution of 640x480 pixels. Be sure to account for the space used by the taskbar by reserving 48 vertical relative pixels for windows displayed . 阅读全文
posted @ 2013-02-27 14:25 xiaokang088 阅读(265) 评论(0) 推荐(0) 编辑
摘要:1. Screen resolution: 800*600 , 96DPI (100%)Work Area Size as follow:800*560 (subtract bottom/top taskbar height)686*600 (subtract left/Right taskbar height)2.Screen resolution: 1024*768, 120DPI (125%)Get Work Area Size from System.Windows.Forms.Screen.PrimaryScreen.Bounds.Size :1024*720(subtract bo 阅读全文
posted @ 2013-02-26 15:08 xiaokang088 阅读(940) 评论(0) 推荐(0) 编辑
摘要:方式一:不启动IE,代码中Post try { string url = "http:\\xxx.com" ; string postString = "uid=xx&pwd=xxx"; byte[] postData = Encoding.UTF8.GetBytes(postString); HttpWebRequest request = (HttpWebRequest)WebRequest.Create(n... 阅读全文
posted @ 2013-02-22 13:47 xiaokang088 阅读(4813) 评论(0) 推荐(1) 编辑
摘要:If you use textblock in DataTemplate, such as follow: <ListBox x:Name="manageJobsListBox" Grid.Column="1" ItemsSource="{Binding ManageJobsListCollection}" Background="Yellow"> <ListBox.ItemTemplate> <DataTemplate> <Grid> <StackPanel 阅读全文
posted @ 2013-02-06 10:53 xiaokang088 阅读(351) 评论(0) 推荐(0) 编辑