コード例 #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();
        }
コード例 #4
0
        public void showAddEvent(DataRow dr)
        {
            AddEvent aE = new AddEvent(iSubjectEventScheduler, dr);

            aE.ShowDialog();
        }
コード例 #5
0
        public void showAddEvent()
        {
            AddEvent aE = new AddEvent(iSubjectEventScheduler);

            aE.ShowDialog();
        }