C# Class Telegram.SignupPhone_Control

Inheritance: System.Windows.Controls.UserControl
Show file Open project: vapps/kilogram

Public Methods

Method Description
CodeValid ( ) : bool
FormValid ( ) : bool
GetPhone ( ) : string
PhoneValid ( ) : bool
SignupPhone_Control ( ) : System

Private Methods

Method Description
CountryCodeBox_OnTextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
CountryCodePicker_OnSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
PhoneNumberBox_OnTextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
ValidateCode ( ) : int

If code is valid, returns index in the country list, else -1

Method Details

CodeValid() public method

public CodeValid ( ) : bool
return bool

FormValid() public method

public FormValid ( ) : bool
return bool

GetPhone() public method

public GetPhone ( ) : string
return string

PhoneValid() public method

public PhoneValid ( ) : bool
return bool

SignupPhone_Control() public method

public SignupPhone_Control ( ) : System
return System