private void ShowBaseScreen() { HideAll(); _options.Visible = true; _options.Focus(); return; }
public XMSettingsScreen() { _options = new TextList(); Add( _options ); _email = new TextWindow(); Add( _email ); _emailEntry = new TextEntry(); Add( _emailEntry ); _password = new TextWindow(); Add( _password ); _passwordEntry = new TextEntry(); Add( _passwordEntry ); _emailEntry.Accept += new EventHandler(EmailEntry_Accept); _emailEntry.Cancel += new EventHandler(EmailEntry_Cancel); _passwordEntry.Accept += new EventHandler(PasswordEntry_Accept); _passwordEntry.Cancel += new EventHandler(PasswordEntry_Cancel); _options.Focus(); _options.ItemActivated += new ItemActivatedEventHandler( OnItemActivated ); return; }
public iTunesSettingsScreen() { _options = new TextList(); Add(_options); _url = new TextWindow(); Add(_url); _urlEntry = new TextEntry(); Add(_urlEntry); _password = new TextWindow(); Add(_password); _passwordEntry = new TextEntry(); Add(_passwordEntry); _urlEntry.Accept += new EventHandler(URLEntry_Accept); _urlEntry.Cancel += new EventHandler(URLEntry_Cancel); _passwordEntry.Accept += new EventHandler(PasswordEntry_Accept); _passwordEntry.Cancel += new EventHandler(PasswordEntry_Cancel); _options.Focus(); _options.ItemActivated += new ItemActivatedEventHandler(OnItemActivated); return; }
public iTunesSearchScreen() { _options = new TextList(); Add(_options); _search = new TextWindow(); Add(_search); _searchEntry = new TextEntry(); Add(_searchEntry); _searchEntry.Accept += new EventHandler(SearchEntry_Accept); _searchEntry.Cancel += new EventHandler(SearchEntry_Cancel); _options.Focus(); _options.ItemActivated += new ItemActivatedEventHandler(OnItemActivated); return; }
public iTunesSearchScreen() { _options = new TextList(); Add( _options ); _search = new TextWindow(); Add( _search ); _searchEntry = new TextEntry(); Add( _searchEntry ); _searchEntry.Accept += new EventHandler(SearchEntry_Accept); _searchEntry.Cancel += new EventHandler(SearchEntry_Cancel); _options.Focus(); _options.ItemActivated += new ItemActivatedEventHandler( OnItemActivated ); return; }
public ComicsSubscriptionsScreen() { System.Reflection.Assembly a = System.Reflection.Assembly.GetExecutingAssembly(); System.IO.FileInfo fi = new System.IO.FileInfo( a.Location ); // Instructions if no comics are in the XML _instructions = new TextWindow(); Add( _instructions ); // Show comics from XML _availableComics = new TextList(); Add( _availableComics ); _availableComics.Focus(); _availableComics.ItemActivated += new ItemActivatedEventHandler( OnItemActivated ); // Initialize the sort by variable if it isn't set if (!SingletonConfig.Instance.IsSet( "Comics.SortBy" )) SingletonConfig.Instance.SetProperty( "Comics.SortBy", "Date" ); return; }
public ComicsSubscriptionsScreen() { System.Reflection.Assembly a = System.Reflection.Assembly.GetExecutingAssembly(); System.IO.FileInfo fi = new System.IO.FileInfo(a.Location); // Instructions if no comics are in the XML _instructions = new TextWindow(); Add(_instructions); // Show comics from XML _availableComics = new TextList(); Add(_availableComics); _availableComics.Focus(); _availableComics.ItemActivated += new ItemActivatedEventHandler(OnItemActivated); // Initialize the sort by variable if it isn't set if (!SingletonConfig.Instance.IsSet("Comics.SortBy")) { SingletonConfig.Instance.SetProperty("Comics.SortBy", "Date"); } return; }