Changeset 2447


Ignore:
Timestamp:
Jan 24, 2011, 2:56:08 PM (10 years ago)
Author:
kopal
Message:

added password reset gui

Location:
trunk/CrypPlugins/P2PEditor
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/P2PEditor/GUI/Controls/ConnectView.xaml.cs

    r2420 r2447  
    197197        private void ForgotPasswordLabel_Click(object sender, RoutedEventArgs e)
    198198        {
    199            //todo
     199            P2PEditorPresentation.ShowForgotPasswordView();
    200200        }
    201201
  • trunk/CrypPlugins/P2PEditor/GUI/P2PEditorPresentation.xaml

    r2390 r2447  
    1515            <controls:GetNewCertificate x:Name="GetNewCertificate" Visibility="Hidden"/>
    1616            <controls:ActivateEmailView x:Name="ActivateEmailView" Visibility="Hidden"/>
     17            <controls:ForgotPasswordView x:Name="ForgotPasswordView" Visibility="Hidden"/>
    1718            <Frame Name="Help" Source="../DetailedDescription/Description.xaml" Visibility="Hidden"/>           
    1819        </Grid>
  • trunk/CrypPlugins/P2PEditor/GUI/P2PEditorPresentation.xaml.cs

    r2390 r2447  
    138138            this.GetNewCertificate.Visibility = Visibility.Hidden;
    139139            this.ActivateEmailView.Visibility = Visibility.Hidden;
     140            this.ForgotPasswordView.Visibility = Visibility.Hidden;
    140141        }
    141142
     
    171172        }
    172173
     174        internal void ShowForgotPasswordView()
     175        {
     176            hideAllViews();
     177            this.ForgotPasswordView.Visibility = Visibility.Visible;
     178        }
     179
    173180        internal void ShowHelp()
    174181        {         
  • trunk/CrypPlugins/P2PEditor/P2PEditor.csproj

    r2390 r2447  
    7171      <DependentUpon>ActivateEmailView.xaml</DependentUpon>
    7272    </Compile>
     73    <Compile Include="GUI\Controls\ForgotPasswordView.xaml.cs">
     74      <DependentUpon>ForgotPasswordView.xaml</DependentUpon>
     75    </Compile>
    7376    <Compile Include="GUI\P2PUserControl.cs" />
    7477    <Compile Include="GUI\ParticipateAdorner.cs" />
     
    170173      <SubType>Designer</SubType>
    171174    </Page>
     175    <Page Include="GUI\Controls\ForgotPasswordView.xaml">
     176      <Generator>MSBuild:Compile</Generator>
     177      <SubType>Designer</SubType>
     178    </Page>
    172179    <Page Include="GUI\P2PEditorPresentation.xaml">
    173180      <SubType>Designer</SubType>
Note: See TracChangeset for help on using the changeset viewer.