Added context menu item to allow the selection of a date to begin showing change bars.
179 lines
8.7 KiB
C#
179 lines
8.7 KiB
C#
namespace VEPROMS
|
|
{
|
|
partial class dlgSetChangeBarStartDate
|
|
{
|
|
/// <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()
|
|
{
|
|
this.btnOK = new DevComponents.DotNetBar.ButtonX();
|
|
this.btnCancel = new DevComponents.DotNetBar.ButtonX();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
|
|
this.dateTimeInput1 = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
|
|
this.btnNow = new DevComponents.DotNetBar.ButtonX();
|
|
((System.ComponentModel.ISupportInitialize)(this.dateTimeInput1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnOK
|
|
//
|
|
this.btnOK.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
|
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.btnOK.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
|
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.btnOK.Location = new System.Drawing.Point(18, 111);
|
|
this.btnOK.Name = "btnOK";
|
|
this.btnOK.Size = new System.Drawing.Size(64, 23);
|
|
this.btnOK.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
|
this.btnOK.TabIndex = 1;
|
|
this.btnOK.Text = "OK";
|
|
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
|
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnCancel.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnCancel.Location = new System.Drawing.Point(165, 111);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(64, 23);
|
|
this.btnCancel.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
|
this.btnCancel.TabIndex = 2;
|
|
this.btnCancel.Text = "Cancel";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label1.Location = new System.Drawing.Point(3, 19);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(229, 15);
|
|
this.label1.TabIndex = 3;
|
|
this.label1.Text = "Show Change Bars on Changes Starting:";
|
|
//
|
|
// superTooltip1
|
|
//
|
|
this.superTooltip1.DefaultTooltipSettings = new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Gray);
|
|
this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
|
|
//
|
|
// dateTimeInput1
|
|
//
|
|
//
|
|
//
|
|
//
|
|
this.dateTimeInput1.BackgroundStyle.Class = "DateTimeInputBackground";
|
|
this.dateTimeInput1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
|
this.dateTimeInput1.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
|
|
this.dateTimeInput1.ButtonDropDown.Visible = true;
|
|
this.dateTimeInput1.CustomFormat = "MM/dd/yyyy";
|
|
this.dateTimeInput1.DateTimeSelectorVisibility = DevComponents.Editors.DateTimeAdv.eDateTimeSelectorVisibility.DateSelector;
|
|
this.dateTimeInput1.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
|
|
this.dateTimeInput1.IsPopupCalendarOpen = false;
|
|
this.dateTimeInput1.Location = new System.Drawing.Point(30, 51);
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
this.dateTimeInput1.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
|
this.dateTimeInput1.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
|
|
this.dateTimeInput1.MonthCalendar.ClearButtonVisible = true;
|
|
//
|
|
//
|
|
//
|
|
this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
|
|
this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90;
|
|
this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
|
|
this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
|
this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
|
|
this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1;
|
|
this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
|
this.dateTimeInput1.MonthCalendar.DisplayMonth = new System.DateTime(2016, 2, 1, 0, 0, 0, 0);
|
|
//
|
|
//
|
|
//
|
|
this.dateTimeInput1.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
|
this.dateTimeInput1.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90;
|
|
this.dateTimeInput1.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
|
this.dateTimeInput1.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
|
this.dateTimeInput1.MonthCalendar.TodayButtonVisible = true;
|
|
this.dateTimeInput1.Name = "dateTimeInput1";
|
|
this.dateTimeInput1.Size = new System.Drawing.Size(113, 20);
|
|
this.dateTimeInput1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
|
this.superTooltip1.SetSuperTooltip(this.dateTimeInput1, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bar Start Date", "", "Only the changes made after this date will have change bars.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(138, 67)));
|
|
this.dateTimeInput1.TabIndex = 4;
|
|
this.dateTimeInput1.TimeSelectorTimeFormat = DevComponents.Editors.DateTimeAdv.eTimeSelectorFormat.Time24H;
|
|
this.dateTimeInput1.TimeSelectorType = DevComponents.Editors.DateTimeAdv.eTimeSelectorType.TouchStyle;
|
|
//
|
|
// btnNow
|
|
//
|
|
this.btnNow.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
|
this.btnNow.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
|
this.btnNow.Location = new System.Drawing.Point(149, 51);
|
|
this.btnNow.Name = "btnNow";
|
|
this.btnNow.Size = new System.Drawing.Size(49, 23);
|
|
this.btnNow.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
|
this.superTooltip1.SetSuperTooltip(this.btnNow, new DevComponents.DotNetBar.SuperTooltipInfo("Now", "", "This will set the Change Bar Start date to today.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
|
this.btnNow.TabIndex = 5;
|
|
this.btnNow.Text = "Today";
|
|
this.btnNow.Click += new System.EventHandler(this.btnNow_Click);
|
|
//
|
|
// dlgSetChangeBarStartDate
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(241, 144);
|
|
this.Controls.Add(this.btnNow);
|
|
this.Controls.Add(this.dateTimeInput1);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.btnCancel);
|
|
this.Controls.Add(this.btnOK);
|
|
this.DoubleBuffered = true;
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "dlgSetChangeBarStartDate";
|
|
this.ShowIcon = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "Change Bar Start Date";
|
|
this.Load += new System.EventHandler(this.dlgSetChangeBarStartDate_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.dateTimeInput1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DevComponents.DotNetBar.ButtonX btnOK;
|
|
private DevComponents.DotNetBar.ButtonX btnCancel;
|
|
private System.Windows.Forms.Label label1;
|
|
private DevComponents.DotNetBar.SuperTooltip superTooltip1;
|
|
private DevComponents.Editors.DateTimeAdv.DateTimeInput dateTimeInput1;
|
|
private DevComponents.DotNetBar.ButtonX btnNow;
|
|
}
|
|
} |