'宣言 Public Class AppointmentDialog Inherits System.Windows.Forms.Form Implements Infragistics.Win.Touch.ISupportTouchMetrics
public class AppointmentDialog : System.Windows.Forms.Form, Infragistics.Win.Touch.ISupportTouchMetrics
Imports Infragistics.Win Imports Infragistics.Win.UltraWinSchedule Imports System.IO Imports System.Globalization Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click ' AppointmentDialog を表示します Me.ultraCalendarInfo1.DisplayAppointmentDialog(DateTime.Today.Date.AddHours(9.0F), DateTime.Today.Date.AddHours(9.5F), False) End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinSchedule; using System.IO; using System.Globalization; private void button1_Click(object sender, System.EventArgs e) { // AppointmentDialog を表示します this.ultraCalendarInfo1.DisplayAppointmentDialog( DateTime.Today.Date.AddHours( 9.0F ), DateTime.Today.Date.AddHours( 9.5F ), false ); }