I'm missing something then. Here is some simple code, I set the ShowToolTips to true but I don't get any tooltips when hovering over a date.
Form1.cs: namespace ToolTipTest { public partial class Form1 : Form { public Form1() { InitializeComponent(); } } }
Form1.Designer.cs namespace ToolTipTest { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null;
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); }
#region Windows Form Designer generated code
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.mfMonthRange = new MindFusion.Scheduling.WinForms.Calendar(); ((System.ComponentModel.ISupportInitialize)(this.mfMonthRange)).BeginInit(); this.SuspendLayout(); // // mfMonthRange // this.mfMonthRange.CurrentTime = new System.DateTime(2008, 4, 13, 0, 0, 0, 0); this.mfMonthRange.CurrentView = MindFusion.Scheduling.WinForms.CalendarView.MonthRange; this.mfMonthRange.Date = new System.DateTime(2008, 4, 17, 0, 0, 0, 0); this.mfMonthRange.DateTimeFormat = ((System.Globalization.DateTimeFormatInfo)(resources.GetObject("mfMonthRange.Dat eTimeFormat"))); this.mfMonthRange.Dock = System.Windows.Forms.DockStyle.Fill; this.mfMonthRange.EndDate = new System.DateTime(2008, 8, 27, 0, 0, 0, 0); this.mfMonthRange.Location = new System.Drawing.Point(0, 0); this.mfMonthRange.MonthRangeSettings.MonthsPerRow = 1; this.mfMonthRange.MonthRangeSettings.NumberOfMonths = 1; this.mfMonthRange.MonthRangeSettings.ScrollInterval = 1; this.mfMonthRange.MonthRangeSettings.VisibleRows = 1; this.mfMonthRange.Name = "mfMonthRange"; this.mfMonthRange.ShowToolTips = true; this.mfMonthRange.Size = new System.Drawing.Size(292, 266); this.mfMonthRange.TabIndex = 4; this.mfMonthRange.Theme = MindFusion.Scheduling.WinForms.ThemeType.Windows2003; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(292, 266); this.Controls.Add(this.mfMonthRange); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "ToolTipTest"; ((System.ComponentModel.ISupportInitialize)(this.mfMonthRange)).EndInit(); this.ResumeLayout(false);
}
#endregion
private MindFusion.Scheduling.WinForms.Calendar mfMonthRange; } }
|