找回密码
 立即注册

QQ登录

只需一步,快速开始

等待的QZW
初级会员   /  发表于:2019-12-23 10:59:33
地板
有时候会报错,有时候不会
回复 使用道具 举报
等待的QZW
初级会员   /  发表于:2019-12-23 10:58:33
板凳
后台使用方法:
private void Windows_Loaded(object sender, RoutedEventArgs e)
        {
            C1ThemeExpressionLight theme = new C1ThemeExpressionLight();
            C1Theme.ApplyTheme(startTimePicker, theme);
            C1Theme.ApplyTheme(endTimePicker, theme);

            this.Loaded -= Windows_Loaded;
        }
回复 使用道具 举报
等待的QZW
初级会员   /  发表于:2019-12-23 10:57:34
沙发
上诉报错是在客户机器上。版本为2017V1.0。前台调用控件方法:
<StackPanel Orientation="Vertical" Margin="0,10,5,0">
                    <TextBlock Text="时间范围: " VerticalAlignment="Center"/>
                    <c1:C1DateTimePicker x:Name="startTimePicker" DateTime="{Binding StartDateTime, Mode=TwoWay}" CustomDateFormat="yyyy-MM-dd" CustomTimeFormat="HH:mm:ss" />
                    <c1:C1DateTimePicker x:Name="endTimePicker" DateTime="{Binding EndDateTime, Mode=TwoWay}" CustomDateFormat="yyyy-MM-dd" CustomTimeFormat="HH:mm:ss" Margin="0,5,0,0"/>
                </StackPanel>
回复 使用道具 举报
12
您需要登录后才可以回帖 登录 | 立即注册
返回顶部