Changeset 11911 for extensions/PiwigoLib/PiwigoWpf/MainWindow.xaml
- Timestamp:
- Aug 5, 2011, 5:00:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PiwigoLib/PiwigoWpf/MainWindow.xaml
r11904 r11911 3 3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 4 4 xmlns:pwg="clr-namespace:Com.Piwigo.Wpf" 5 xmlns:pwgui="clr-namespace:Com.Piwigo.Wpf.UI" 5 6 xmlns:pwgdto="clr-namespace:Com.Piwigo.Wpf.DTO" 6 7 xmlns:pwgcmd="clr-namespace:Com.Piwigo.Wpf.Command" … … 20 21 <Image ToolTip="{Binding File}" > 21 22 <Image.Source> 22 <PriorityBinding FallbackValue="pack://application:,,,/Pictures/Globe.png">23 <PriorityBinding> 23 24 <Binding IsAsync="True" Converter="{x:Static pwgsrv:ImageCacheManager.ImageUrlCachedConverter}"/> 24 25 <Binding Source="pack://application:,,,/Pictures/Globe.png" /> 25 26 </PriorityBinding> 26 27 </Image.Source> … … 204 205 <TextBox Height="23" Name="BbUsr" Width="120" Text="{Binding Path=UserName, Mode=TwoWay}" /> 205 206 <Label Content="Password" Name="LblPwd" /> 206 <TextBox Height="23" Name="TbPwd" Width="120" Text="{Binding Path=Password, Mode=TwoWay}"/> 207 <PasswordBox Height="23" Name="TbPwd" Width="120" PasswordChar="*" 208 pwgui:PasswordHelper.BindPassword="true" pwgui:PasswordHelper.BoundPassword="{Binding Path=Password, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/> 207 209 <Label Content="Url" Name="LblUrl" /> 208 210 <TextBox Height="23" Name="TbUrl" Width="300" Text="{Binding Path=ServeurName, Mode=TwoWay}"/> 209 <CheckBox VerticalAlignment="Center" IsChecked="{Binding Path=SaveSetting, Mode=TwoWay}">Save settings</CheckBox> 210 <Button Margin="2" Command="{x:Static pwgcmd:PwgCmdProvider.PwgCmdConnect}">Go</Button> 211 <CheckBox Margin="2" VerticalAlignment="Center" IsChecked="{Binding Path=SaveSetting, Mode=TwoWay}">Save settings</CheckBox> 212 <Button Margin="2" Command="{x:Static pwgcmd:PwgCmdProvider.PwgCmdConnect}" Visibility="{pwgui:SwitchBinding IsConnected, Hidden, Visible}">Conect</Button> 213 <Button Margin="2" Command="{x:Static pwgcmd:PwgCmdProvider.PwgCmdDisconnect}" Visibility="{pwgui:SwitchBinding IsConnected, Visible, Hidden}">Disconect</Button> 211 214 </StackPanel> 212 215 <ProgressBar IsIndeterminate="True" />
Note: See TracChangeset
for help on using the changeset viewer.