public EditEventForm(ProjectBuildGroupEvent Event)
        {
            InitializeComponent();

            this.Event = Event;

            LoadEvent();
        }
        private void AddEvent()
        {
            //create new builgroud
            ProjectBuildGroupEvent newEvent = new ProjectBuildGroupEvent("","",0,0);

            //add to project
            BuildGroup.Events.Add(newEvent);

            //add to list
            eventsListBox.Items.Add(newEvent);

            //select in list
            eventsListBox.SelectedItem = newEvent;

            //edit the newly created BG
            EditEvent();
        }