예제 #1
0
        private void btnAdd_Click(object sender, System.EventArgs e)
        {
            var addForm = new AddEvent(repository);

            addForm.ShowDialog();
            Reload();
        }
예제 #2
0
        // Contact Manegement End


        // Event Management Start

        private void cpb_addevent_Click(object sender, EventArgs e)
        {
            AddEvent addEvent = new AddEvent();

            addEvent.FormClosing += new FormClosingEventHandler(this.AddEvent_FormClosing);
            addEvent.ShowDialog();
        }
예제 #3
0
        private void cpb_cont_addevent_Click(object sender, EventArgs e)
        {
            this.pnl_eventloader.BringToFront();
            pnl_events.BringToFront();
            AddEvent addEvent = new AddEvent();

            addEvent.FormClosing += new FormClosingEventHandler(this.AddEvent_FormClosing);
            addEvent.ShowDialog();
        }
        public void showAddEvent(DataRow dr)
        {
            AddEvent aE = new AddEvent(iSubjectEventScheduler, dr);

            aE.ShowDialog();
        }
        public void showAddEvent()
        {
            AddEvent aE = new AddEvent(iSubjectEventScheduler);

            aE.ShowDialog();
        }