Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- using System.IO;
- using System.Net;
- namespace Projekt_Jet
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- public void button1_Click(object sender, EventArgs e)
- {
- CheckWhichOne();
- }
- public void CheckWhichOne()
- {
- if (Blog.Text == "beeplog")
- {
- beeplog_blog();
- }
- else if (Blog.Text == "wordpress")
- {
- }
- else if (Blog.Text == "tumblr")
- {
- }
- else
- MessageBox.Show("Kein Blog zur Registerung ausgewählt");
- }
- private void Blog_SelectedIndexChanged(object sender, EventArgs e)
- {
- }
- public string Blogname1
- {
- get { return Blogname.Text; }
- set { Blogname.Text = value; }
- }
- public void beeplog_blog()
- {
- webBrowser1.Navigate("http://www.beeplog.de/");
- webBrowser1.Document.GetElementById("username").SetAttribute("value", Blogname.Text);
- webBrowser1.Document.GetElementById("password").SetAttribute("value", Password.Text);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment