'宣言 Public ReadOnly Property Appointment As Appointment
public Appointment Appointment {get;}
Imports Infragistics.Win Imports Infragistics.Win.UltraWinSchedule Imports System.Diagnostics AddHandler Me.dayView.AppointmentResized, AddressOf OnAppointmentsResized Private Sub OnAppointmentsResized(ByVal sender As Object, ByVal e As AppointmentResizedEventArgs) ' MS Outlook enters edit mode on an appointment after a resize ' operation is completed; set the 'EnterEditMode' property of the ' event arguments to true to emulate this behavior. e.EnterEditMode = True End Sub
using Infragistics.Win; using Infragistics.Win.UltraWinSchedule; using System.Diagnostics; this.dayView.AppointmentResized += new AppointmentResizedHandler(OnAppointmentResized); private void OnAppointmentResized(object sender, AppointmentResizedEventArgs e) { // MS Outlook enters edit mode on an appointment after a resize // operation is completed; set the 'EnterEditMode' property of the // event arguments to true to emulate this behavior. e.EnterEditMode = true; }