예제 #1
0
        private void BikeStripMenuItem_Click(object sender, EventArgs e)
        {
            CarAdd editDialog = new CarAdd(parent, 2);

            editDialog.ShowDialog();
        }
예제 #2
0
        public void ShowAddDialog(CarType init)
        {
            CarAdd addDialog = new CarAdd(parent, (int)init);

            addDialog.ShowDialog();
        }
예제 #3
0
        private void PersonalCarStripMenuItem_Click(object sender, EventArgs e)
        {
            CarAdd editDialog = new CarAdd(parent, 0);

            editDialog.ShowDialog();
        }