コード例 #1
0
ファイル: CarView.cs プロジェクト: shakandrew/Cars-WinForms
        private void Edit_Click(object sender, EventArgs e)
        {
            CarEdit editDialog = new CarEdit(
                parent,
                parent.getCarByIndex(
                    int.Parse(listView1.SelectedItems[0].Name)
                    )
                );

            editDialog.ShowDialog();
        }
コード例 #2
0
ファイル: CarView.cs プロジェクト: shakandrew/Cars-WinForms
        public void ShowEditDialog()
        {
            CarEdit editDialog = new CarEdit(
                parent,
                parent.getCarByIndex(
                    int.Parse(listView1.SelectedItems[0].Name)
                    )
                );

            editDialog.ShowDialog();
        }