示例#1
0
 private void AddEvent()
 {
     EventServices.Add(999999,
                       dateTimePickerAdd.Value,
                       Convert.ToInt32(comboBoxAddEventType.SelectedValue.ToString()),
                       Convert.ToInt32(comboBoxAddEntiti.SelectedValue.ToString())
                       );
     DownloadAdd();
 }