public EventSelector(PricepoolDisplayer ppd)
        {
            instance = this;
            this.ppd = ppd;
            InitializeComponent();

            es.GetEventsCompleted += es_GetEventsCompleted;
            es.DeleteEventCompleted += es_DeleteEventCompleted;
            es.GetEventsAsync();
        }
 private void openEventsBtn_Click(object sender, EventArgs e)
 {
     eventGame = null;
     EventSelector es = new EventSelector(this);
     es.Show();
 }
 private void buttonEditEvent_Click(object sender, EventArgs e)
 {
     EventSelector ee = new EventSelector(null);
     ee.Show();
 }