05 2012 档案

Isolated storage 独立存储
摘要:一个程序不能操作其他程序的独立存储 和不能操作文件系统,独立存储是虚拟的文件系统。 System.IO.IsolatedStorage. IsolatedStorageSettings +++IsolatedStorageFile 两个主要类 IsolatedStorageSettings 使用 key +value 键值对的形式存储数据 常用方法 Add, Remove, and Con... 阅读全文

posted @ 2012-05-31 16:07 GIS-MAN 阅读(291) 评论(0) 推荐(0) 编辑

button 样式
摘要:<Button Content="Button" Height="41" Margin="148,0,294,171" Style="{DynamicResource ButtonStyle1}" VerticalAlignment="Bottom"/> <Style x:Key="ButtonStyle1" TargetType="{x:Type Button}"> <Setter P... 阅读全文

posted @ 2012-05-30 11:37 GIS-MAN 阅读(241) 评论(0) 推荐(0) 编辑

button 样式
摘要:<Button Height="60" Width="183" Background="{x:Null}" BorderBrush="{x:Null}" BorderThickness="0" Foreground="{x:Null}" Margin="356,266,-70,0"> <Grid> <Image Source="LgBtn.png" Grid.Row="0" />. 阅读全文

posted @ 2012-05-30 11:30 GIS-MAN 阅读(150) 评论(0) 推荐(0) 编辑

wp 记账簿
摘要:xaml 代码<Grid x:Name="LayoutRoot"> <Grid.Background> <ImageBrush Stretch="Fill" ImageSource="QTRASH.PNG"/> </Grid.Background> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> &l 阅读全文

posted @ 2012-05-29 19:52 GIS-MAN 阅读(1072) 评论(5) 推荐(0) 编辑

ellipse
摘要:<Ellipse Fill="Blue" Stroke="Red" StrokeThickness="50" /> <Ellipse Width="300" Height="300"> 166 <Ellipse.Fill> <RadialGradientBrush Center="0.4 0.4" GradientOrigin="0.4 0.4"> <G... 阅读全文

posted @ 2012-05-29 17:31 GIS-MAN 阅读(321) 评论(0) 推荐(0) 编辑

读书笔记 之 image
摘要:<Image Source="Images/BuzzAldrinOnTheMoon.png"> <Image.OpacityMask> <RadialGradientBrush> <GradientStop Offset="0" Color="White" /> <GradientStop Offset="0.8" Color="White" /> <Gradie... 阅读全文

posted @ 2012-05-29 16:39 GIS-MAN 阅读(224) 评论(0) 推荐(0) 编辑

TextBlock
摘要:<TextBlock FontSize="36" TextWrapping="Wrap"> This is some <Run FontWeight="Bold">bold</Run> text and some <Run FontStyle="Italic">italic</Run> text and some <Run Foreground="Red">red<... 阅读全文

posted @ 2012-05-29 16:25 GIS-MAN 阅读(207) 评论(0) 推荐(0) 编辑

读书笔记之 programming wp7 之textblock
摘要:<TextBlock FontSize="36"TextWrapping="Wrap">This issome <Run FontWeight="Bold">bold</Run> text andsome <Run FontStyle="Italic">italic</Run> text andsome <Run Foreground="Red">red</Run> text andsome <Run Te 阅读全文

posted @ 2012-05-29 15:51 GIS-MAN 阅读(170) 评论(0) 推荐(0) 编辑

wp 托盘控制
摘要:shell:SystemTray.IsVisible="True" xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" 阅读全文

posted @ 2012-05-28 17:11 GIS-MAN 阅读(185) 评论(0) 推荐(0) 编辑

