예제 #1
0
        private void button4_Click_1(object sender, EventArgs e)
        {
            frmpoint p = new frmpoint();

            p.ShowDialog();
            update_list_point();
        }
예제 #2
0
        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();
        }
예제 #3
0
        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();
        }