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

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

            var cdv = new CalendarDetailView(this.SelectedAppointment);

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

            cdv.ShowDialog();
            dayView.Invalidate();
        }
Exemple #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();
            }
        }