PhoneApplicationPage 之观察 触摸事件
摘要:在PhoneApplicationPage上点击触摸任意位置 或者其子控件 都会触发OnManipulationStarted这个事件 ,可以通过重写这个事件来改变触发的响应,OnManipulationStarted这个事件的参数args 可以获得 触发的原始控件namespace SilverlightTapHello2{ public partial class MainPage : PhoneApplicationPage { Random rand = new Random(); Brush originalBrush; public MainPage() { InitializeC 阅读全文

posted @ 2012-05-28 17:03 GIS-MAN 阅读(198) 评论(0) 推荐(0) 编辑

产生任意的颜色
摘要:txtblk.Foreground = new SolidColorBrush( Color.FromArgb(255, (byte)rand.Next(256), (byte)rand.Next(256), (byte)rand.Next(256)));Random rand = new Random(); 阅读全文

posted @ 2012-05-28 16:45 GIS-MAN 阅读(148) 评论(0) 推荐(0) 编辑

Windows Phone 7 触摸编程-单点触摸利用Touch.FrameReported事件
摘要:http://www.cnblogs.com/linzheng/archive/2011/01/29/1947585.html 阅读全文

posted @ 2012-05-28 16:40 GIS-MAN 阅读(159) 评论(0) 推荐(0) 编辑

手机wp的 触摸事件和 mouse 事件
摘要:<TextBlock Text="Hello, Windows Phone 7!" MouseLeftButtonDown="TextBlock_MouseLeftButtonDown" Padding="0 22" HorizontalAlignment="Center" VerticalAlignment="Center" ManipulationStarted="OnTextBlockManipulationStarted" />void OnTextBlo 阅读全文

posted @ 2012-05-28 16:36 GIS-MAN 阅读(552) 评论(0) 推荐(0) 编辑

PhoneApplicationPage 之观察
摘要:PhoneApplicationPage 的属性 Landscape" Orientation="Portrait"在landscape 和portrait 之间变化的时候 会触发内部控件的大小的改变 触发SizeChanged事件 private void ContentPanel_SizeChanged(object sender, SizeChangedEventArgs e) { txtblk.Text = String.Format("ContentPanel size: {0}\n" + "TitlePanel size: 阅读全文

posted @ 2012-05-28 15:53 GIS-MAN 阅读(212) 评论(3) 推荐(0) 编辑

让时间动起来 非原创
摘要:public MainPage() { InitializeComponent(); DispatcherTimer tmr = new DispatcherTimer(); tmr.Interval = TimeSpan.FromSeconds(1); tmr.Tick += OnTimerTick; tmr.Start(); } void OnTimerTick(object sender, EventArgs args) { txtblk.Text = DateTime.Now.ToString(); } 阅读全文

posted @ 2012-05-28 15:40 GIS-MAN 阅读(192) 评论(0) 推荐(0) 编辑

ApplicationBar 之isvisible ISMENUENABLED
摘要:<phone:PhoneApplicationPage.ApplicationBar> <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True"> <shell:ApplicationBarIconButton x:Name="appbar_button1" IconUri="/Images/appbar_button1.png" Text="Button 1"></shell:Applica 阅读全文

posted @ 2012-05-28 15:34 GIS-MAN 阅读(218) 评论(0) 推荐(0) 编辑

textgame
摘要:<TextBlock TextWrapping="Wrap"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce porttitor, tellus id tristique viverra, ligula pede pulvinar purus, nec hendrerit urna justo et nulla. Crascondimentum nulla at ipsum. Nullam nulla. Sed elit lectus hendrerit rhoncus, grav 阅读全文

posted @ 2012-05-24 15:28 GIS-MAN 阅读(301) 评论(0) 推荐(1) 编辑

关于界面用户体验ui的一点看法
摘要:我觉得一个好的UI 应该能减少用户的运动量 ,用户的操作 不应该距离太远,不要让操作即在顶部又在底部 ,应该开辟出单独的一块范围让用户来操作,内容展示区和操作区的分界尽量明显,我曾经监测过我一天的鼠标走过的距离 能达到几十米呢,一天8,9个个小时的人,如果坐在电脑前 在界面上大范围的来回操作,可想而知 会有多累 阅读全文

posted @ 2012-05-16 18:57 GIS-MAN 阅读(236) 评论(0) 推荐(1) 编辑

windows phone学习笔记 之获取网络信息
摘要:DeviceNetworkInformation class .cellular data:蜂窝数据———————— 无线通讯技术标准的一种,G网手机通讯目前还是蜂窝。因为小型无线通讯设备为了可移动性和其它原因,功率比较小,通讯距离也不是很远,为了可以达到远距离通讯和高效通讯及通讯管理,就需要一定量的基站进行数据处理和转发,基站的无线覆盖距离也是有限的,就需要多个基站才能覆盖整个区域,而只有基站的位置呈六边形的布局,是效率最好的,多个六边行叠加在一起就很像蜂窝了。这种布局用到的参数也称为蜂窝数据。 不单无线通讯基站,即使一些服务行业的营业网点也是呈蜂窝的。蜂窝数据的意思,就是你手机所有的2g/ 阅读全文

posted @ 2012-05-11 14:45 GIS-MAN 阅读(292) 评论(0) 推荐(0) 编辑

小体会
摘要:今天做windows phone的小程序 , 用的模拟器 ,需要一些数据来模仿情景, 自己原本打算的使用xml来创建程序,,但是xml找不到,今天中午突然想到 为什么一定要用xml开存数据呢,,用类 一样来存数据 ,而且还可以减少IO 操作,好像感觉到 什么是业务层和数据层了,一点小体会 阅读全文

posted @ 2012-05-09 20:08 GIS-MAN 阅读(137) 评论(0) 推荐(0) 编辑

qt 基础知识
摘要:最近开始学qt,边学边做,出了个小程序 代码如下QObject::connect(ui->pushButton,SIGNAL(clicked()),this,SLOT(save()));// 连接 信号和槽intMainWindow::createxml(){QFiledb("my.xml");if(!db.open(QIODevice::WriteOnly|QIODevice::Truncate))return0;QDomDocumentdoc;QDomElementroot=doc.createElement("lit");doc.append 阅读全文

posted @ 2012-05-03 11:06 GIS-MAN 阅读(556) 评论(0) 推荐(0) 编辑

导航

< 2025年4月 >
30 31 1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 1 2 3
4 5 6 7 8 9 10
点击右上角即可分享
微信分享提示