private void button4_Click_1(object sender, EventArgs e) { frmpoint p = new frmpoint(); p.ShowDialog(); update_list_point(); }
private void btn_add_current_Click(object sender, EventArgs e) { frmpoint p = new frmpoint(); p.p_current(statics.odom_hector.x, statics.odom_hector.y, statics.odom_hector.yaw, "100", ""); p.ShowDialog(); update_list_point(); }
private void btn_edit_selected_Click(object sender, EventArgs e) { int index = lst_points.SelectedIndex; if (index == -1) { return; } map_data d = statics.list_points[index]; frmpoint p = new frmpoint(); p.p_edit(d.x, d.y, d.yaw, d.heigth, d.labe_name, index); p.ShowDialog(); }