zoukankan      html  css  js  c++  java
  • wp8 入门到精通

    <StackPanel Orientation="Vertical">
    <StackPanel Orientation="Horizontal">
    <TextBlock Text="昵称:" Style="{StaticResource InStyle_SLMTB}"/>
    <Grid Margin="10,10,0,10" Width="320">
    <Rectangle x:Name="rect" RadiusX="5" RadiusY="5"
    StrokeThickness="2" Stroke="OrangeRed" />
    <TextBox Text="在此处放置其他内容-" BorderThickness="0" Background="Transparent" />
    </Grid>
    </StackPanel>
    <Line Stroke="Gray" StrokeThickness="1" X1="0" X2="480"/>
    </StackPanel>

    可自动换行的button

    <StackPanel Orientation="Horizontal">
    <TextBlock Text="兴趣爱好" Style="{StaticResource InStyle_HabitsMTB}"/>
    <Grid Margin="12,10,0,10" Width="156">
    <Grid.RowDefinitions>
    <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>
    <Rectangle x:Name="rect" StrokeThickness="3" Stroke="#FFDE1C1A"/>
    <TextBlock FontSize="22" Padding="2,7,0,7" Text="选性格特征性性格特征择"
    Foreground="Black" TextWrapping="Wrap" Margin="2,2,2,2" />
    </Grid>
    </StackPanel>

    如果用户控件出现了一下问题 无法确定调用方的应用程序标识

    说明你在用户控件里添加了独立存储操作。删掉就没事了或者是

    this.Loaded += (object sender, RoutedEventArgs e) =>
    {
    if ((Convert.ToBoolean(Utils.Instance.ReadStringObject("CloseStartup"))))
    DisStart();
    }; 这么加也可以

    请相信我吧。我找了一天。才找到。一定是独立存储的问题 TT

  • 相关阅读:
    LCA + 二分(倍增)
    Educational Codeforces Round 5
    BNU 51276
    POJ 1511
    hdu2121
    最小树形图(朱刘算法)
    Educational Codeforces Round 1(D. Igor In the Museum) (BFS+离线访问)
    Educational Codeforces Round 1(C. Nearest vectors)
    POJ-2785 4 Values whose Sum is 0(折半枚举 sort + 二分)
    POJ 1661Help Jimmy(逆向DP Or 记忆化搜索 Or 最短路径)
  • 原文地址:https://www.cnblogs.com/androllen/p/3574013.html
Copyright © 2011-2022 走看看