Changeset 2601


Ignore:
Timestamp:
Feb 5, 2011, 9:25:24 PM (11 years ago)
Author:
matkovic
Message:

-Removed "throw new exceptions"
-PluginContainerView: TextBox bug fixed.

Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/P2PEditor/P2PEditor.cs

    r2598 r2601  
    292292        public double GetZoom()
    293293        {
    294             throw new NotImplementedException();
     294            return double.NaN;
    295295        }
    296296
    297297        public void Zoom(double value)
    298298        {
    299             throw new NotImplementedException();
     299           
    300300        }
    301301
    302302        public void FitToScreen()
    303303        {
    304             throw new NotImplementedException();
     304           
    305305        }
    306306
  • trunk/CrypPlugins/SimpleEditor/SimpleEditor.cs

    r2598 r2601  
    333333        public double GetZoom()
    334334        {
    335             throw new NotImplementedException();
     335            return double.NaN;
    336336        }
    337337
    338338        public void Zoom(double value)
    339339        {
    340             throw new NotImplementedException();
     340           
    341341        }
    342342
    343343        public void FitToScreen()
    344344        {
    345             throw new NotImplementedException();
     345           
    346346        }
    347347
  • trunk/CrypPlugins/Wizard/Wizard.cs

    r2598 r2601  
    238238        public double GetZoom()
    239239        {
    240             throw new NotImplementedException();
     240            return double.NaN;
    241241        }
    242242
    243243        public void Zoom(double value)
    244244        {
    245             throw new NotImplementedException();
     245           
    246246        }
    247247
    248248        public void FitToScreen()
    249249        {
    250             throw new NotImplementedException();
     250           
    251251        }
    252252
  • trunk/CrypPlugins/WorkspaceManager/View/Container/PluginContainerView.xaml

    r2597 r2601  
    306306            </Grid>
    307307        </DockPanel>
    308         <TextBox x:Name="CTextBox" DockPanel.Dock="Bottom" FontWeight="Medium" FontSize="12" KeyUp="TextBox_KeyUp" HorizontalAlignment="Left" TextChanged="CTextBox_TextChanged" PreviewMouseLeftButtonDown="TextBox_MouseLeftButtonDown" Style="{StaticResource ResourceKey=BasicTextBoxStyle}" Width="120" Height="18" Margin="0,-10,0,0" FontFamily="Palatino"></TextBox>
     308        <TextBox x:Name="CTextBox" DockPanel.Dock="Bottom" FontWeight="Medium" FontSize="12" KeyUp="TextBox_KeyUp" HorizontalAlignment="Left" TextChanged="CTextBox_TextChanged" PreviewMouseLeftButtonDown="TextBox_MouseLeftButtonDown" LostKeyboardFocus="CTextBox_LostKeyboardFocus" Style="{StaticResource ResourceKey=BasicTextBoxStyle}" Width="120" Height="18" Margin="0,-10,0,0" FontFamily="Palatino"></TextBox>
    309309
    310310
  • trunk/CrypPlugins/WorkspaceManager/View/Container/PluginContainerView.xaml.cs

    r2599 r2601  
    10301030        }
    10311031
     1032        private void CTextBox_LostKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
     1033        {
     1034            ((TextBox)sender).CaretBrush = Brushes.Transparent;
     1035        }
     1036
    10321037    }
    10331038
  • trunk/CrypPlugins/WorkspaceManager/View/Resource/Styles.xaml

    r2595 r2601  
    231231                    </DockPanel>
    232232                    <ControlTemplate.Triggers>
     233
     234                        <Trigger Property="IsFocused" Value="False">
     235                            <Setter Property="Visibility" Value="Hidden" TargetName="Border"></Setter>
     236                            <Setter Property="Visibility" Value="Hidden" TargetName="Border2"></Setter>
     237                        </Trigger>
    233238                        <Trigger Property="IsMouseOver" Value="True">
    234239                            <Setter Property="Visibility" Value="Visible" TargetName="Border"></Setter>
Note: See TracChangeset for help on using the changeset viewer.