private void menuItem5_Click(object sender, EventArgs e) { posteId = Convert.ToInt32(labelPosteID.Text); Poste.lat = Convert.ToDouble(latTextBox.Text); Poste.lon = Convert.ToDouble(lonTextBox.Text); Poste.gps_time = Convert.ToDateTime(gps_timeTextBox.Text); Cursor.Current = Cursors.WaitCursor; Application.DoEvents(); //CadastrarTrafo t = new CadastrarTrafo(); CadastrarLuminaria p = new CadastrarLuminaria(); p.ShowDialog(); }
private void menuItem5_Click(object sender, EventArgs e) { posteId = Convert.ToInt32(labelPosteID.Text); Poste.lat = Convert.ToDouble(latTextBox.Text); Poste.lon = Convert.ToDouble(lonTextBox.Text); Poste.gps_time = Convert.ToDateTime(gps_timeTextBox.Text); Cursor.Current = Cursors.WaitCursor; Application.DoEvents(); //CadastrarTrafo t = new CadastrarTrafo(); CadastrarLuminaria p = new CadastrarLuminaria(); p.ShowDialog(); }