예제 #1
0
        public void Vedem_daca_incarca_user_nou()
        {
            FormaLogare FL                  = new FormaLogare();
            string      nume                = "mercur3";
            string      password            = "******";
            LinkLabelLinkClickedEventArgs x = null;
            Object e = null;

            FL.linkLabel1_LinkClicked(e, x);
            FL.textBox1.Text = nume;
            FL.textBox2.Text = password;
            FL.button3_Click(e, x);
        }
예제 #2
0
        public void TestCreare_Logare_admin()
        {
            FormaLogare FL                  = new FormaLogare();
            string      nume                = "admin";
            string      password            = "******";
            LinkLabelLinkClickedEventArgs x = null;
            Object e = null;

            FL.label1_DoubleClick(e, x);
            FL.linkLabel1_LinkClicked(e, x);
            FL.textBox1.Text = nume;
            FL.textBox2.Text = password;
            FL.button3_Click(e, x);
            FL.label1_DoubleClick(e, x);
        }