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

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

            var cdv = new CalendarDetailView(this.SelectedAppointment);

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

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