Ejemplo n.º 1
0
        private void b_CreateIE_Click(object sender, EventArgs e)
        {
            string _newEvent = cb_InvEvent.Text;

            x.CreateInventoryEvent(cb_InvEvent.Text, rtb_ro_EventDescription.Text);
            cb_InvEvent.Items.AddRange(LoadEvents().ToArray());
            cb_InvEvent.SelectedItem = cb_InvEvent.Items[cb_InvEvent.Items.IndexOf(_newEvent)];
            LoadEventInfo();
        }