예제 #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            try
            {
                edit_craft myfrm = new edit_craft(mv, Craft_num, 4);
                myfrm.start_index = dataGridView1.SelectedCells[0].RowIndex;

                myfrm.ShowDialog();
            }
            catch
            {
                MessageBox.Show("请选择插入位置");
            }
        }
예제 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            edit_craft myfrm = new edit_craft(mv, Craft_num, 2);

            myfrm.ShowDialog();
        }