Advertisement
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 Test_Browser;
- namespace login_Form
- {
- public partial class loginform : Form
- {
- public string userName;
- public string passWord;
- public bool terminate;
- public loginform()
- {
- InitializeComponent();
- this.ShowDialog();
- }
- private void button1_Click(object sender, EventArgs e)
- {
- userName = textUsername.Text.ToString();
- passWord = textPassword.Text.ToString();
- this.Close();
- new mainForm( userName, passWord );
- }
- private void btnExit_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement