Beispiel #1
0
        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Form14 frm = new Form14();

            frm.Show();
            this.Hide();
        }
Beispiel #2
0
        private void bunifuFlatButton1_Click(object sender, EventArgs e)
        {
            if (bunifuMetroTextbox1.Text == " " || bunifuMetroTextbox2.Text == " ")
            {
                MessageBox.Show(" Please Enter all entries");
            }
            else
            {
                localhost.Service1 v = new localhost.Service1();
                bool islogin         = false;
                bool isloginresult   = false;

                v.islog(bunifuMetroTextbox1.Text, bunifuMetroTextbox2.Text, out islogin, out isloginresult);

                if (islogin)
                {
                    bunifuMetroTextbox1.Text = " ";
                    bunifuMetroTextbox2.Text = " ";
                    MessageBox.Show(" welcome ");
                    Form14 frm = new Form14();
                    frm.Show();
                    this.Hide();
                }

                else
                {
                    MessageBox.Show(" Invalid Name or Password  ");
                }
            }
        }