public void LoadSocialMediaServices() { AddAccountEntry aa1 = new AddAccountEntry(); aa1.Text = "Google+ (not yet added)"; pnlServices.Children.Add(aa1); AddAccountEntry aa2 = new AddAccountEntry(); aa2.Text = "YouTube (not yet added)"; pnlServices.Children.Add(aa2); AddAccountEntry aa3 = new AddAccountEntry(); aa3.Text = "Facebook (not yet added)"; pnlServices.Children.Add(aa3); AddAccountEntry aa4 = new AddAccountEntry(); aa4.Text = "Twitter (not yet added)"; pnlServices.Children.Add(aa4); AddAccountEntry aa5 = new AddAccountEntry(); aa5.Text = "Pastebin.com"; aa5.ItemSelected += Pastebin_ItemSelected; pnlServices.Children.Add(aa5); }
public void LoadStorageServices() { AddAccountEntry aa1 = new AddAccountEntry(); aa1.Text = "Dropbox"; aa1.Icon = new BitmapImage(new Uri(@"/BetterExplorer;component/Networks/Icons/dropbox32.png", UriKind.Relative)); aa1.ItemSelected += Dropbox_ItemSelected; pnlServices.Children.Add(aa1); AddAccountEntry aa2 = new AddAccountEntry(); aa2.Text = "Google Drive (not yet added)"; pnlServices.Children.Add(aa2); }