Beispiel #1
0
 private void UpdateCar()
 {
     if (dgvCar.Items.Count > 0)
     {
         CarDetailWindow window = new CarDetailWindow(CarInfoManager.DIALOG_MODE.MODIFY, m_car.id);
         UpdateDialogResult(window.ShowDialog().Value);
     }
     else
     {
         MessageBox.Show("차량 정보가 없습니다.", "알림", MessageBoxButton.OK);
     }
 }
Beispiel #2
0
        private void CreateCar()
        {
            CarDetailWindow window = new CarDetailWindow(CarInfoManager.DIALOG_MODE.SAVE);

            UpdateDialogResult(window.ShowDialog().Value);
        }