Ejemplo n.º 1
0
        //public string conecting_string = "Data Source=p17server.database.windows.net;Initial Catalog=P17DATABASE;Persist Security Info=True;User ID=P17;Password=Hadas@2017"; //connecting to p17 server
        public Form2()
        {
            InitializeComponent();
            //AmenuSecretary secretaryNenuForm = new AmenuSecretary();
            //secretaryNenuForm.ShowDialog();


            ALoginScreen logForm = new ALoginScreen();

            logForm.ShowDialog();

            // A_DepartmentHead x = new A_DepartmentHead();
            //x.Show();

            //    SqlConnection conencting = new SqlConnection(conecting_string);
            //    conencting.Open();
            //    if (conencting.State == System.Data.ConnectionState.Open)
            //    {
            //        string upload = " פקודת SQL";
            //        SqlCommand cmd = new SqlCommand(upload, conencting);
            //        cmd.ExecuteNonQuery();
            //        MessageBox.Show(" made Successfuly");
            //    }
        }
Ejemplo n.º 2
0
 private void ALoginScreen_Load(object sender, EventArgs e)
 {
     currentA_LoginScreen = this;
 }