|
@@ -28,54 +28,56 @@
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
- DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
|
|
|
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
+ DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
|
|
|
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
|
|
|
- this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
|
|
|
+ this.gridControl = new DevExpress.XtraGrid.GridControl();
|
|
|
+ this.gridView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
+ this.btnCalculate = new DevExpress.XtraEditors.SimpleButton();
|
|
|
+ this.txtSpanSeconds = new DevExpress.XtraEditors.ButtonEdit();
|
|
|
+ this.txtEndTime = new DevExpress.XtraEditors.DateEdit();
|
|
|
+ this.txtStartTime = new DevExpress.XtraEditors.DateEdit();
|
|
|
this.txtTle = new DevExpress.XtraEditors.SearchLookUpEdit();
|
|
|
- this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
this.searchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
- this.dateEdit1 = new DevExpress.XtraEditors.DateEdit();
|
|
|
+ this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
|
|
|
+ this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
- this.dateEdit2 = new DevExpress.XtraEditors.DateEdit();
|
|
|
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
- this.buttonEdit1 = new DevExpress.XtraEditors.ButtonEdit();
|
|
|
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
- this.btnCalculate = new DevExpress.XtraEditors.SimpleButton();
|
|
|
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
- this.gridControl = new DevExpress.XtraGrid.GridControl();
|
|
|
- this.gridView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
+ this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
|
|
|
this.layoutControl1.SuspendLayout();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.gridControl)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtSpanSeconds.Properties)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtEndTime.Properties)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtEndTime.Properties.CalendarTimeProperties)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtStartTime.Properties)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtStartTime.Properties.CalendarTimeProperties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtTle.Properties)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.CalendarTimeProperties)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.dateEdit2.Properties)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.dateEdit2.Properties.CalendarTimeProperties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.gridControl)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// layoutControl1
|
|
|
//
|
|
|
this.layoutControl1.Controls.Add(this.gridControl);
|
|
|
this.layoutControl1.Controls.Add(this.btnCalculate);
|
|
|
- this.layoutControl1.Controls.Add(this.buttonEdit1);
|
|
|
- this.layoutControl1.Controls.Add(this.dateEdit2);
|
|
|
- this.layoutControl1.Controls.Add(this.dateEdit1);
|
|
|
+ this.layoutControl1.Controls.Add(this.txtSpanSeconds);
|
|
|
+ this.layoutControl1.Controls.Add(this.txtEndTime);
|
|
|
+ this.layoutControl1.Controls.Add(this.txtStartTime);
|
|
|
this.layoutControl1.Controls.Add(this.txtTle);
|
|
|
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
this.layoutControl1.Location = new System.Drawing.Point(0, 0);
|
|
@@ -85,40 +87,90 @@
|
|
|
this.layoutControl1.TabIndex = 0;
|
|
|
this.layoutControl1.Text = "layoutControl1";
|
|
|
//
|
|
|
- // Root
|
|
|
+ // gridControl
|
|
|
//
|
|
|
- this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
|
|
- this.Root.GroupBordersVisible = false;
|
|
|
- this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
|
|
- this.layoutControlItem2,
|
|
|
- this.layoutControlItem1,
|
|
|
- this.layoutControlItem3,
|
|
|
- this.layoutControlItem4,
|
|
|
- this.layoutControlItem5,
|
|
|
- this.layoutControlItem6});
|
|
|
- this.Root.Name = "Root";
|
|
|
- this.Root.Size = new System.Drawing.Size(800, 450);
|
|
|
- this.Root.TextVisible = false;
|
|
|
+ this.gridControl.Location = new System.Drawing.Point(12, 64);
|
|
|
+ this.gridControl.MainView = this.gridView;
|
|
|
+ this.gridControl.Name = "gridControl";
|
|
|
+ this.gridControl.Size = new System.Drawing.Size(776, 374);
|
|
|
+ this.gridControl.TabIndex = 10;
|
|
|
+ this.gridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
+ this.gridView});
|
|
|
+ //
|
|
|
+ // gridView
|
|
|
+ //
|
|
|
+ this.gridView.GridControl = this.gridControl;
|
|
|
+ this.gridView.Name = "gridView";
|
|
|
+ //
|
|
|
+ // btnCalculate
|
|
|
+ //
|
|
|
+ this.btnCalculate.Location = new System.Drawing.Point(722, 38);
|
|
|
+ this.btnCalculate.Name = "btnCalculate";
|
|
|
+ this.btnCalculate.Size = new System.Drawing.Size(66, 22);
|
|
|
+ this.btnCalculate.StyleController = this.layoutControl1;
|
|
|
+ this.btnCalculate.TabIndex = 9;
|
|
|
+ this.btnCalculate.Text = "推算";
|
|
|
+ this.btnCalculate.Click += new System.EventHandler(this.btnCalculate_Click);
|
|
|
+ //
|
|
|
+ // txtSpanSeconds
|
|
|
+ //
|
|
|
+ this.txtSpanSeconds.Location = new System.Drawing.Point(538, 38);
|
|
|
+ this.txtSpanSeconds.Name = "txtSpanSeconds";
|
|
|
+ this.txtSpanSeconds.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "秒", -1, false, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
|
|
|
+ this.txtSpanSeconds.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
|
|
|
+ this.txtSpanSeconds.Properties.MaskSettings.Set("mask", "f0");
|
|
|
+ this.txtSpanSeconds.Size = new System.Drawing.Size(180, 22);
|
|
|
+ this.txtSpanSeconds.StyleController = this.layoutControl1;
|
|
|
+ this.txtSpanSeconds.TabIndex = 8;
|
|
|
+ //
|
|
|
+ // txtEndTime
|
|
|
+ //
|
|
|
+ this.txtEndTime.EditValue = null;
|
|
|
+ this.txtEndTime.Location = new System.Drawing.Point(302, 38);
|
|
|
+ this.txtEndTime.Name = "txtEndTime";
|
|
|
+ this.txtEndTime.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
+ this.txtEndTime.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
+ this.txtEndTime.Properties.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss";
|
|
|
+ this.txtEndTime.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
|
|
+ this.txtEndTime.Properties.EditFormat.FormatString = "yyyy-MM-dd HH:mm:ss";
|
|
|
+ this.txtEndTime.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
|
|
+ this.txtEndTime.Properties.MaskSettings.Set("mask", "yyyy-MM-dd HH:mm:ss");
|
|
|
+ this.txtEndTime.Size = new System.Drawing.Size(179, 22);
|
|
|
+ this.txtEndTime.StyleController = this.layoutControl1;
|
|
|
+ this.txtEndTime.TabIndex = 7;
|
|
|
+ //
|
|
|
+ // txtStartTime
|
|
|
+ //
|
|
|
+ this.txtStartTime.EditValue = null;
|
|
|
+ this.txtStartTime.Location = new System.Drawing.Point(65, 38);
|
|
|
+ this.txtStartTime.Name = "txtStartTime";
|
|
|
+ this.txtStartTime.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
+ this.txtStartTime.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
+ this.txtStartTime.Properties.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss";
|
|
|
+ this.txtStartTime.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
|
|
+ this.txtStartTime.Properties.EditFormat.FormatString = "yyyy-MM-dd HH:mm:ss";
|
|
|
+ this.txtStartTime.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
|
|
+ this.txtStartTime.Properties.MaskSettings.Set("mask", "yyyy-MM-dd HH:mm:ss");
|
|
|
+ this.txtStartTime.Size = new System.Drawing.Size(180, 22);
|
|
|
+ this.txtStartTime.StyleController = this.layoutControl1;
|
|
|
+ this.txtStartTime.TabIndex = 6;
|
|
|
//
|
|
|
// txtTle
|
|
|
//
|
|
|
- this.txtTle.Location = new System.Drawing.Point(72, 12);
|
|
|
+ this.txtTle.Location = new System.Drawing.Point(41, 12);
|
|
|
this.txtTle.Name = "txtTle";
|
|
|
this.txtTle.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
this.txtTle.Properties.PopupView = this.searchLookUpEdit1View;
|
|
|
- this.txtTle.Size = new System.Drawing.Size(716, 22);
|
|
|
+ this.txtTle.Size = new System.Drawing.Size(747, 22);
|
|
|
this.txtTle.StyleController = this.layoutControl1;
|
|
|
this.txtTle.TabIndex = 5;
|
|
|
- //
|
|
|
- // layoutControlItem2
|
|
|
- //
|
|
|
- this.layoutControlItem2.Control = this.txtTle;
|
|
|
- this.layoutControlItem2.Location = new System.Drawing.Point(0, 0);
|
|
|
- this.layoutControlItem2.Name = "layoutControlItem2";
|
|
|
- this.layoutControlItem2.Size = new System.Drawing.Size(780, 26);
|
|
|
- this.layoutControlItem2.Text = "星厉";
|
|
|
- this.layoutControlItem2.TextSize = new System.Drawing.Size(48, 14);
|
|
|
+ this.txtTle.ToolTip = "填写卫星的双行根数";
|
|
|
//
|
|
|
// searchLookUpEdit1View
|
|
|
//
|
|
@@ -127,102 +179,75 @@
|
|
|
this.searchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
|
|
|
this.searchLookUpEdit1View.OptionsView.ShowGroupPanel = false;
|
|
|
//
|
|
|
- // dateEdit1
|
|
|
+ // Root
|
|
|
//
|
|
|
- this.dateEdit1.EditValue = null;
|
|
|
- this.dateEdit1.Location = new System.Drawing.Point(72, 38);
|
|
|
- this.dateEdit1.Name = "dateEdit1";
|
|
|
- this.dateEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
- this.dateEdit1.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
- this.dateEdit1.Size = new System.Drawing.Size(235, 22);
|
|
|
- this.dateEdit1.StyleController = this.layoutControl1;
|
|
|
- this.dateEdit1.TabIndex = 6;
|
|
|
+ this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
|
|
+ this.Root.GroupBordersVisible = false;
|
|
|
+ this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
|
|
+ this.layoutControlItem2,
|
|
|
+ this.layoutControlItem5,
|
|
|
+ this.layoutControlItem6,
|
|
|
+ this.layoutControlGroup1});
|
|
|
+ this.Root.Name = "Root";
|
|
|
+ this.Root.Size = new System.Drawing.Size(800, 450);
|
|
|
+ this.Root.TextVisible = false;
|
|
|
+ //
|
|
|
+ // layoutControlItem2
|
|
|
+ //
|
|
|
+ this.layoutControlItem2.Control = this.txtTle;
|
|
|
+ this.layoutControlItem2.Location = new System.Drawing.Point(0, 0);
|
|
|
+ this.layoutControlItem2.Name = "layoutControlItem2";
|
|
|
+ this.layoutControlItem2.Size = new System.Drawing.Size(780, 26);
|
|
|
+ this.layoutControlItem2.Text = "星厉";
|
|
|
+ this.layoutControlItem2.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
|
|
|
+ this.layoutControlItem2.TextSize = new System.Drawing.Size(24, 14);
|
|
|
+ this.layoutControlItem2.TextToControlDistance = 5;
|
|
|
//
|
|
|
// layoutControlItem1
|
|
|
//
|
|
|
- this.layoutControlItem1.Control = this.dateEdit1;
|
|
|
- this.layoutControlItem1.Location = new System.Drawing.Point(0, 26);
|
|
|
+ this.layoutControlItem1.Control = this.txtStartTime;
|
|
|
+ this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
|
|
|
this.layoutControlItem1.Name = "layoutControlItem1";
|
|
|
- this.layoutControlItem1.Size = new System.Drawing.Size(299, 26);
|
|
|
+ this.layoutControlItem1.Size = new System.Drawing.Size(237, 26);
|
|
|
this.layoutControlItem1.Text = "开始时间";
|
|
|
+ this.layoutControlItem1.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
|
|
|
this.layoutControlItem1.TextSize = new System.Drawing.Size(48, 14);
|
|
|
- //
|
|
|
- // dateEdit2
|
|
|
- //
|
|
|
- this.dateEdit2.EditValue = null;
|
|
|
- this.dateEdit2.Location = new System.Drawing.Point(371, 38);
|
|
|
- this.dateEdit2.Name = "dateEdit2";
|
|
|
- this.dateEdit2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
- this.dateEdit2.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
- this.dateEdit2.Size = new System.Drawing.Size(206, 22);
|
|
|
- this.dateEdit2.StyleController = this.layoutControl1;
|
|
|
- this.dateEdit2.TabIndex = 7;
|
|
|
+ this.layoutControlItem1.TextToControlDistance = 5;
|
|
|
//
|
|
|
// layoutControlItem3
|
|
|
//
|
|
|
- this.layoutControlItem3.Control = this.dateEdit2;
|
|
|
- this.layoutControlItem3.Location = new System.Drawing.Point(299, 26);
|
|
|
+ this.layoutControlItem3.Control = this.txtEndTime;
|
|
|
+ this.layoutControlItem3.Location = new System.Drawing.Point(237, 0);
|
|
|
this.layoutControlItem3.Name = "layoutControlItem3";
|
|
|
- this.layoutControlItem3.Size = new System.Drawing.Size(270, 26);
|
|
|
+ this.layoutControlItem3.Size = new System.Drawing.Size(236, 26);
|
|
|
this.layoutControlItem3.Text = "结束时间";
|
|
|
+ this.layoutControlItem3.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
|
|
|
this.layoutControlItem3.TextSize = new System.Drawing.Size(48, 14);
|
|
|
- //
|
|
|
- // buttonEdit1
|
|
|
- //
|
|
|
- this.buttonEdit1.Location = new System.Drawing.Point(641, 38);
|
|
|
- this.buttonEdit1.Name = "buttonEdit1";
|
|
|
- this.buttonEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "秒", -1, false, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
|
|
|
- this.buttonEdit1.Size = new System.Drawing.Size(80, 22);
|
|
|
- this.buttonEdit1.StyleController = this.layoutControl1;
|
|
|
- this.buttonEdit1.TabIndex = 8;
|
|
|
+ this.layoutControlItem3.TextToControlDistance = 5;
|
|
|
//
|
|
|
// layoutControlItem4
|
|
|
//
|
|
|
- this.layoutControlItem4.Control = this.buttonEdit1;
|
|
|
- this.layoutControlItem4.Location = new System.Drawing.Point(569, 26);
|
|
|
+ this.layoutControlItem4.Control = this.txtSpanSeconds;
|
|
|
+ this.layoutControlItem4.Location = new System.Drawing.Point(473, 0);
|
|
|
this.layoutControlItem4.Name = "layoutControlItem4";
|
|
|
- this.layoutControlItem4.Size = new System.Drawing.Size(144, 26);
|
|
|
+ this.layoutControlItem4.Size = new System.Drawing.Size(237, 26);
|
|
|
this.layoutControlItem4.Text = "推算间隔";
|
|
|
+ this.layoutControlItem4.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
|
|
|
this.layoutControlItem4.TextSize = new System.Drawing.Size(48, 14);
|
|
|
- //
|
|
|
- // btnCalculate
|
|
|
- //
|
|
|
- this.btnCalculate.Location = new System.Drawing.Point(725, 38);
|
|
|
- this.btnCalculate.Name = "btnCalculate";
|
|
|
- this.btnCalculate.Size = new System.Drawing.Size(63, 22);
|
|
|
- this.btnCalculate.StyleController = this.layoutControl1;
|
|
|
- this.btnCalculate.TabIndex = 9;
|
|
|
- this.btnCalculate.Text = "推算";
|
|
|
+ this.layoutControlItem4.TextToControlDistance = 5;
|
|
|
//
|
|
|
// layoutControlItem5
|
|
|
//
|
|
|
this.layoutControlItem5.Control = this.btnCalculate;
|
|
|
- this.layoutControlItem5.Location = new System.Drawing.Point(713, 26);
|
|
|
+ this.layoutControlItem5.Location = new System.Drawing.Point(710, 26);
|
|
|
+ this.layoutControlItem5.MaxSize = new System.Drawing.Size(70, 70);
|
|
|
+ this.layoutControlItem5.MinSize = new System.Drawing.Size(70, 26);
|
|
|
this.layoutControlItem5.Name = "layoutControlItem5";
|
|
|
- this.layoutControlItem5.Size = new System.Drawing.Size(67, 26);
|
|
|
+ this.layoutControlItem5.Size = new System.Drawing.Size(70, 26);
|
|
|
+ this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
|
|
this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
|
|
|
this.layoutControlItem5.TextVisible = false;
|
|
|
//
|
|
|
- // gridControl
|
|
|
- //
|
|
|
- this.gridControl.Location = new System.Drawing.Point(12, 64);
|
|
|
- this.gridControl.MainView = this.gridView;
|
|
|
- this.gridControl.Name = "gridControl";
|
|
|
- this.gridControl.Size = new System.Drawing.Size(776, 374);
|
|
|
- this.gridControl.TabIndex = 10;
|
|
|
- this.gridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
- this.gridView});
|
|
|
- //
|
|
|
- // gridView
|
|
|
- //
|
|
|
- this.gridView.GridControl = this.gridControl;
|
|
|
- this.gridView.Name = "gridView";
|
|
|
- //
|
|
|
// layoutControlItem6
|
|
|
//
|
|
|
this.layoutControlItem6.Control = this.gridControl;
|
|
@@ -232,6 +257,18 @@
|
|
|
this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0);
|
|
|
this.layoutControlItem6.TextVisible = false;
|
|
|
//
|
|
|
+ // layoutControlGroup1
|
|
|
+ //
|
|
|
+ this.layoutControlGroup1.GroupBordersVisible = false;
|
|
|
+ this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
|
|
+ this.layoutControlItem1,
|
|
|
+ this.layoutControlItem3,
|
|
|
+ this.layoutControlItem4});
|
|
|
+ this.layoutControlGroup1.Location = new System.Drawing.Point(0, 26);
|
|
|
+ this.layoutControlGroup1.Name = "layoutControlGroup1";
|
|
|
+ this.layoutControlGroup1.ShowInCustomizationForm = false;
|
|
|
+ this.layoutControlGroup1.Size = new System.Drawing.Size(710, 26);
|
|
|
+ //
|
|
|
// XlCalculateForm
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
@@ -243,22 +280,23 @@
|
|
|
this.Load += new System.EventHandler(this.XlCalculateForm_Load);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
|
|
|
this.layoutControl1.ResumeLayout(false);
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.gridControl)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtSpanSeconds.Properties)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtEndTime.Properties.CalendarTimeProperties)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtEndTime.Properties)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtStartTime.Properties.CalendarTimeProperties)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtStartTime.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtTle.Properties)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.CalendarTimeProperties)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.dateEdit2.Properties.CalendarTimeProperties)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.dateEdit2.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.gridControl)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
}
|
|
@@ -270,9 +308,9 @@
|
|
|
private DevExpress.XtraGrid.GridControl gridControl;
|
|
|
private DevExpress.XtraGrid.Views.Grid.GridView gridView;
|
|
|
private DevExpress.XtraEditors.SimpleButton btnCalculate;
|
|
|
- private DevExpress.XtraEditors.ButtonEdit buttonEdit1;
|
|
|
- private DevExpress.XtraEditors.DateEdit dateEdit2;
|
|
|
- private DevExpress.XtraEditors.DateEdit dateEdit1;
|
|
|
+ private DevExpress.XtraEditors.ButtonEdit txtSpanSeconds;
|
|
|
+ private DevExpress.XtraEditors.DateEdit txtEndTime;
|
|
|
+ private DevExpress.XtraEditors.DateEdit txtStartTime;
|
|
|
private DevExpress.XtraEditors.SearchLookUpEdit txtTle;
|
|
|
private DevExpress.XtraGrid.Views.Grid.GridView searchLookUpEdit1View;
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
|
|
@@ -281,5 +319,6 @@
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
|
|
|
+ private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
|
|
|
}
|
|
|
}
|