Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            //Again, fix this, you heathan
            //TODO: get this in app.config or something
            string loginUsername = usernameTextBox.Text;
            string loginPassword = passwordTextBox.Text;

            //Create cred string
            string ucCredentials = Convert.ToBase64String(ASCIIEncoding.ASCII.GetBytes(loginUsername + ":" + loginPassword));

            //Open main window
            this.Hide();
            MiniQueueWindow main = new MiniQueueWindow();

            main.Show();
        }
Exemplo n.º 2
0
 public SettingsDialog(MiniQueueWindow queueWindow)
 {
     InitializeComponent();
     q = queueWindow;
 }