EditEventWindow.on_button_accept_clicked C# (CSharp) Method

on_button_accept_clicked() protected method

protected on_button_accept_clicked ( object o, EventArgs args ) : void
o object
args EventArgs
return void
    void on_button_accept_clicked(object o, EventArgs args)
    {
        int eventID = Convert.ToInt32 ( label_event_id_value.Text );
        string myPerson = UtilGtk.ComboGetActive(combo_persons);
        string [] myPersonFull = myPerson.Split(new char[] {':'});

        string myDesc = entry_description.Text;

        updateEvent(eventID, Convert.ToInt32(myPersonFull[0]), myDesc);

        hideWindow();
    }