예제 #1
0
        private void AddService(object sender)
        {
            sel_ser = new ServiceModel();
            ServiceWindow cw = new ServiceWindow(sel_ser);

            if (cw.ShowDialog() == true)
            {
                db.AddService(sel_ser);
                db.Save();
                SetData();
            }
        }