EmtEditForm.Designer.cs 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678
  1. namespace Ips.Sps.Emts
  2. {
  3. partial class EmtEditForm
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. components = new System.ComponentModel.Container();
  29. DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
  30. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
  31. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
  32. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
  33. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
  34. DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
  35. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
  36. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
  37. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
  38. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject();
  39. DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions3 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
  40. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject9 = new DevExpress.Utils.SerializableAppearanceObject();
  41. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject10 = new DevExpress.Utils.SerializableAppearanceObject();
  42. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject11 = new DevExpress.Utils.SerializableAppearanceObject();
  43. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject12 = new DevExpress.Utils.SerializableAppearanceObject();
  44. DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions4 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
  45. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject13 = new DevExpress.Utils.SerializableAppearanceObject();
  46. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject14 = new DevExpress.Utils.SerializableAppearanceObject();
  47. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject15 = new DevExpress.Utils.SerializableAppearanceObject();
  48. DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject16 = new DevExpress.Utils.SerializableAppearanceObject();
  49. DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions buttonImageOptions1 = new DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions();
  50. DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions buttonImageOptions2 = new DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions();
  51. bsEmt = new DevExpress.Xpo.XPBindingSource(components);
  52. dataLayoutControl1 = new DevExpress.XtraDataLayout.DataLayoutControl();
  53. btnCancel = new DevExpress.XtraEditors.SimpleButton();
  54. btnSave = new DevExpress.XtraEditors.SimpleButton();
  55. grdEmtSampleList = new DevExpress.XtraGrid.GridControl();
  56. gvEmtSampleList = new DevExpress.XtraGrid.Views.Grid.GridView();
  57. colOid = new DevExpress.XtraGrid.Columns.GridColumn();
  58. colSigFreq = new DevExpress.XtraGrid.Columns.GridColumn();
  59. colBandWidth = new DevExpress.XtraGrid.Columns.GridColumn();
  60. colFs = new DevExpress.XtraGrid.Columns.GridColumn();
  61. colStartSec = new DevExpress.XtraGrid.Columns.GridColumn();
  62. colEndSec = new DevExpress.XtraGrid.Columns.GridColumn();
  63. colSampleFile = new DevExpress.XtraGrid.Columns.GridColumn();
  64. sampleFileEdit = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
  65. colEnable = new DevExpress.XtraGrid.Columns.GridColumn();
  66. enableEdit = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
  67. CodeTextEdit = new DevExpress.XtraEditors.TextEdit();
  68. NameTextEdit = new DevExpress.XtraEditors.TextEdit();
  69. EmtTypeImageComboBoxEdit = new DevExpress.XtraEditors.ImageComboBoxEdit();
  70. EnableCheckEdit = new DevExpress.XtraEditors.CheckEdit();
  71. HasSampleCheckEdit = new DevExpress.XtraEditors.CheckEdit();
  72. SpeedButtonEdit = new DevExpress.XtraEditors.ButtonEdit();
  73. LonButtonEdit = new DevExpress.XtraEditors.ButtonEdit();
  74. LatButtonEdit = new DevExpress.XtraEditors.ButtonEdit();
  75. AltButtonEdit = new DevExpress.XtraEditors.ButtonEdit();
  76. RemarkMemoEdit = new DevExpress.XtraEditors.MemoEdit();
  77. Root = new DevExpress.XtraLayout.LayoutControlGroup();
  78. layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
  79. ItemForCode = new DevExpress.XtraLayout.LayoutControlItem();
  80. ItemForEmtType = new DevExpress.XtraLayout.LayoutControlItem();
  81. ItemForName = new DevExpress.XtraLayout.LayoutControlItem();
  82. ItemForLon = new DevExpress.XtraLayout.LayoutControlItem();
  83. ItemForLat = new DevExpress.XtraLayout.LayoutControlItem();
  84. ItemForAlt = new DevExpress.XtraLayout.LayoutControlItem();
  85. ItemForEnable = new DevExpress.XtraLayout.LayoutControlItem();
  86. layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
  87. layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
  88. emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
  89. lcgSamples = new DevExpress.XtraLayout.LayoutControlGroup();
  90. layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
  91. ItemForRemark = new DevExpress.XtraLayout.LayoutControlItem();
  92. ItemForHasSample = new DevExpress.XtraLayout.LayoutControlItem();
  93. ItemForSpeed = new DevExpress.XtraLayout.LayoutControlItem();
  94. ((System.ComponentModel.ISupportInitialize)bsEmt).BeginInit();
  95. ((System.ComponentModel.ISupportInitialize)dataLayoutControl1).BeginInit();
  96. dataLayoutControl1.SuspendLayout();
  97. ((System.ComponentModel.ISupportInitialize)grdEmtSampleList).BeginInit();
  98. ((System.ComponentModel.ISupportInitialize)gvEmtSampleList).BeginInit();
  99. ((System.ComponentModel.ISupportInitialize)sampleFileEdit).BeginInit();
  100. ((System.ComponentModel.ISupportInitialize)enableEdit).BeginInit();
  101. ((System.ComponentModel.ISupportInitialize)CodeTextEdit.Properties).BeginInit();
  102. ((System.ComponentModel.ISupportInitialize)NameTextEdit.Properties).BeginInit();
  103. ((System.ComponentModel.ISupportInitialize)EmtTypeImageComboBoxEdit.Properties).BeginInit();
  104. ((System.ComponentModel.ISupportInitialize)EnableCheckEdit.Properties).BeginInit();
  105. ((System.ComponentModel.ISupportInitialize)HasSampleCheckEdit.Properties).BeginInit();
  106. ((System.ComponentModel.ISupportInitialize)SpeedButtonEdit.Properties).BeginInit();
  107. ((System.ComponentModel.ISupportInitialize)LonButtonEdit.Properties).BeginInit();
  108. ((System.ComponentModel.ISupportInitialize)LatButtonEdit.Properties).BeginInit();
  109. ((System.ComponentModel.ISupportInitialize)AltButtonEdit.Properties).BeginInit();
  110. ((System.ComponentModel.ISupportInitialize)RemarkMemoEdit.Properties).BeginInit();
  111. ((System.ComponentModel.ISupportInitialize)Root).BeginInit();
  112. ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).BeginInit();
  113. ((System.ComponentModel.ISupportInitialize)ItemForCode).BeginInit();
  114. ((System.ComponentModel.ISupportInitialize)ItemForEmtType).BeginInit();
  115. ((System.ComponentModel.ISupportInitialize)ItemForName).BeginInit();
  116. ((System.ComponentModel.ISupportInitialize)ItemForLon).BeginInit();
  117. ((System.ComponentModel.ISupportInitialize)ItemForLat).BeginInit();
  118. ((System.ComponentModel.ISupportInitialize)ItemForAlt).BeginInit();
  119. ((System.ComponentModel.ISupportInitialize)ItemForEnable).BeginInit();
  120. ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit();
  121. ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit();
  122. ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit();
  123. ((System.ComponentModel.ISupportInitialize)lcgSamples).BeginInit();
  124. ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit();
  125. ((System.ComponentModel.ISupportInitialize)ItemForRemark).BeginInit();
  126. ((System.ComponentModel.ISupportInitialize)ItemForHasSample).BeginInit();
  127. ((System.ComponentModel.ISupportInitialize)ItemForSpeed).BeginInit();
  128. SuspendLayout();
  129. //
  130. // bsEmt
  131. //
  132. bsEmt.DisplayableProperties = "Oid;Code;Name;EmtType;Speed;Lon;Lat;Alt;Remark;Enable;HasSample;SigSamples";
  133. bsEmt.ObjectType = typeof(Emt);
  134. //
  135. // dataLayoutControl1
  136. //
  137. dataLayoutControl1.Controls.Add(btnCancel);
  138. dataLayoutControl1.Controls.Add(btnSave);
  139. dataLayoutControl1.Controls.Add(grdEmtSampleList);
  140. dataLayoutControl1.Controls.Add(CodeTextEdit);
  141. dataLayoutControl1.Controls.Add(NameTextEdit);
  142. dataLayoutControl1.Controls.Add(EmtTypeImageComboBoxEdit);
  143. dataLayoutControl1.Controls.Add(EnableCheckEdit);
  144. dataLayoutControl1.Controls.Add(HasSampleCheckEdit);
  145. dataLayoutControl1.Controls.Add(SpeedButtonEdit);
  146. dataLayoutControl1.Controls.Add(LonButtonEdit);
  147. dataLayoutControl1.Controls.Add(LatButtonEdit);
  148. dataLayoutControl1.Controls.Add(AltButtonEdit);
  149. dataLayoutControl1.Controls.Add(RemarkMemoEdit);
  150. dataLayoutControl1.DataSource = bsEmt;
  151. dataLayoutControl1.Dock = DockStyle.Fill;
  152. dataLayoutControl1.Location = new Point(0, 0);
  153. dataLayoutControl1.Name = "dataLayoutControl1";
  154. dataLayoutControl1.Root = Root;
  155. dataLayoutControl1.Size = new Size(903, 357);
  156. dataLayoutControl1.TabIndex = 0;
  157. dataLayoutControl1.Text = "dataLayoutControl1";
  158. //
  159. // btnCancel
  160. //
  161. btnCancel.Location = new Point(835, 323);
  162. btnCancel.Name = "btnCancel";
  163. btnCancel.Size = new Size(56, 22);
  164. btnCancel.StyleController = dataLayoutControl1;
  165. btnCancel.TabIndex = 13;
  166. btnCancel.Text = "取消";
  167. btnCancel.Click += btnCancel_Click;
  168. //
  169. // btnSave
  170. //
  171. btnSave.Location = new Point(775, 323);
  172. btnSave.Name = "btnSave";
  173. btnSave.Size = new Size(56, 22);
  174. btnSave.StyleController = dataLayoutControl1;
  175. btnSave.TabIndex = 12;
  176. btnSave.Text = "保存";
  177. btnSave.Click += btnSave_Click;
  178. //
  179. // grdEmtSampleList
  180. //
  181. grdEmtSampleList.DataMember = "SigSamples";
  182. grdEmtSampleList.DataSource = bsEmt;
  183. grdEmtSampleList.Location = new Point(18, 140);
  184. grdEmtSampleList.MainView = gvEmtSampleList;
  185. grdEmtSampleList.Name = "grdEmtSampleList";
  186. grdEmtSampleList.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { enableEdit, sampleFileEdit });
  187. grdEmtSampleList.Size = new Size(867, 173);
  188. grdEmtSampleList.TabIndex = 11;
  189. grdEmtSampleList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gvEmtSampleList });
  190. //
  191. // gvEmtSampleList
  192. //
  193. gvEmtSampleList.Appearance.Row.Options.UseTextOptions = true;
  194. gvEmtSampleList.Appearance.Row.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
  195. gvEmtSampleList.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colOid, colSigFreq, colBandWidth, colFs, colStartSec, colEndSec, colSampleFile, colEnable });
  196. gvEmtSampleList.GridControl = grdEmtSampleList;
  197. gvEmtSampleList.Name = "gvEmtSampleList";
  198. gvEmtSampleList.OptionsView.BestFitMode = DevExpress.XtraGrid.Views.Grid.GridBestFitMode.Fast;
  199. gvEmtSampleList.OptionsView.ShowGroupPanel = false;
  200. //
  201. // colOid
  202. //
  203. colOid.FieldName = "Oid";
  204. colOid.Name = "colOid";
  205. //
  206. // colSigFreq
  207. //
  208. colSigFreq.FieldName = "SigFreq";
  209. colSigFreq.Name = "colSigFreq";
  210. colSigFreq.Visible = true;
  211. colSigFreq.VisibleIndex = 0;
  212. colSigFreq.Width = 76;
  213. //
  214. // colBandWidth
  215. //
  216. colBandWidth.FieldName = "BandWidth";
  217. colBandWidth.Name = "colBandWidth";
  218. colBandWidth.Visible = true;
  219. colBandWidth.VisibleIndex = 1;
  220. colBandWidth.Width = 82;
  221. //
  222. // colFs
  223. //
  224. colFs.FieldName = "Fs";
  225. colFs.Name = "colFs";
  226. colFs.Visible = true;
  227. colFs.VisibleIndex = 2;
  228. colFs.Width = 63;
  229. //
  230. // colStartSec
  231. //
  232. colStartSec.FieldName = "StartSec";
  233. colStartSec.Name = "colStartSec";
  234. colStartSec.Visible = true;
  235. colStartSec.VisibleIndex = 3;
  236. colStartSec.Width = 59;
  237. //
  238. // colEndSec
  239. //
  240. colEndSec.FieldName = "EndSec";
  241. colEndSec.Name = "colEndSec";
  242. colEndSec.Visible = true;
  243. colEndSec.VisibleIndex = 4;
  244. colEndSec.Width = 65;
  245. //
  246. // colSampleFile
  247. //
  248. colSampleFile.ColumnEdit = sampleFileEdit;
  249. colSampleFile.FieldName = "SampleFile";
  250. colSampleFile.Name = "colSampleFile";
  251. colSampleFile.Visible = true;
  252. colSampleFile.VisibleIndex = 5;
  253. colSampleFile.Width = 314;
  254. //
  255. // sampleFileEdit
  256. //
  257. sampleFileEdit.AutoHeight = false;
  258. sampleFileEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() });
  259. sampleFileEdit.Name = "sampleFileEdit";
  260. sampleFileEdit.ButtonClick += SampleFileButtonEdit_ButtonClick;
  261. //
  262. // colEnable
  263. //
  264. colEnable.ColumnEdit = enableEdit;
  265. colEnable.FieldName = "Enable";
  266. colEnable.Name = "colEnable";
  267. colEnable.OptionsColumn.FixedWidth = true;
  268. colEnable.Visible = true;
  269. colEnable.VisibleIndex = 6;
  270. colEnable.Width = 60;
  271. //
  272. // enableEdit
  273. //
  274. enableEdit.AutoHeight = false;
  275. enableEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) });
  276. enableEdit.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] { new DevExpress.XtraEditors.Controls.ImageComboBoxItem("启用", true, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("禁用", false, -1) });
  277. enableEdit.Name = "enableEdit";
  278. //
  279. // CodeTextEdit
  280. //
  281. CodeTextEdit.DataBindings.Add(new Binding("EditValue", bsEmt, "Code", true, DataSourceUpdateMode.OnPropertyChanged));
  282. CodeTextEdit.Location = new Point(72, 12);
  283. CodeTextEdit.Name = "CodeTextEdit";
  284. CodeTextEdit.Size = new Size(131, 20);
  285. CodeTextEdit.StyleController = dataLayoutControl1;
  286. CodeTextEdit.TabIndex = 0;
  287. //
  288. // NameTextEdit
  289. //
  290. NameTextEdit.DataBindings.Add(new Binding("EditValue", bsEmt, "Name", true, DataSourceUpdateMode.OnPropertyChanged));
  291. NameTextEdit.Location = new Point(267, 12);
  292. NameTextEdit.Name = "NameTextEdit";
  293. NameTextEdit.Size = new Size(474, 20);
  294. NameTextEdit.StyleController = dataLayoutControl1;
  295. NameTextEdit.TabIndex = 2;
  296. //
  297. // EmtTypeImageComboBoxEdit
  298. //
  299. EmtTypeImageComboBoxEdit.DataBindings.Add(new Binding("EditValue", bsEmt, "EmtType", true));
  300. EmtTypeImageComboBoxEdit.Location = new Point(72, 36);
  301. EmtTypeImageComboBoxEdit.Name = "EmtTypeImageComboBoxEdit";
  302. EmtTypeImageComboBoxEdit.Properties.Appearance.Options.UseTextOptions = true;
  303. EmtTypeImageComboBoxEdit.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
  304. EmtTypeImageComboBoxEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) });
  305. EmtTypeImageComboBoxEdit.Properties.UseCtrlScroll = true;
  306. EmtTypeImageComboBoxEdit.Size = new Size(131, 20);
  307. EmtTypeImageComboBoxEdit.StyleController = dataLayoutControl1;
  308. EmtTypeImageComboBoxEdit.TabIndex = 5;
  309. EmtTypeImageComboBoxEdit.SelectedIndexChanged += EmtTypeImageComboBoxEdit_SelectedIndexChanged;
  310. //
  311. // EnableCheckEdit
  312. //
  313. EnableCheckEdit.DataBindings.Add(new Binding("EditValue", bsEmt, "Enable", true, DataSourceUpdateMode.OnPropertyChanged));
  314. EnableCheckEdit.Location = new Point(820, 12);
  315. EnableCheckEdit.Name = "EnableCheckEdit";
  316. EnableCheckEdit.Properties.Caption = "启用";
  317. EnableCheckEdit.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Default;
  318. EnableCheckEdit.Size = new Size(71, 20);
  319. EnableCheckEdit.StyleController = dataLayoutControl1;
  320. EnableCheckEdit.TabIndex = 4;
  321. //
  322. // HasSampleCheckEdit
  323. //
  324. HasSampleCheckEdit.DataBindings.Add(new Binding("EditValue", bsEmt, "HasSample", true, DataSourceUpdateMode.OnPropertyChanged));
  325. HasSampleCheckEdit.Location = new Point(745, 12);
  326. HasSampleCheckEdit.Name = "HasSampleCheckEdit";
  327. HasSampleCheckEdit.Properties.Caption = "扩频参考";
  328. HasSampleCheckEdit.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Default;
  329. HasSampleCheckEdit.Size = new Size(71, 20);
  330. HasSampleCheckEdit.StyleController = dataLayoutControl1;
  331. HasSampleCheckEdit.TabIndex = 3;
  332. HasSampleCheckEdit.CheckedChanged += HasSampleCheckEdit_CheckedChanged;
  333. //
  334. // SpeedButtonEdit
  335. //
  336. SpeedButtonEdit.DataBindings.Add(new Binding("EditValue", bsEmt, "Speed", true, DataSourceUpdateMode.OnPropertyChanged));
  337. SpeedButtonEdit.Location = new Point(801, 36);
  338. SpeedButtonEdit.Name = "SpeedButtonEdit";
  339. SpeedButtonEdit.Properties.Appearance.Options.UseTextOptions = true;
  340. SpeedButtonEdit.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
  341. SpeedButtonEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "km/h", -1, false, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) });
  342. SpeedButtonEdit.Properties.Mask.UseMaskAsDisplayFormat = true;
  343. SpeedButtonEdit.Size = new Size(90, 23);
  344. SpeedButtonEdit.StyleController = dataLayoutControl1;
  345. SpeedButtonEdit.TabIndex = 9;
  346. //
  347. // LonButtonEdit
  348. //
  349. LonButtonEdit.DataBindings.Add(new Binding("EditValue", bsEmt, "Lon", true, DataSourceUpdateMode.OnPropertyChanged));
  350. LonButtonEdit.Location = new Point(267, 36);
  351. LonButtonEdit.Name = "LonButtonEdit";
  352. LonButtonEdit.Properties.Appearance.Options.UseTextOptions = true;
  353. LonButtonEdit.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
  354. LonButtonEdit.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(Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) });
  355. LonButtonEdit.Properties.Mask.UseMaskAsDisplayFormat = true;
  356. LonButtonEdit.Size = new Size(119, 23);
  357. LonButtonEdit.StyleController = dataLayoutControl1;
  358. LonButtonEdit.TabIndex = 6;
  359. //
  360. // LatButtonEdit
  361. //
  362. LatButtonEdit.DataBindings.Add(new Binding("EditValue", bsEmt, "Lat", true, DataSourceUpdateMode.OnPropertyChanged));
  363. LatButtonEdit.Location = new Point(450, 36);
  364. LatButtonEdit.Name = "LatButtonEdit";
  365. LatButtonEdit.Properties.Appearance.Options.UseTextOptions = true;
  366. LatButtonEdit.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
  367. LatButtonEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "度", -1, false, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) });
  368. LatButtonEdit.Properties.Mask.UseMaskAsDisplayFormat = true;
  369. LatButtonEdit.Size = new Size(120, 23);
  370. LatButtonEdit.StyleController = dataLayoutControl1;
  371. LatButtonEdit.TabIndex = 7;
  372. //
  373. // AltButtonEdit
  374. //
  375. AltButtonEdit.DataBindings.Add(new Binding("EditValue", bsEmt, "Alt", true, DataSourceUpdateMode.OnPropertyChanged));
  376. AltButtonEdit.Location = new Point(634, 36);
  377. AltButtonEdit.Name = "AltButtonEdit";
  378. AltButtonEdit.Properties.Appearance.Options.UseTextOptions = true;
  379. AltButtonEdit.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
  380. AltButtonEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "米", -1, false, true, false, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) });
  381. AltButtonEdit.Properties.Mask.UseMaskAsDisplayFormat = true;
  382. AltButtonEdit.Size = new Size(103, 23);
  383. AltButtonEdit.StyleController = dataLayoutControl1;
  384. AltButtonEdit.TabIndex = 8;
  385. //
  386. // RemarkMemoEdit
  387. //
  388. RemarkMemoEdit.DataBindings.Add(new Binding("EditValue", bsEmt, "Remark", true, DataSourceUpdateMode.OnPropertyChanged));
  389. RemarkMemoEdit.Location = new Point(72, 63);
  390. RemarkMemoEdit.Name = "RemarkMemoEdit";
  391. RemarkMemoEdit.Properties.ScrollBars = ScrollBars.None;
  392. RemarkMemoEdit.Size = new Size(819, 46);
  393. RemarkMemoEdit.StyleController = dataLayoutControl1;
  394. RemarkMemoEdit.TabIndex = 10;
  395. //
  396. // Root
  397. //
  398. Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
  399. Root.GroupBordersVisible = false;
  400. Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup1 });
  401. Root.Name = "Root";
  402. Root.Size = new Size(903, 357);
  403. Root.TextVisible = false;
  404. //
  405. // layoutControlGroup1
  406. //
  407. layoutControlGroup1.AllowDrawBackground = false;
  408. layoutControlGroup1.GroupBordersVisible = false;
  409. layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { ItemForCode, ItemForEmtType, ItemForName, ItemForLon, ItemForLat, ItemForAlt, ItemForEnable, layoutControlItem2, layoutControlItem3, emptySpaceItem1, lcgSamples, ItemForRemark, ItemForHasSample, ItemForSpeed });
  410. layoutControlGroup1.Location = new Point(0, 0);
  411. layoutControlGroup1.Name = "autoGeneratedGroup0";
  412. layoutControlGroup1.Size = new Size(883, 337);
  413. //
  414. // ItemForCode
  415. //
  416. ItemForCode.Control = CodeTextEdit;
  417. ItemForCode.Location = new Point(0, 0);
  418. ItemForCode.MaxSize = new Size(195, 24);
  419. ItemForCode.MinSize = new Size(195, 24);
  420. ItemForCode.Name = "ItemForCode";
  421. ItemForCode.Size = new Size(195, 24);
  422. ItemForCode.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
  423. ItemForCode.Text = "目标编码";
  424. ItemForCode.TextSize = new Size(48, 14);
  425. //
  426. // ItemForEmtType
  427. //
  428. ItemForEmtType.Control = EmtTypeImageComboBoxEdit;
  429. ItemForEmtType.Location = new Point(0, 24);
  430. ItemForEmtType.MaxSize = new Size(195, 24);
  431. ItemForEmtType.MinSize = new Size(195, 24);
  432. ItemForEmtType.Name = "ItemForEmtType";
  433. ItemForEmtType.Size = new Size(195, 27);
  434. ItemForEmtType.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
  435. ItemForEmtType.Text = "目标类型";
  436. ItemForEmtType.TextSize = new Size(48, 14);
  437. //
  438. // ItemForName
  439. //
  440. ItemForName.Control = NameTextEdit;
  441. ItemForName.Location = new Point(195, 0);
  442. ItemForName.Name = "ItemForName";
  443. ItemForName.Size = new Size(538, 24);
  444. ItemForName.Text = "目标名称";
  445. ItemForName.TextSize = new Size(48, 14);
  446. //
  447. // ItemForLon
  448. //
  449. ItemForLon.Control = LonButtonEdit;
  450. ItemForLon.Location = new Point(195, 24);
  451. ItemForLon.Name = "ItemForLon";
  452. ItemForLon.Size = new Size(183, 27);
  453. ItemForLon.Text = "目标经度";
  454. ItemForLon.TextSize = new Size(48, 14);
  455. ItemForLon.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
  456. //
  457. // ItemForLat
  458. //
  459. ItemForLat.Control = LatButtonEdit;
  460. ItemForLat.Location = new Point(378, 24);
  461. ItemForLat.Name = "ItemForLat";
  462. ItemForLat.Size = new Size(184, 27);
  463. ItemForLat.Text = "目标纬度";
  464. ItemForLat.TextSize = new Size(48, 14);
  465. ItemForLat.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
  466. //
  467. // ItemForAlt
  468. //
  469. ItemForAlt.Control = AltButtonEdit;
  470. ItemForAlt.Location = new Point(562, 24);
  471. ItemForAlt.Name = "ItemForAlt";
  472. ItemForAlt.Size = new Size(167, 27);
  473. ItemForAlt.Text = "目标高度";
  474. ItemForAlt.TextSize = new Size(48, 14);
  475. //
  476. // ItemForEnable
  477. //
  478. ItemForEnable.Control = EnableCheckEdit;
  479. ItemForEnable.Location = new Point(808, 0);
  480. ItemForEnable.MaxSize = new Size(75, 24);
  481. ItemForEnable.MinSize = new Size(75, 24);
  482. ItemForEnable.Name = "ItemForEnable";
  483. ItemForEnable.Size = new Size(75, 24);
  484. ItemForEnable.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
  485. ItemForEnable.Text = "启用";
  486. ItemForEnable.TextSize = new Size(0, 0);
  487. ItemForEnable.TextVisible = false;
  488. //
  489. // layoutControlItem2
  490. //
  491. layoutControlItem2.Control = btnSave;
  492. layoutControlItem2.Location = new Point(763, 311);
  493. layoutControlItem2.MaxSize = new Size(60, 26);
  494. layoutControlItem2.MinSize = new Size(60, 26);
  495. layoutControlItem2.Name = "layoutControlItem2";
  496. layoutControlItem2.Size = new Size(60, 26);
  497. layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
  498. layoutControlItem2.TextSize = new Size(0, 0);
  499. layoutControlItem2.TextVisible = false;
  500. //
  501. // layoutControlItem3
  502. //
  503. layoutControlItem3.Control = btnCancel;
  504. layoutControlItem3.Location = new Point(823, 311);
  505. layoutControlItem3.MaxSize = new Size(60, 26);
  506. layoutControlItem3.MinSize = new Size(60, 26);
  507. layoutControlItem3.Name = "layoutControlItem3";
  508. layoutControlItem3.Size = new Size(60, 26);
  509. layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
  510. layoutControlItem3.TextSize = new Size(0, 0);
  511. layoutControlItem3.TextVisible = false;
  512. //
  513. // emptySpaceItem1
  514. //
  515. emptySpaceItem1.AllowHotTrack = false;
  516. emptySpaceItem1.Location = new Point(0, 311);
  517. emptySpaceItem1.Name = "emptySpaceItem1";
  518. emptySpaceItem1.Size = new Size(763, 26);
  519. emptySpaceItem1.TextSize = new Size(0, 0);
  520. //
  521. // lcgSamples
  522. //
  523. buttonImageOptions1.ImageUri.Uri = "icon%20builder/actions_add";
  524. buttonImageOptions1.SvgImageSize = new Size(16, 16);
  525. buttonImageOptions2.ImageUri.Uri = "icon%20builder/actions_remove";
  526. buttonImageOptions2.SvgImageSize = new Size(16, 16);
  527. lcgSamples.CustomHeaderButtons.AddRange(new DevExpress.XtraEditors.ButtonPanel.IBaseButton[] { new DevExpress.XtraEditors.ButtonsPanelControl.GroupBoxButton("添加", false, buttonImageOptions1, DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton, "", -1, true, null, true, false, true, null, -1), new DevExpress.XtraEditors.ButtonsPanelControl.GroupBoxButton("删除", false, buttonImageOptions2, DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton, "", -1, true, null, true, false, true, null, -1) });
  528. lcgSamples.HeaderButtonsLocation = DevExpress.Utils.GroupElementLocation.AfterText;
  529. lcgSamples.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1 });
  530. lcgSamples.Location = new Point(0, 101);
  531. lcgSamples.Name = "lcgSamples";
  532. lcgSamples.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3);
  533. lcgSamples.Size = new Size(883, 210);
  534. lcgSamples.Text = "信号样本";
  535. lcgSamples.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
  536. lcgSamples.CustomButtonClick += lcgSamples_CustomButtonClick;
  537. //
  538. // layoutControlItem1
  539. //
  540. layoutControlItem1.Control = grdEmtSampleList;
  541. layoutControlItem1.Location = new Point(0, 0);
  542. layoutControlItem1.Name = "layoutControlItem1";
  543. layoutControlItem1.Size = new Size(871, 177);
  544. layoutControlItem1.TextSize = new Size(0, 0);
  545. layoutControlItem1.TextVisible = false;
  546. //
  547. // ItemForRemark
  548. //
  549. ItemForRemark.Control = RemarkMemoEdit;
  550. ItemForRemark.Location = new Point(0, 51);
  551. ItemForRemark.Name = "ItemForRemark";
  552. ItemForRemark.Size = new Size(883, 50);
  553. ItemForRemark.Text = "备注";
  554. ItemForRemark.TextSize = new Size(48, 14);
  555. //
  556. // ItemForHasSample
  557. //
  558. ItemForHasSample.Control = HasSampleCheckEdit;
  559. ItemForHasSample.Location = new Point(733, 0);
  560. ItemForHasSample.MaxSize = new Size(75, 24);
  561. ItemForHasSample.MinSize = new Size(75, 24);
  562. ItemForHasSample.Name = "ItemForHasSample";
  563. ItemForHasSample.Size = new Size(75, 24);
  564. ItemForHasSample.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
  565. ItemForHasSample.Text = "有无样本";
  566. ItemForHasSample.TextSize = new Size(0, 0);
  567. ItemForHasSample.TextVisible = false;
  568. //
  569. // ItemForSpeed
  570. //
  571. ItemForSpeed.Control = SpeedButtonEdit;
  572. ItemForSpeed.Location = new Point(729, 24);
  573. ItemForSpeed.Name = "ItemForSpeed";
  574. ItemForSpeed.Size = new Size(154, 27);
  575. ItemForSpeed.Text = "最大速度";
  576. ItemForSpeed.TextSize = new Size(48, 14);
  577. //
  578. // EmtEditForm
  579. //
  580. AcceptButton = btnSave;
  581. AutoScaleDimensions = new SizeF(7F, 14F);
  582. AutoScaleMode = AutoScaleMode.Font;
  583. CancelButton = btnCancel;
  584. ClientSize = new Size(903, 357);
  585. Controls.Add(dataLayoutControl1);
  586. IconOptions.ShowIcon = false;
  587. Name = "EmtEditForm";
  588. ShowInTaskbar = false;
  589. StartPosition = FormStartPosition.CenterParent;
  590. Text = "目标信息";
  591. Load += EmtEditForm_Load;
  592. ((System.ComponentModel.ISupportInitialize)bsEmt).EndInit();
  593. ((System.ComponentModel.ISupportInitialize)dataLayoutControl1).EndInit();
  594. dataLayoutControl1.ResumeLayout(false);
  595. ((System.ComponentModel.ISupportInitialize)grdEmtSampleList).EndInit();
  596. ((System.ComponentModel.ISupportInitialize)gvEmtSampleList).EndInit();
  597. ((System.ComponentModel.ISupportInitialize)sampleFileEdit).EndInit();
  598. ((System.ComponentModel.ISupportInitialize)enableEdit).EndInit();
  599. ((System.ComponentModel.ISupportInitialize)CodeTextEdit.Properties).EndInit();
  600. ((System.ComponentModel.ISupportInitialize)NameTextEdit.Properties).EndInit();
  601. ((System.ComponentModel.ISupportInitialize)EmtTypeImageComboBoxEdit.Properties).EndInit();
  602. ((System.ComponentModel.ISupportInitialize)EnableCheckEdit.Properties).EndInit();
  603. ((System.ComponentModel.ISupportInitialize)HasSampleCheckEdit.Properties).EndInit();
  604. ((System.ComponentModel.ISupportInitialize)SpeedButtonEdit.Properties).EndInit();
  605. ((System.ComponentModel.ISupportInitialize)LonButtonEdit.Properties).EndInit();
  606. ((System.ComponentModel.ISupportInitialize)LatButtonEdit.Properties).EndInit();
  607. ((System.ComponentModel.ISupportInitialize)AltButtonEdit.Properties).EndInit();
  608. ((System.ComponentModel.ISupportInitialize)RemarkMemoEdit.Properties).EndInit();
  609. ((System.ComponentModel.ISupportInitialize)Root).EndInit();
  610. ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).EndInit();
  611. ((System.ComponentModel.ISupportInitialize)ItemForCode).EndInit();
  612. ((System.ComponentModel.ISupportInitialize)ItemForEmtType).EndInit();
  613. ((System.ComponentModel.ISupportInitialize)ItemForName).EndInit();
  614. ((System.ComponentModel.ISupportInitialize)ItemForLon).EndInit();
  615. ((System.ComponentModel.ISupportInitialize)ItemForLat).EndInit();
  616. ((System.ComponentModel.ISupportInitialize)ItemForAlt).EndInit();
  617. ((System.ComponentModel.ISupportInitialize)ItemForEnable).EndInit();
  618. ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit();
  619. ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit();
  620. ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit();
  621. ((System.ComponentModel.ISupportInitialize)lcgSamples).EndInit();
  622. ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit();
  623. ((System.ComponentModel.ISupportInitialize)ItemForRemark).EndInit();
  624. ((System.ComponentModel.ISupportInitialize)ItemForHasSample).EndInit();
  625. ((System.ComponentModel.ISupportInitialize)ItemForSpeed).EndInit();
  626. ResumeLayout(false);
  627. }
  628. #endregion
  629. private DevExpress.Xpo.XPBindingSource bsEmt;
  630. private DevExpress.XtraDataLayout.DataLayoutControl dataLayoutControl1;
  631. private DevExpress.XtraLayout.LayoutControlGroup Root;
  632. private DevExpress.XtraEditors.TextEdit CodeTextEdit;
  633. private DevExpress.XtraEditors.TextEdit NameTextEdit;
  634. private DevExpress.XtraEditors.ImageComboBoxEdit EmtTypeImageComboBoxEdit;
  635. private DevExpress.XtraEditors.CheckEdit EnableCheckEdit;
  636. private DevExpress.XtraEditors.CheckEdit HasSampleCheckEdit;
  637. private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
  638. private DevExpress.XtraLayout.LayoutControlItem ItemForCode;
  639. private DevExpress.XtraLayout.LayoutControlItem ItemForName;
  640. private DevExpress.XtraLayout.LayoutControlItem ItemForEmtType;
  641. private DevExpress.XtraLayout.LayoutControlItem ItemForSpeed;
  642. private DevExpress.XtraLayout.LayoutControlItem ItemForLon;
  643. private DevExpress.XtraLayout.LayoutControlItem ItemForLat;
  644. private DevExpress.XtraLayout.LayoutControlItem ItemForAlt;
  645. private DevExpress.XtraLayout.LayoutControlItem ItemForRemark;
  646. private DevExpress.XtraLayout.LayoutControlItem ItemForEnable;
  647. private DevExpress.XtraLayout.LayoutControlItem ItemForHasSample;
  648. private DevExpress.XtraEditors.ButtonEdit SpeedButtonEdit;
  649. private DevExpress.XtraEditors.ButtonEdit LonButtonEdit;
  650. private DevExpress.XtraEditors.ButtonEdit LatButtonEdit;
  651. private DevExpress.XtraEditors.ButtonEdit AltButtonEdit;
  652. private DevExpress.XtraEditors.MemoEdit RemarkMemoEdit;
  653. private DevExpress.XtraEditors.SimpleButton btnCancel;
  654. private DevExpress.XtraEditors.SimpleButton btnSave;
  655. private DevExpress.XtraGrid.GridControl grdEmtSampleList;
  656. private DevExpress.XtraGrid.Views.Grid.GridView gvEmtSampleList;
  657. private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
  658. private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
  659. private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
  660. private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
  661. private DevExpress.XtraLayout.LayoutControlGroup lcgSamples;
  662. private DevExpress.XtraGrid.Columns.GridColumn colOid;
  663. private DevExpress.XtraGrid.Columns.GridColumn colSigFreq;
  664. private DevExpress.XtraGrid.Columns.GridColumn colBandWidth;
  665. private DevExpress.XtraGrid.Columns.GridColumn colFs;
  666. private DevExpress.XtraGrid.Columns.GridColumn colStartSec;
  667. private DevExpress.XtraGrid.Columns.GridColumn colEndSec;
  668. private DevExpress.XtraGrid.Columns.GridColumn colSampleFile;
  669. private DevExpress.XtraGrid.Columns.GridColumn colEnable;
  670. private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit sampleFileEdit;
  671. private DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox enableEdit;
  672. }
  673. }