Example #1
0
        void ShowAppointment()
        {
            var cdv = new CalendarDetailView(this.myController.SelectedAppointment);

            cdv.FormClosed += cdv_FormClosed;
            cdv.Show();
        }
Example #2
0
        void ShowAppointment()
        {
            if (this.SelectedAppointment == null)
            {
                return;
            }

            var cdv = new CalendarDetailView(this.SelectedAppointment);

            cdv.Show();
        }
Example #3
0
        private void OpenTermin()
        {
            if (mySelectedTermin == null)
            {
                return;
            }
            CalendarDetailView cdv = new CalendarDetailView(mySelectedTermin);

            cdv.ShowDialog();
            dayView.Invalidate();
        }
Example #4
0
        private void ctxmnuAddTermin_Click(object sender, EventArgs e)
        {
            UserSearchView usv = new UserSearchView();

            usv.ShowDialog();
            if (usv.DialogResult == System.Windows.Forms.DialogResult.OK && usv.SelectedUser != null)
            {
                CalendarDetailView cdv = new CalendarDetailView(AddTermin(usv.SelectedUser));
                cdv.Show();
            }
        }