private void ShowStatDatData(HdDataServer.ArrayOfString files) { lv.Items.Clear(); lv.Columns.Clear(); ListViewDetailColumn col1 = new ListViewDetailColumn("文件名"); col1.Width = 320; lv.Columns.Add(col1); if (files == null || files.Count == 0) { SendMessage("查询到满足条件的结果共0条。"); return; } else { SendMessage("查询到满足条件的结果共" + files.Count + "条。"); } for (int i = 0; i < files.Count; i++) { string info = files[i]; string filename = Path.GetFileName(info); lv.Items.Add(filename, filename); lv.Items[i].Tag = _rootStatDat + info; } }
public RadForm2() { InitializeComponent(); this.InitializeData(); ListViewDetailColumn nameColumn = new ListViewDetailColumn("Product"); nameColumn.Width = 132; this.radListView1.Columns.Add(nameColumn); ListViewDetailColumn priceColumn = new ListViewDetailColumn("Price"); priceColumn.Width = 60; this.radListView1.Columns.Add(priceColumn); ListViewDetailColumn totalColumn = new ListViewDetailColumn("Total"); totalColumn.Width = 132; this.radListView2.Columns.Add(totalColumn); ListViewDetailColumn totalPriceColumn = new ListViewDetailColumn("TotalPrice"); totalPriceColumn.Width = 60; this.radListView2.Columns.Add(totalPriceColumn); this.radListView1.CellFormatting += radListView1_CellFormatting; this.radListView2.CellFormatting += radListView2_CellFormatting; this.radCheckedListBox1.VisualItemFormatting += radCheckedListBox1_VisualItemFormatting; this.radCheckedListBox1.SelectedItemsChanged += radCheckedListBox1_SelectedItemsChanged; }
public override bool IsCompatible(ListViewDetailColumn data, object context) { if (data.Name != "Reference") { return(false); } return(base.IsCompatible(data, context)); }
private void InitializeComponent() { ListViewDetailColumn viewDetailColumn1 = new ListViewDetailColumn("Column 0", "Date"); ListViewDetailColumn viewDetailColumn2 = new ListViewDetailColumn("Column 1", "Description"); this.lstSaves = new RadCheckedListBox(); this.cmdbackup = new RadButton(); this.radButton1 = new RadButton(); this.lstSaves.BeginInit(); this.cmdbackup.BeginInit(); this.radButton1.BeginInit(); this.BeginInit(); this.SuspendLayout(); viewDetailColumn1.HeaderText = "Date"; viewDetailColumn2.HeaderText = "Description"; viewDetailColumn2.Width = 500f; this.lstSaves.Columns.AddRange(viewDetailColumn1, viewDetailColumn2); this.lstSaves.Dock = DockStyle.Fill; this.lstSaves.ItemSpacing = -1; this.lstSaves.Location = new Point(0, 0); this.lstSaves.Name = "lstSaves"; this.lstSaves.Size = new Size(728, 362); this.lstSaves.TabIndex = 0; this.lstSaves.Text = "radCheckedListBox1"; this.lstSaves.ViewType = ListViewType.DetailsView; this.cmdbackup.Dock = DockStyle.Bottom; this.cmdbackup.Location = new Point(0, 362); this.cmdbackup.Name = "cmdbackup"; this.cmdbackup.Size = new Size(728, 24); this.cmdbackup.TabIndex = 4; this.cmdbackup.Text = "Restore"; this.cmdbackup.Click += new EventHandler(this.cmdbackup_Click); this.radButton1.Dock = DockStyle.Bottom; this.radButton1.Location = new Point(0, 386); this.radButton1.Name = "radButton1"; this.radButton1.Size = new Size(728, 24); this.radButton1.TabIndex = 3; this.radButton1.Text = "Cancel"; this.radButton1.Click += new EventHandler(this.radButton1_Click); this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(728, 410); this.Controls.Add((Control)this.lstSaves); this.Controls.Add((Control)this.cmdbackup); this.Controls.Add((Control)this.radButton1); this.FormBorderStyle = FormBorderStyle.FixedToolWindow; this.Name = nameof(frmChoseSave); this.RootElement.ApplyShapeToControl = true; this.ShowIcon = false; this.StartPosition = FormStartPosition.CenterParent; this.Text = "Chose a Save File"; this.Load += new EventHandler(this.frmChoseSave_Load); this.lstSaves.EndInit(); this.cmdbackup.EndInit(); this.radButton1.EndInit(); this.EndInit(); this.ResumeLayout(false); }
private void ShowBlocksInfo(BlockInfo[] infos) { lv.Items.Clear(); lv.Columns.Clear(); ListViewDetailColumn col1 = new ListViewDetailColumn("文件名"); col1.Width = 320; lv.Columns.Add(col1); lv.Columns.Add("创建时间"); lv.Columns.Add("大小(MB)"); lv.Columns.Add("快视图"); lv.Columns.Add("轨道时间"); lv.Columns.Add("白天/晚上"); lv.Columns.Add("卫星"); lv.Columns.Add("传感器"); if (infos == null || infos.Length == 0) { SendMessage("查询到满足条件的结果共0条。"); return; } else { SendMessage("查询到满足条件的结果共" + infos.Length + "条。"); } for (int i = 0; i < infos.Length; i++) { BlockInfo info = infos[i]; if (info == null) { continue; } MosaicInfo o = info.mosaicInfo == null ? null : info.mosaicInfo; lv.Items.Add( Path.GetFileName(info.datapath), info.createTime, (info.fileSize / 1024.0 / 1024).ToString("f2"), info.thumbnail, o == null ? "" : o.observationdate, o == null ? "" : o.dayOrNight, o == null ? "" : o.satellite, o == null ? "" : o.sensor); lv.Items[i].Tag = info.datapath; } }
private void ShowProjectionsInfo(ProjectionInfo[] pjs) { lv.Items.Clear(); lv.Columns.Clear(); ListViewDetailColumn col1 = new ListViewDetailColumn("文件名"); col1.Width = 320; lv.Columns.Add(col1); lv.Columns.Add("创建时间"); lv.Columns.Add("大小(MB)"); lv.Columns.Add("快视图"); lv.Columns.Add("轨道时间"); lv.Columns.Add("白天/晚上"); lv.Columns.Add("卫星"); lv.Columns.Add("传感器"); if (pjs == null || pjs.Length == 0) { SendMessage("查询到满足条件的结果共0条。"); return; } else { SendMessage("查询到满足条件的结果共" + pjs.Length + "条。"); } lv.BeginInit(); for (int i = 0; i < pjs.Length; i++) { ProjectionInfo pg = pjs[i]; OrbitInfo o = pg.orbitInfo; lv.Items.Add( Path.GetFileName(pg.datapath), pg.createTime, (pg.fileSize / 1024.0 / 1024).ToString("f2"), pg.thumbnail, o == null ? "" : o.observationdate + o.observationtime, o == null ? "" : o.dayOrNight, o == null ? "" : o.satellite, o == null ? "" : o.sensor); lv.Items[i].Tag = pg.datapath; } lv.EndInit(); }
// Token: 0x06000699 RID: 1689 RVA: 0x00030344 File Offset: 0x0002E544 private void c82b8091adcf720aa7a90631953c644c8() { ListViewDetailColumn listViewDetailColumn = new ListViewDetailColumn(ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(51927), ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(51944)); ListViewDetailColumn listViewDetailColumn2 = new ListViewDetailColumn(ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(51953), ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(51970)); this.c4e5654776d3751c05c86f05414813e91 = new RadCheckedListBox(); this.c2c8d44779f98bfe24d29fc0ee952d02d = new RadButton(); this.c7b9b66d26c7a44b0116c83b78c5d70da = new RadButton(); this.c4e5654776d3751c05c86f05414813e91.BeginInit(); this.c2c8d44779f98bfe24d29fc0ee952d02d.BeginInit(); this.c7b9b66d26c7a44b0116c83b78c5d70da.BeginInit(); ((ISupportInitialize)this).BeginInit(); base.SuspendLayout(); listViewDetailColumn.HeaderText = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(51944); listViewDetailColumn2.HeaderText = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(51970); listViewDetailColumn2.Width = cebbdeae8341a51f374f3ef4c993a069a.cabf61ab14a85b3360133efd96ff22140(13840); ListViewColumnCollection columns = this.c4e5654776d3751c05c86f05414813e91.Columns; ListViewDetailColumn[] array = c6188cbae417ac84374cf19bfcad5d59b.cad714a49573fd585a8ab14c80a23536b(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13844)); array[cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13848)] = listViewDetailColumn; array[cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13852)] = listViewDetailColumn2; columns.AddRange(array); this.c4e5654776d3751c05c86f05414813e91.Dock = (DockStyle)cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13856); this.c4e5654776d3751c05c86f05414813e91.ItemSpacing = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13860); this.c4e5654776d3751c05c86f05414813e91.Location = new Point(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13864), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13868)); this.c4e5654776d3751c05c86f05414813e91.Name = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(51993); this.c4e5654776d3751c05c86f05414813e91.Size = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13872), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13876)); this.c4e5654776d3751c05c86f05414813e91.TabIndex = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13880); this.c4e5654776d3751c05c86f05414813e91.Text = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(52010); this.c4e5654776d3751c05c86f05414813e91.ViewType = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13884); this.c2c8d44779f98bfe24d29fc0ee952d02d.Dock = (DockStyle)cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13888); this.c2c8d44779f98bfe24d29fc0ee952d02d.Location = new Point(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13892), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13896)); this.c2c8d44779f98bfe24d29fc0ee952d02d.Name = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(52047); this.c2c8d44779f98bfe24d29fc0ee952d02d.Size = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13900), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13904)); this.c2c8d44779f98bfe24d29fc0ee952d02d.TabIndex = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13908); this.c2c8d44779f98bfe24d29fc0ee952d02d.Text = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(52066); this.c2c8d44779f98bfe24d29fc0ee952d02d.Click += this.c0b961a93651ab95be91c5bbe046e48f0; this.c7b9b66d26c7a44b0116c83b78c5d70da.Dock = (DockStyle)cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13912); this.c7b9b66d26c7a44b0116c83b78c5d70da.Location = new Point(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13916), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13920)); this.c7b9b66d26c7a44b0116c83b78c5d70da.Name = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(43101); this.c7b9b66d26c7a44b0116c83b78c5d70da.Size = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13924), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13928)); this.c7b9b66d26c7a44b0116c83b78c5d70da.TabIndex = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13932); this.c7b9b66d26c7a44b0116c83b78c5d70da.Text = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(52081); this.c7b9b66d26c7a44b0116c83b78c5d70da.Click += this.c5219955baedc5bea94f35915314962fe; base.AutoScaleDimensions = new SizeF(cebbdeae8341a51f374f3ef4c993a069a.cabf61ab14a85b3360133efd96ff22140(13936), cebbdeae8341a51f374f3ef4c993a069a.cabf61ab14a85b3360133efd96ff22140(13940)); base.AutoScaleMode = (AutoScaleMode)cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13944); base.ClientSize = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13948), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13952)); base.Controls.Add(this.c4e5654776d3751c05c86f05414813e91); base.Controls.Add(this.c2c8d44779f98bfe24d29fc0ee952d02d); base.Controls.Add(this.c7b9b66d26c7a44b0116c83b78c5d70da); base.FormBorderStyle = (FormBorderStyle)cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13956); base.Name = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(52094); base.RootElement.ApplyShapeToControl = (cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13960) != 0); base.ShowIcon = (cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13964) != 0); base.StartPosition = (FormStartPosition)cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13968); this.Text = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(52119); base.Load += this.c90644c6a8ecc6e49ed693dfc3dea0737; this.c4e5654776d3751c05c86f05414813e91.EndInit(); this.c2c8d44779f98bfe24d29fc0ee952d02d.EndInit(); this.c7b9b66d26c7a44b0116c83b78c5d70da.EndInit(); ((ISupportInitialize)this).EndInit(); base.ResumeLayout(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(13972) != 0); }
// Token: 0x0600071C RID: 1820 RVA: 0x0003AD54 File Offset: 0x00038F54 private void c82b8091adcf720aa7a90631953c644c8() { ListViewDetailColumn listViewDetailColumn = new ListViewDetailColumn(ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(51927), ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(66854)); ListViewDetailColumn listViewDetailColumn2 = new ListViewDetailColumn(ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(51953), ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(66865)); ComponentResourceManager componentResourceManager = new ComponentResourceManager(Type.GetTypeFromHandle(cc50fd4eb0ca1167864832d9d90242c2d.cde4d1aeffe0e705b07e1b3d74e931465())); this.cee54c856c7e63e5fbea3d765715af7a0 = new RadCheckedListBox(); this.c4553ed186725b714efcccc71bbe10a0f = new RadLabel(); this.c4fdf528cc4655fdd2d6b81f0d1928e8e = new RadLabel(); this.ceefeeb905146bf2684e227ccf9dcbb43 = new RadButton(); this.ca6c1cea062503a0a580756cf1f1f0961 = new RadGroupBox(); this.c052ccf41a3ad1f787a00eeef2d674c87 = new RadLabel(); this.c129f9645be9dc9fb646c5432e51db9a5 = new RadLabel(); this.c362e39f066aef56acd25812b83e7da57 = new RadLabel(); this.c4a31dd2abe6d27ce482d0a083dd7311f = new RadLabel(); this.c0e7bde0280df56351440f1954d87e7a9 = new RadButton(); this.cee54c856c7e63e5fbea3d765715af7a0.BeginInit(); this.c4553ed186725b714efcccc71bbe10a0f.BeginInit(); this.c4fdf528cc4655fdd2d6b81f0d1928e8e.BeginInit(); this.ceefeeb905146bf2684e227ccf9dcbb43.BeginInit(); this.ca6c1cea062503a0a580756cf1f1f0961.BeginInit(); this.ca6c1cea062503a0a580756cf1f1f0961.SuspendLayout(); this.c052ccf41a3ad1f787a00eeef2d674c87.BeginInit(); this.c129f9645be9dc9fb646c5432e51db9a5.BeginInit(); this.c362e39f066aef56acd25812b83e7da57.BeginInit(); this.c4a31dd2abe6d27ce482d0a083dd7311f.BeginInit(); this.c0e7bde0280df56351440f1954d87e7a9.BeginInit(); ((ISupportInitialize)this).BeginInit(); base.SuspendLayout(); this.cee54c856c7e63e5fbea3d765715af7a0.AllowRemove = (cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18184) != 0); listViewDetailColumn.HeaderText = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(66854); listViewDetailColumn.Width = cebbdeae8341a51f374f3ef4c993a069a.cabf61ab14a85b3360133efd96ff22140(18188); listViewDetailColumn2.HeaderText = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(66865); listViewDetailColumn2.Width = cebbdeae8341a51f374f3ef4c993a069a.cabf61ab14a85b3360133efd96ff22140(18192); ListViewColumnCollection columns = this.cee54c856c7e63e5fbea3d765715af7a0.Columns; ListViewDetailColumn[] array = c6188cbae417ac84374cf19bfcad5d59b.cad714a49573fd585a8ab14c80a23536b(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18196)); array[cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18200)] = listViewDetailColumn; array[cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18204)] = listViewDetailColumn2; columns.AddRange(array); this.cee54c856c7e63e5fbea3d765715af7a0.Dock = (DockStyle)cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18208); this.cee54c856c7e63e5fbea3d765715af7a0.ItemSpacing = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18212); this.cee54c856c7e63e5fbea3d765715af7a0.Location = new Point(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18216), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18220)); this.cee54c856c7e63e5fbea3d765715af7a0.Name = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(66878); this.cee54c856c7e63e5fbea3d765715af7a0.Size = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18224), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18228)); this.cee54c856c7e63e5fbea3d765715af7a0.TabIndex = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18232); this.cee54c856c7e63e5fbea3d765715af7a0.Text = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(43485); this.cee54c856c7e63e5fbea3d765715af7a0.ThemeName = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(43564); this.cee54c856c7e63e5fbea3d765715af7a0.ViewType = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18236); this.c4553ed186725b714efcccc71bbe10a0f.Location = new Point(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18240), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18244)); this.c4553ed186725b714efcccc71bbe10a0f.Name = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(42280); this.c4553ed186725b714efcccc71bbe10a0f.Size = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18248), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18252)); this.c4553ed186725b714efcccc71bbe10a0f.TabIndex = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18256); this.c4553ed186725b714efcccc71bbe10a0f.Text = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(66897); this.c4553ed186725b714efcccc71bbe10a0f.ThemeName = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(43564); this.c4fdf528cc4655fdd2d6b81f0d1928e8e.Location = new Point(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18260), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18264)); this.c4fdf528cc4655fdd2d6b81f0d1928e8e.Name = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(42388); this.c4fdf528cc4655fdd2d6b81f0d1928e8e.Size = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18268), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18272)); this.c4fdf528cc4655fdd2d6b81f0d1928e8e.TabIndex = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18276); this.c4fdf528cc4655fdd2d6b81f0d1928e8e.ThemeName = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(43564); this.ceefeeb905146bf2684e227ccf9dcbb43.Dock = (DockStyle)cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18280); this.ceefeeb905146bf2684e227ccf9dcbb43.Location = new Point(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18284), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18288)); this.ceefeeb905146bf2684e227ccf9dcbb43.Name = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(66988); this.ceefeeb905146bf2684e227ccf9dcbb43.Size = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18292), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18296)); this.ceefeeb905146bf2684e227ccf9dcbb43.TabIndex = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18300); this.ceefeeb905146bf2684e227ccf9dcbb43.Text = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(67007); this.ceefeeb905146bf2684e227ccf9dcbb43.ThemeName = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(43564); this.ceefeeb905146bf2684e227ccf9dcbb43.Click += this.cfb9fd2addd333e8c28d4aff66027ee10; this.ca6c1cea062503a0a580756cf1f1f0961.AccessibleRole = (AccessibleRole)cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18304); this.ca6c1cea062503a0a580756cf1f1f0961.Controls.Add(this.c052ccf41a3ad1f787a00eeef2d674c87); this.ca6c1cea062503a0a580756cf1f1f0961.Controls.Add(this.c129f9645be9dc9fb646c5432e51db9a5); this.ca6c1cea062503a0a580756cf1f1f0961.Controls.Add(this.c362e39f066aef56acd25812b83e7da57); this.ca6c1cea062503a0a580756cf1f1f0961.Controls.Add(this.c4a31dd2abe6d27ce482d0a083dd7311f); this.ca6c1cea062503a0a580756cf1f1f0961.Controls.Add(this.c4553ed186725b714efcccc71bbe10a0f); this.ca6c1cea062503a0a580756cf1f1f0961.Dock = (DockStyle)cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18308); this.ca6c1cea062503a0a580756cf1f1f0961.HeaderText = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(49152); this.ca6c1cea062503a0a580756cf1f1f0961.Location = new Point(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18312), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18316)); this.ca6c1cea062503a0a580756cf1f1f0961.Name = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(48088); this.ca6c1cea062503a0a580756cf1f1f0961.Size = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18320), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18324)); this.ca6c1cea062503a0a580756cf1f1f0961.TabIndex = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18328); this.ca6c1cea062503a0a580756cf1f1f0961.Text = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(49152); this.ca6c1cea062503a0a580756cf1f1f0961.ThemeName = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(43564); this.c052ccf41a3ad1f787a00eeef2d674c87.Location = new Point(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18332), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18336)); this.c052ccf41a3ad1f787a00eeef2d674c87.Name = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(49484); this.c052ccf41a3ad1f787a00eeef2d674c87.Size = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18340), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18344)); this.c052ccf41a3ad1f787a00eeef2d674c87.TabIndex = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18348); this.c052ccf41a3ad1f787a00eeef2d674c87.Text = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(67020); this.c052ccf41a3ad1f787a00eeef2d674c87.ThemeName = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(43564); this.c129f9645be9dc9fb646c5432e51db9a5.Location = new Point(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18352), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18356)); this.c129f9645be9dc9fb646c5432e51db9a5.Name = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(62504); this.c129f9645be9dc9fb646c5432e51db9a5.Size = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18360), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18364)); this.c129f9645be9dc9fb646c5432e51db9a5.TabIndex = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18368); this.c129f9645be9dc9fb646c5432e51db9a5.Text = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(67147); this.c129f9645be9dc9fb646c5432e51db9a5.ThemeName = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(43564); this.c362e39f066aef56acd25812b83e7da57.ForeColor = Color.Red; this.c362e39f066aef56acd25812b83e7da57.Location = new Point(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18372), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18376)); this.c362e39f066aef56acd25812b83e7da57.Name = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(42983); this.c362e39f066aef56acd25812b83e7da57.Size = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18380), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18384)); this.c362e39f066aef56acd25812b83e7da57.TabIndex = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18388); this.c362e39f066aef56acd25812b83e7da57.Text = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(67299); this.c362e39f066aef56acd25812b83e7da57.ThemeName = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(43564); this.c4a31dd2abe6d27ce482d0a083dd7311f.Location = new Point(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18392), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18396)); this.c4a31dd2abe6d27ce482d0a083dd7311f.Name = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(42534); this.c4a31dd2abe6d27ce482d0a083dd7311f.Size = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18400), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18404)); this.c4a31dd2abe6d27ce482d0a083dd7311f.TabIndex = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18408); this.c4a31dd2abe6d27ce482d0a083dd7311f.Text = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(67418); this.c4a31dd2abe6d27ce482d0a083dd7311f.ThemeName = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(43564); this.c0e7bde0280df56351440f1954d87e7a9.Dock = (DockStyle)cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18412); this.c0e7bde0280df56351440f1954d87e7a9.Location = new Point(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18416), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18420)); this.c0e7bde0280df56351440f1954d87e7a9.Name = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(67505); this.c0e7bde0280df56351440f1954d87e7a9.Size = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18424), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18428)); this.c0e7bde0280df56351440f1954d87e7a9.TabIndex = cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18432); this.c0e7bde0280df56351440f1954d87e7a9.Text = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(67528); this.c0e7bde0280df56351440f1954d87e7a9.ThemeName = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(43564); this.c0e7bde0280df56351440f1954d87e7a9.Click += this.c46b6ded173670d3a80a210dd349eb95a; base.AutoScaleDimensions = new SizeF(cebbdeae8341a51f374f3ef4c993a069a.cabf61ab14a85b3360133efd96ff22140(18436), cebbdeae8341a51f374f3ef4c993a069a.cabf61ab14a85b3360133efd96ff22140(18440)); base.AutoScaleMode = (AutoScaleMode)cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18444); base.ClientSize = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18448), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18452)); base.Controls.Add(this.cee54c856c7e63e5fbea3d765715af7a0); base.Controls.Add(this.c0e7bde0280df56351440f1954d87e7a9); base.Controls.Add(this.ceefeeb905146bf2684e227ccf9dcbb43); base.Controls.Add(this.ca6c1cea062503a0a580756cf1f1f0961); base.Controls.Add(this.c4fdf528cc4655fdd2d6b81f0d1928e8e); base.Icon = ccd80025a308fe111a2b56a5a34e1a7e7.cd24593c859565ebb8c9faabbc5c75bef(componentResourceManager.GetObject(ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(43131))); this.MinimumSize = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18456), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18460)); base.Name = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(67549); base.Padding = new Padding(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18464)); base.RootElement.ApplyShapeToControl = (cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18468) != 0); base.RootElement.MaxSize = new Size(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18472), cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18476)); base.StartPosition = (FormStartPosition)cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18480); this.Text = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(67568); base.ThemeName = ceffa389ee86c0ee26f31dd3efacbdd38.c5dd75c94760bfb37727a44ddc794d278(43564); base.Load += this.cef36783c8274edea6244951ed1ea1b7e; this.cee54c856c7e63e5fbea3d765715af7a0.EndInit(); this.c4553ed186725b714efcccc71bbe10a0f.EndInit(); this.c4fdf528cc4655fdd2d6b81f0d1928e8e.EndInit(); this.ceefeeb905146bf2684e227ccf9dcbb43.EndInit(); this.ca6c1cea062503a0a580756cf1f1f0961.EndInit(); this.ca6c1cea062503a0a580756cf1f1f0961.ResumeLayout(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18484) != 0); this.ca6c1cea062503a0a580756cf1f1f0961.PerformLayout(); this.c052ccf41a3ad1f787a00eeef2d674c87.EndInit(); this.c129f9645be9dc9fb646c5432e51db9a5.EndInit(); this.c362e39f066aef56acd25812b83e7da57.EndInit(); this.c4a31dd2abe6d27ce482d0a083dd7311f.EndInit(); this.c0e7bde0280df56351440f1954d87e7a9.EndInit(); ((ISupportInitialize)this).EndInit(); base.ResumeLayout(cebbdeae8341a51f374f3ef4c993a069a.c6bc1c09ec46e3a402ca1f5ca208c573e(18488) != 0); base.PerformLayout(); }
private void InitializeComponent() { ListViewDetailColumn viewDetailColumn1 = new ListViewDetailColumn("Column 0", "Title"); ListViewDetailColumn viewDetailColumn2 = new ListViewDetailColumn("Column 1", "Status"); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmImport)); this.lstTitles = new RadCheckedListBox(); this.radLabel1 = new RadLabel(); this.radLabel2 = new RadLabel(); this.cmdImport = new RadButton(); this.radGroupBox1 = new RadGroupBox(); this.radLabel6 = new RadLabel(); this.radLabel5 = new RadLabel(); this.radLabel4 = new RadLabel(); this.radLabel3 = new RadLabel(); this.cmdCheckAll = new RadButton(); this.lstTitles.BeginInit(); this.radLabel1.BeginInit(); this.radLabel2.BeginInit(); this.cmdImport.BeginInit(); this.radGroupBox1.BeginInit(); this.radGroupBox1.SuspendLayout(); this.radLabel6.BeginInit(); this.radLabel5.BeginInit(); this.radLabel4.BeginInit(); this.radLabel3.BeginInit(); this.cmdCheckAll.BeginInit(); this.BeginInit(); this.SuspendLayout(); this.lstTitles.AllowRemove = false; viewDetailColumn1.HeaderText = "Title"; viewDetailColumn1.Width = 500f; viewDetailColumn2.HeaderText = "Status"; viewDetailColumn2.Width = 300f; this.lstTitles.Columns.AddRange(viewDetailColumn1, viewDetailColumn2); this.lstTitles.Dock = DockStyle.Fill; this.lstTitles.ItemSpacing = -1; this.lstTitles.Location = new Point(5, 95); this.lstTitles.Name = "lstTitles"; this.lstTitles.Size = new Size(836, 398); this.lstTitles.TabIndex = 1; this.lstTitles.Text = "\r\n"; this.lstTitles.ThemeName = "VisualStudio2012Dark"; this.lstTitles.ViewType = ListViewType.DetailsView; this.radLabel1.Location = new Point(188, 14); this.radLabel1.Name = "radLabel1"; this.radLabel1.Size = new Size(240, 18); this.radLabel1.TabIndex = 2; this.radLabel1.Text = "USB Helper has detected the following games. "; this.radLabel1.ThemeName = "VisualStudio2012Dark"; this.radLabel2.Location = new Point((int)byte.MaxValue, 8); this.radLabel2.Name = "radLabel2"; this.radLabel2.Size = new Size(2, 2); this.radLabel2.TabIndex = 3; this.radLabel2.ThemeName = "VisualStudio2012Dark"; this.cmdImport.Dock = DockStyle.Bottom; this.cmdImport.Location = new Point(5, 519); this.cmdImport.Name = "cmdImport"; this.cmdImport.Size = new Size(836, 26); this.cmdImport.TabIndex = 5; this.cmdImport.Text = "Import"; this.cmdImport.ThemeName = "VisualStudio2012Dark"; this.cmdImport.Click += new EventHandler(this.cmdImport_Click); this.radGroupBox1.AccessibleRole = AccessibleRole.Grouping; this.radGroupBox1.Controls.Add((Control)this.radLabel6); this.radGroupBox1.Controls.Add((Control)this.radLabel5); this.radGroupBox1.Controls.Add((Control)this.radLabel4); this.radGroupBox1.Controls.Add((Control)this.radLabel3); this.radGroupBox1.Controls.Add((Control)this.radLabel1); this.radGroupBox1.Dock = DockStyle.Top; this.radGroupBox1.HeaderText = "Info"; this.radGroupBox1.Location = new Point(5, 5); this.radGroupBox1.Name = "radGroupBox1"; this.radGroupBox1.Size = new Size(836, 90); this.radGroupBox1.TabIndex = 6; this.radGroupBox1.Text = "Info"; this.radGroupBox1.ThemeName = "VisualStudio2012Dark"; this.radLabel6.Location = new Point(188, 31); this.radLabel6.Name = "radLabel6"; this.radLabel6.Size = new Size(323, 18); this.radLabel6.TabIndex = 4; this.radLabel6.Text = "This will only work with games which already appear in the app."; this.radLabel6.ThemeName = "VisualStudio2012Dark"; this.radLabel5.Location = new Point(189, 48); this.radLabel5.Name = "radLabel5"; this.radLabel5.Size = new Size(367, 18); this.radLabel5.TabIndex = 3; this.radLabel5.Text = "If you have tickets which are not available on that site, please post them."; this.radLabel5.ThemeName = "VisualStudio2012Dark"; this.radLabel4.ForeColor = Color.Red; this.radLabel4.Location = new Point(188, 67); this.radLabel4.Name = "radLabel4"; this.radLabel4.Size = new Size(311, 18); this.radLabel4.TabIndex = 4; this.radLabel4.Text = "Caution, this will MOVE and RENAME the folders accordingly."; this.radLabel4.ThemeName = "VisualStudio2012Dark"; this.radLabel3.Location = new Point(424, 14); this.radLabel3.Name = "radLabel3"; this.radLabel3.Size = new Size(225, 18); this.radLabel3.TabIndex = 3; this.radLabel3.Text = " Please choose the ones you wish to import."; this.radLabel3.ThemeName = "VisualStudio2012Dark"; this.cmdCheckAll.Dock = DockStyle.Bottom; this.cmdCheckAll.Location = new Point(5, 493); this.cmdCheckAll.Name = "cmdCheckAll"; this.cmdCheckAll.Size = new Size(836, 26); this.cmdCheckAll.TabIndex = 6; this.cmdCheckAll.Text = "Select all"; this.cmdCheckAll.ThemeName = "VisualStudio2012Dark"; this.cmdCheckAll.Click += new EventHandler(this.cmdCheckAll_Click); this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(846, 550); this.Controls.Add((Control)this.lstTitles); this.Controls.Add((Control)this.cmdCheckAll); this.Controls.Add((Control)this.cmdImport); this.Controls.Add((Control)this.radGroupBox1); this.Controls.Add((Control)this.radLabel2); this.Icon = (Icon)componentResourceManager.GetObject("$this.Icon"); this.MinimumSize = new Size(479, 580); this.Name = nameof(FrmImport); this.Padding = new Padding(5); this.RootElement.ApplyShapeToControl = true; this.RootElement.MaxSize = new Size(0, 0); this.StartPosition = FormStartPosition.CenterParent; this.Text = "Import games"; this.ThemeName = "VisualStudio2012Dark"; this.Load += new EventHandler(this.FrmImport_Load); this.lstTitles.EndInit(); this.radLabel1.EndInit(); this.radLabel2.EndInit(); this.cmdImport.EndInit(); this.radGroupBox1.EndInit(); this.radGroupBox1.ResumeLayout(false); this.radGroupBox1.PerformLayout(); this.radLabel6.EndInit(); this.radLabel5.EndInit(); this.radLabel4.EndInit(); this.radLabel3.EndInit(); this.cmdCheckAll.EndInit(); this.EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Resizes the column. /// </summary> /// <param name="lv">The lv.</param> /// <param name="column">The column.</param> private void ResizeColumn(RadListView lv, ListViewDetailColumn column) { column.Width = lv.ClientRectangle.Width - lv.Margin.All - 15; }
public CustomDetailListViewDataCellElement(DetailListViewVisualItem owner, ListViewDetailColumn column) : base(owner, column) { }
public CustomWaiverProcessListViewCellElementReference(DetailListViewVisualItem owner, ListViewDetailColumn column) : base(owner, column) { }
private void cfb5cf413352ed4044535eb4a62d2e98f() { ListViewDetailColumn viewDetailColumn1 = new ListViewDetailColumn(c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(9583), c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(9600)); ListViewDetailColumn viewDetailColumn2 = new ListViewDetailColumn(c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(9609), c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(9626)); this.cb3c967a4e6cf495568653a52ceb14328 = new RadCheckedListBox(); this.c0176f1387d535312426e54c226ddcc7c = new RadButton(); this.c3768da1c9e17b9980d03acca3e5a19a9 = new RadButton(); ((ISupportInitialize)this.cb3c967a4e6cf495568653a52ceb14328).BeginInit(); ((ISupportInitialize)this.c0176f1387d535312426e54c226ddcc7c).BeginInit(); ((ISupportInitialize)this.c3768da1c9e17b9980d03acca3e5a19a9).BeginInit(); ((ISupportInitialize)this).BeginInit(); ((RadFormControlBase)this).SuspendLayout(); viewDetailColumn1.set_HeaderText(c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(9600)); viewDetailColumn2.set_HeaderText(c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(9626)); viewDetailColumn2.set_Width(cb85779efa5f9c78fa841b92dceca9094.c8c83a3807da60b9f032d40f2b5665e27(8140)); ListViewColumnCollection columns = ((RadListView)this.cb3c967a4e6cf495568653a52ceb14328).get_Columns(); ListViewDetailColumn[] viewDetailColumnArray = ccfba36ada6e0fbc3be319dd8ce6669d8.c27c941905305b0ff3e7324bc79625bf4(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8144)); int index1 = cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8148); ListViewDetailColumn viewDetailColumn3 = viewDetailColumn1; viewDetailColumnArray[index1] = viewDetailColumn3; int index2 = cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8152); ListViewDetailColumn viewDetailColumn4 = viewDetailColumn2; viewDetailColumnArray[index2] = viewDetailColumn4; columns.AddRange(viewDetailColumnArray); ((Control)this.cb3c967a4e6cf495568653a52ceb14328).Dock = (DockStyle)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8156); ((RadListView)this.cb3c967a4e6cf495568653a52ceb14328).set_ItemSpacing(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8160)); ((Control)this.cb3c967a4e6cf495568653a52ceb14328).Location = new Point(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8164), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8168)); ((Control)this.cb3c967a4e6cf495568653a52ceb14328).Name = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(9649); ((Control)this.cb3c967a4e6cf495568653a52ceb14328).Size = new Size(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8172), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8176)); ((Control)this.cb3c967a4e6cf495568653a52ceb14328).TabIndex = cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8180); ((Control)this.cb3c967a4e6cf495568653a52ceb14328).Text = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(9666); ((RadListView)this.cb3c967a4e6cf495568653a52ceb14328).set_ViewType((ListViewType)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8184)); ((Control)this.c0176f1387d535312426e54c226ddcc7c).Dock = (DockStyle)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8188); ((Control)this.c0176f1387d535312426e54c226ddcc7c).Location = new Point(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8192), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8196)); ((Control)this.c0176f1387d535312426e54c226ddcc7c).Name = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(9703); ((Control)this.c0176f1387d535312426e54c226ddcc7c).Size = new Size(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8200), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8204)); ((Control)this.c0176f1387d535312426e54c226ddcc7c).TabIndex = cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8208); ((Control)this.c0176f1387d535312426e54c226ddcc7c).Text = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(9722); ((Control)this.c0176f1387d535312426e54c226ddcc7c).Click += new EventHandler(this.c0b0ec230efcb9fd3edd68575d78901a4); ((Control)this.c3768da1c9e17b9980d03acca3e5a19a9).Dock = (DockStyle)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8212); ((Control)this.c3768da1c9e17b9980d03acca3e5a19a9).Location = new Point(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8216), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8220)); ((Control)this.c3768da1c9e17b9980d03acca3e5a19a9).Name = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(7473); ((Control)this.c3768da1c9e17b9980d03acca3e5a19a9).Size = new Size(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8224), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8228)); ((Control)this.c3768da1c9e17b9980d03acca3e5a19a9).TabIndex = cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8232); ((Control)this.c3768da1c9e17b9980d03acca3e5a19a9).Text = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(9737); ((Control)this.c3768da1c9e17b9980d03acca3e5a19a9).Click += new EventHandler(this.cd3ea5f6f49b3d27138c3508cc5d825bb); ((ContainerControl)this).AutoScaleDimensions = new SizeF(cb85779efa5f9c78fa841b92dceca9094.c8c83a3807da60b9f032d40f2b5665e27(8236), cb85779efa5f9c78fa841b92dceca9094.c8c83a3807da60b9f032d40f2b5665e27(8240)); ((RadFormControlBase)this).set_AutoScaleMode((AutoScaleMode)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8244)); ((Form)this).ClientSize = new Size(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8248), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8252)); ((Control)this).Controls.Add((Control)this.cb3c967a4e6cf495568653a52ceb14328); ((Control)this).Controls.Add((Control)this.c0176f1387d535312426e54c226ddcc7c); ((Control)this).Controls.Add((Control)this.c3768da1c9e17b9980d03acca3e5a19a9); ((RadFormControlBase)this).set_FormBorderStyle((FormBorderStyle)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8256)); ((Control)this).Name = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(9750); ((RadFormControlBase)this).get_RootElement().set_ApplyShapeToControl(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8260) != 0); this.set_ShowIcon(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8264) != 0); ((Form)this).StartPosition = (FormStartPosition)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8268); ((Control)this).Text = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(9775); ((Form)this).Load += new EventHandler(this.ceb162dd7db5d84f34ee6527e5849eccc); ((ISupportInitialize)this.cb3c967a4e6cf495568653a52ceb14328).EndInit(); ((ISupportInitialize)this.c0176f1387d535312426e54c226ddcc7c).EndInit(); ((ISupportInitialize)this.c3768da1c9e17b9980d03acca3e5a19a9).EndInit(); ((ISupportInitialize)this).EndInit(); ((RadFormControlBase)this).ResumeLayout(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8272) != 0); }
private void InitializeComponent() { ListViewDetailColumn viewDetailColumn1 = new ListViewDetailColumn("Column 0", "Title"); ListViewDetailColumn viewDetailColumn2 = new ListViewDetailColumn("Column 1", "Size on disk"); ListViewDetailColumn viewDetailColumn3 = new ListViewDetailColumn("Column 0", "Title"); ListViewDetailColumn viewDetailColumn4 = new ListViewDetailColumn("Column 1", "Size on disk"); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (frmAdvancedDiskManagement)); this.lstTitles = new RadListView(); this.cmdDelete = new RadButton(); this.lstEmuTitles = new RadListView(); this.cmdDeleteEmu = new RadButton(); this.radGroupBox1 = new RadGroupBox(); this.radSplitContainer1 = new RadSplitContainer(); this.splitPanel1 = new SplitPanel(); this.radGroupBox2 = new RadGroupBox(); this.radButton1 = new RadButton(); this.lblTotalRaw = new RadLabel(); this.radLabel1 = new RadLabel(); this.splitPanel2 = new SplitPanel(); this.radGroupBox3 = new RadGroupBox(); this.lblTotalEmu = new RadLabel(); this.radLabel2 = new RadLabel(); this.lstTitles.BeginInit(); this.cmdDelete.BeginInit(); this.lstEmuTitles.BeginInit(); this.cmdDeleteEmu.BeginInit(); this.radGroupBox1.BeginInit(); this.radGroupBox1.SuspendLayout(); this.radSplitContainer1.BeginInit(); this.radSplitContainer1.SuspendLayout(); this.splitPanel1.BeginInit(); this.splitPanel1.SuspendLayout(); this.radGroupBox2.BeginInit(); this.radGroupBox2.SuspendLayout(); this.radButton1.BeginInit(); this.lblTotalRaw.BeginInit(); this.radLabel1.BeginInit(); this.splitPanel2.BeginInit(); this.splitPanel2.SuspendLayout(); this.radGroupBox3.BeginInit(); this.radGroupBox3.SuspendLayout(); this.lblTotalEmu.BeginInit(); this.radLabel2.BeginInit(); this.BeginInit(); this.SuspendLayout(); viewDetailColumn1.HeaderText = "Title"; viewDetailColumn1.Width = 400f; viewDetailColumn2.HeaderText = "Size on disk"; this.lstTitles.Columns.AddRange(viewDetailColumn1, viewDetailColumn2); this.lstTitles.Dock = DockStyle.Fill; this.lstTitles.ItemSpacing = -1; this.lstTitles.Location = new Point(2, 120); this.lstTitles.Name = "lstTitles"; this.lstTitles.ShowGridLines = true; this.lstTitles.Size = new Size(726, 614); this.lstTitles.TabIndex = 1; this.lstTitles.Text = "radListView1"; this.lstTitles.ViewType = ListViewType.DetailsView; this.lstTitles.ItemRemoving += new ListViewItemCancelEventHandler(this.lstTitles_ItemRemoving); this.cmdDelete.Dock = DockStyle.Bottom; this.cmdDelete.Location = new Point(2, 764); this.cmdDelete.Name = "cmdDelete"; this.cmdDelete.Size = new Size(726, 24); this.cmdDelete.TabIndex = 2; this.cmdDelete.Text = "Delete"; this.cmdDelete.Click += new EventHandler(this.cmdDelete_Click); this.lstEmuTitles.AllowEdit = false; viewDetailColumn3.HeaderText = "Title"; viewDetailColumn3.Width = 400f; viewDetailColumn4.HeaderText = "Size on disk"; this.lstEmuTitles.Columns.AddRange(viewDetailColumn3, viewDetailColumn4); this.lstEmuTitles.Dock = DockStyle.Fill; this.lstEmuTitles.ItemSpacing = -1; this.lstEmuTitles.Location = new Point(2, 120); this.lstEmuTitles.Name = "lstEmuTitles"; this.lstEmuTitles.ShowGridLines = true; this.lstEmuTitles.Size = new Size(726, 614); this.lstEmuTitles.TabIndex = 3; this.lstEmuTitles.Text = "radListView1"; this.lstEmuTitles.ViewType = ListViewType.DetailsView; this.lstEmuTitles.ItemRemoving += new ListViewItemCancelEventHandler(this.lstEmuTitles_ItemRemoving); this.cmdDeleteEmu.Dock = DockStyle.Bottom; this.cmdDeleteEmu.Location = new Point(2, 764); this.cmdDeleteEmu.Name = "cmdDeleteEmu"; this.cmdDeleteEmu.Size = new Size(726, 24); this.cmdDeleteEmu.TabIndex = 3; this.cmdDeleteEmu.Text = "Delete"; this.cmdDeleteEmu.Click += new EventHandler(this.cmdDeleteEmu_Click); this.radGroupBox1.AccessibleRole = AccessibleRole.Grouping; this.radGroupBox1.Controls.Add((Control) this.radSplitContainer1); this.radGroupBox1.Dock = DockStyle.Fill; this.radGroupBox1.HeaderText = "Manage Data"; this.radGroupBox1.Location = new Point(0, 0); this.radGroupBox1.Name = "radGroupBox1"; this.radGroupBox1.Padding = new Padding(20); this.radGroupBox1.Size = new Size(1504, 830); this.radGroupBox1.TabIndex = 5; this.radGroupBox1.Text = "Manage Data"; this.radSplitContainer1.Controls.Add((Control) this.splitPanel1); this.radSplitContainer1.Controls.Add((Control) this.splitPanel2); this.radSplitContainer1.Dock = DockStyle.Fill; this.radSplitContainer1.Location = new Point(20, 20); this.radSplitContainer1.Name = "radSplitContainer1"; this.radSplitContainer1.RootElement.MinSize = new Size(25, 25); this.radSplitContainer1.Size = new Size(1464, 790); this.radSplitContainer1.TabIndex = 7; this.radSplitContainer1.TabStop = false; this.radSplitContainer1.Text = "radSplitContainer1"; this.splitPanel1.Controls.Add((Control) this.radGroupBox2); this.splitPanel1.Location = new Point(0, 0); this.splitPanel1.Name = "splitPanel1"; this.splitPanel1.RootElement.MinSize = new Size(25, 25); this.splitPanel1.Size = new Size(730, 790); this.splitPanel1.TabIndex = 0; this.splitPanel1.TabStop = false; this.splitPanel1.Text = "splitPanel1"; this.radGroupBox2.AccessibleRole = AccessibleRole.Grouping; this.radGroupBox2.Controls.Add((Control) this.radButton1); this.radGroupBox2.Controls.Add((Control) this.lstTitles); this.radGroupBox2.Controls.Add((Control) this.lblTotalRaw); this.radGroupBox2.Controls.Add((Control) this.cmdDelete); this.radGroupBox2.Controls.Add((Control) this.radLabel1); this.radGroupBox2.Dock = DockStyle.Fill; this.radGroupBox2.HeaderText = "Raw content"; this.radGroupBox2.Location = new Point(0, 0); this.radGroupBox2.Name = "radGroupBox2"; this.radGroupBox2.Size = new Size(730, 790); this.radGroupBox2.TabIndex = 6; this.radGroupBox2.Text = "Raw content"; this.radButton1.Dock = DockStyle.Bottom; this.radButton1.Location = new Point(2, 710); this.radButton1.Name = "radButton1"; this.radButton1.Size = new Size(726, 24); this.radButton1.TabIndex = 4; this.radButton1.Text = "Delete all useless data"; this.radButton1.Click += new EventHandler(this.radButton1_Click); this.lblTotalRaw.Dock = DockStyle.Bottom; this.lblTotalRaw.Font = new Font("Segoe UI", 14.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0); this.lblTotalRaw.Location = new Point(2, 734); this.lblTotalRaw.Name = "lblTotalRaw"; this.lblTotalRaw.Size = new Size(17, 30); this.lblTotalRaw.TabIndex = 3; this.lblTotalRaw.Text = "-"; this.radLabel1.AutoSize = false; this.radLabel1.Dock = DockStyle.Top; this.radLabel1.Location = new Point(2, 18); this.radLabel1.Name = "radLabel1"; this.radLabel1.Padding = new Padding(20, 0, 0, 0); this.radLabel1.Size = new Size(726, 102); this.radLabel1.TabIndex = 0; this.radLabel1.Text = componentResourceManager.GetString("radLabel1.Text"); this.splitPanel2.Controls.Add((Control) this.radGroupBox3); this.splitPanel2.Location = new Point(734, 0); this.splitPanel2.Name = "splitPanel2"; this.splitPanel2.RootElement.MinSize = new Size(25, 25); this.splitPanel2.Size = new Size(730, 790); this.splitPanel2.TabIndex = 1; this.splitPanel2.TabStop = false; this.splitPanel2.Text = "splitPanel2"; this.radGroupBox3.AccessibleRole = AccessibleRole.Grouping; this.radGroupBox3.Controls.Add((Control) this.lstEmuTitles); this.radGroupBox3.Controls.Add((Control) this.lblTotalEmu); this.radGroupBox3.Controls.Add((Control) this.radLabel2); this.radGroupBox3.Controls.Add((Control) this.cmdDeleteEmu); this.radGroupBox3.Dock = DockStyle.Fill; this.radGroupBox3.HeaderText = "Emulation Content"; this.radGroupBox3.Location = new Point(0, 0); this.radGroupBox3.Name = "radGroupBox3"; this.radGroupBox3.Size = new Size(730, 790); this.radGroupBox3.TabIndex = 6; this.radGroupBox3.Text = "Emulation Content"; this.lblTotalEmu.Dock = DockStyle.Bottom; this.lblTotalEmu.Font = new Font("Segoe UI", 14.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0); this.lblTotalEmu.Location = new Point(2, 734); this.lblTotalEmu.Name = "lblTotalEmu"; this.lblTotalEmu.Size = new Size(17, 30); this.lblTotalEmu.TabIndex = 4; this.lblTotalEmu.Text = "-"; this.radLabel2.AutoSize = false; this.radLabel2.Dock = DockStyle.Top; this.radLabel2.Location = new Point(2, 18); this.radLabel2.Name = "radLabel2"; this.radLabel2.Padding = new Padding(20, 0, 0, 0); this.radLabel2.Size = new Size(726, 102); this.radLabel2.TabIndex = 1; this.radLabel2.Text = "<html><p>We call 'Emulation' content files that have been unpacked/decrypted/converted from the RAW files.</p><p>This is the format emulators can use to play games.</p><p></p></html>"; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(1504, 830); this.Controls.Add((Control) this.radGroupBox1); this.Icon = (Icon) componentResourceManager.GetObject("$this.Icon"); this.Name = nameof (frmAdvancedDiskManagement); this.RootElement.ApplyShapeToControl = true; this.StartPosition = FormStartPosition.CenterScreen; this.Text = "Advanced Disk Space Manager"; this.lstTitles.EndInit(); this.cmdDelete.EndInit(); this.lstEmuTitles.EndInit(); this.cmdDeleteEmu.EndInit(); this.radGroupBox1.EndInit(); this.radGroupBox1.ResumeLayout(false); this.radSplitContainer1.EndInit(); this.radSplitContainer1.ResumeLayout(false); this.splitPanel1.EndInit(); this.splitPanel1.ResumeLayout(false); this.radGroupBox2.EndInit(); this.radGroupBox2.ResumeLayout(false); this.radGroupBox2.PerformLayout(); this.radButton1.EndInit(); this.lblTotalRaw.EndInit(); this.radLabel1.EndInit(); this.splitPanel2.EndInit(); this.splitPanel2.ResumeLayout(false); this.radGroupBox3.EndInit(); this.radGroupBox3.ResumeLayout(false); this.radGroupBox3.PerformLayout(); this.lblTotalEmu.EndInit(); this.radLabel2.EndInit(); this.EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { ListViewDetailColumn viewDetailColumn1 = new ListViewDetailColumn("Column 0", "Description"); ListViewDetailColumn viewDetailColumn2 = new ListViewDetailColumn("Column 1", "Date"); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmCommunitySaves)); this.lstSaves = new RadListView(); this.cmdUploadSave = new RadButton(); this.cmdImport = new RadButton(); this.radGroupBox1 = new RadGroupBox(); this.lblNoSaves = new RadLabel(); this.lstSaves.BeginInit(); this.lstSaves.SuspendLayout(); this.cmdUploadSave.BeginInit(); this.cmdImport.BeginInit(); this.radGroupBox1.BeginInit(); this.radGroupBox1.SuspendLayout(); this.lblNoSaves.BeginInit(); this.BeginInit(); this.SuspendLayout(); viewDetailColumn1.HeaderText = "Description"; viewDetailColumn1.Width = 600f; viewDetailColumn2.HeaderText = "Date"; this.lstSaves.Columns.AddRange(viewDetailColumn1, viewDetailColumn2); this.lstSaves.Controls.Add((Control)this.lblNoSaves); this.lstSaves.Dock = DockStyle.Fill; this.lstSaves.ItemSpacing = -1; this.lstSaves.Location = new Point(0, 0); this.lstSaves.Name = "lstSaves"; this.lstSaves.Size = new Size(938, 404); this.lstSaves.TabIndex = 0; this.lstSaves.Text = "radListView1"; this.lstSaves.ViewType = ListViewType.DetailsView; this.cmdUploadSave.Anchor = AnchorStyles.None; this.cmdUploadSave.Image = (Image)Class123.icnWebMini; this.cmdUploadSave.Location = new Point(482, 26); this.cmdUploadSave.Name = "cmdUploadSave"; this.cmdUploadSave.Size = new Size(203, 24); this.cmdUploadSave.TabIndex = 0; this.cmdUploadSave.Text = "Upload my own save"; this.cmdUploadSave.Click += new EventHandler(this.cmdUploadSave_Click); this.cmdImport.Anchor = AnchorStyles.None; this.cmdImport.Image = (Image)Class123.icnDownloadedMini; this.cmdImport.Location = new Point(253, 26); this.cmdImport.Name = "cmdImport"; this.cmdImport.Size = new Size(200, 24); this.cmdImport.TabIndex = 1; this.cmdImport.Text = "Import this save"; this.cmdImport.Click += new EventHandler(this.cmdImport_Click); this.radGroupBox1.AccessibleRole = AccessibleRole.Grouping; this.radGroupBox1.Controls.Add((Control)this.cmdImport); this.radGroupBox1.Controls.Add((Control)this.cmdUploadSave); this.radGroupBox1.Dock = DockStyle.Bottom; this.radGroupBox1.HeaderText = "Options"; this.radGroupBox1.Location = new Point(0, 404); this.radGroupBox1.Name = "radGroupBox1"; this.radGroupBox1.Size = new Size(938, 63); this.radGroupBox1.TabIndex = 1; this.radGroupBox1.Text = "Options"; this.lblNoSaves.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.lblNoSaves.AutoSize = false; this.lblNoSaves.Location = new Point(0, 0); this.lblNoSaves.Name = "lblNoSaves"; this.lblNoSaves.Size = new Size(938, 404); this.lblNoSaves.TabIndex = 0; this.lblNoSaves.Text = "No saves are available at the moment, why not share your own?"; this.lblNoSaves.TextAlignment = ContentAlignment.MiddleCenter; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(938, 467); this.Controls.Add((Control)this.lstSaves); this.Controls.Add((Control)this.radGroupBox1); this.Icon = (Icon)componentResourceManager.GetObject("$this.Icon"); this.Name = nameof(frmCommunitySaves); this.RootElement.ApplyShapeToControl = true; this.StartPosition = FormStartPosition.CenterScreen; this.Text = "Community Saves"; this.lstSaves.EndInit(); this.lstSaves.ResumeLayout(false); this.cmdUploadSave.EndInit(); this.cmdImport.EndInit(); this.radGroupBox1.EndInit(); this.radGroupBox1.ResumeLayout(false); this.lblNoSaves.EndInit(); this.EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { ListViewDetailColumn viewDetailColumn1 = new ListViewDetailColumn("Column 0", "Game"); ListViewDetailColumn viewDetailColumn2 = new ListViewDetailColumn("Column 1", "Date"); ListViewDetailColumn viewDetailColumn3 = new ListViewDetailColumn("Column 2", "Size"); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmManageCloudSaves)); this.lstSaves = new RadListView(); this.radGroupBox1 = new RadGroupBox(); this.cmdDelete = new RadButton(); this.lstSaves.BeginInit(); this.radGroupBox1.BeginInit(); this.radGroupBox1.SuspendLayout(); this.cmdDelete.BeginInit(); this.BeginInit(); this.SuspendLayout(); this.lstSaves.AllowEdit = false; this.lstSaves.AllowRemove = false; viewDetailColumn1.HeaderText = "Game"; viewDetailColumn1.Width = 400f; viewDetailColumn2.HeaderText = "Date"; viewDetailColumn3.HeaderText = "Size"; this.lstSaves.Columns.AddRange(viewDetailColumn1, viewDetailColumn2, viewDetailColumn3); this.lstSaves.Dock = DockStyle.Fill; this.lstSaves.ItemSpacing = -1; this.lstSaves.Location = new Point(0, 0); this.lstSaves.Name = "lstSaves"; this.lstSaves.Size = new Size(808, 482); this.lstSaves.TabIndex = 0; this.lstSaves.Text = "radListView1"; this.lstSaves.ViewType = ListViewType.DetailsView; this.lstSaves.SelectedItemChanged += new EventHandler(this.lstSaves_SelectedItemChanged); this.radGroupBox1.AccessibleRole = AccessibleRole.Grouping; this.radGroupBox1.Controls.Add((Control)this.cmdDelete); this.radGroupBox1.Dock = DockStyle.Bottom; this.radGroupBox1.HeaderText = "Actions"; this.radGroupBox1.Location = new Point(0, 482); this.radGroupBox1.Name = "radGroupBox1"; this.radGroupBox1.Size = new Size(808, 57); this.radGroupBox1.TabIndex = 0; this.radGroupBox1.Text = "Actions"; this.cmdDelete.Location = new Point(5, 28); this.cmdDelete.Name = "cmdDelete"; this.cmdDelete.Size = new Size(177, 24); this.cmdDelete.TabIndex = 0; this.cmdDelete.Text = "Delete the save from the cloud"; this.cmdDelete.Click += new EventHandler(this.cmdDelete_Click); this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(808, 539); this.Controls.Add((Control)this.lstSaves); this.Controls.Add((Control)this.radGroupBox1); this.Icon = (Icon)componentResourceManager.GetObject("$this.Icon"); this.Name = nameof(frmManageCloudSaves); this.RootElement.ApplyShapeToControl = true; this.StartPosition = FormStartPosition.CenterScreen; this.Text = "Manage my saves"; this.lstSaves.EndInit(); this.radGroupBox1.EndInit(); this.radGroupBox1.ResumeLayout(false); this.cmdDelete.EndInit(); this.EndInit(); this.ResumeLayout(false); }
private void RefreshDataProductTotal() { //Clear display list displayList.Items.Clear(); displayList.Columns.Clear(); try { string sQuery = "Select * From producttotal Where (tanggal ='" + dtpTanggal.Value.ToString("yyyy-MM-dd") + "' or tanggal = '" + dtpEndDate.Value.ToString("yyyy-MM-dd") + "') and baseid in (Select baseid from productbase where productid =" + rddProduct.SelectedValue.ToString() + ")"; MySqlConnection oConn = new MySqlConnection(ConfigurationManager.ConnectionStrings["NB.Properties.Settings.sinarekConnectionString"].ConnectionString); MySqlCommand oCom = new MySqlCommand(sQuery, oConn); MySqlDataAdapter adapt = new MySqlDataAdapter(oCom); DataTable productTotal = new DataTable(); adapt.Fill(productTotal); //Get data awal //sQuery = "Select baseid from vproductbase where productid =" + rddProduct.SelectedValue.ToString(); string sColumnQuery = "Select Distinct unitid,Short from vproductbase where productid =" + rddProduct.SelectedValue.ToString() + " order by convrate desc "; DataTable tipeProduct = new DataTable(); oCom.CommandText = sColumnQuery; adapt.Fill(tipeProduct); //Create column for each product type displayList.Columns.Add(new ListViewDetailColumn("TransactionType", "")); ListViewDataItem awalItem = new ListViewDataItem("AWAL"); ListViewDataItem akhirItem = new ListViewDataItem("AKHIR"); awalItem.TextAlignment = ContentAlignment.MiddleCenter; awalItem[displayList.Columns[0]] = "SALDO AWAL As of " + dtpTanggal.Value.ToString("dd MMM yyy"); akhirItem.TextAlignment = ContentAlignment.MiddleCenter; akhirItem[displayList.Columns[0]] = "SALDO AKHIR As of " + dtpEndDate.Value.ToString("dd MMM yyy"); var i = 1; foreach (DataRow row in tipeProduct.Rows) { ListViewDetailColumn col = new ListViewDetailColumn(row["short"].ToString(), row["short"].ToString()); //col.PropertyValues displayList.Columns.Add(col); //get saldo awal dan akhir using (sinarekDataSetTableAdapters.QueriesTableAdapter query = new sinarekDataSetTableAdapters.QueriesTableAdapter()) { //get data awal dan akhir string baseID = query.GetBaseID(int.Parse(rddProduct.SelectedValue.ToString()) , int.Parse(row["unitid"].ToString())).ToString(); //get awal var res = query.pGetSaldoProductBase(int.Parse(baseID), dtpTanggal.Value.ToString("yyyy-MM-dd"), "AWAL"); string awal = (res == null ? "No DATA" : res.ToString()); awalItem[displayList.Columns[i]] = awal; res = query.pGetSaldoProductBase(int.Parse(baseID), dtpEndDate.Value.ToString("yyyy-MM-dd"), "AKHIR"); string akhir = (res == null ? "No DATA" : res.ToString()); akhirItem[displayList.Columns[i]] = akhir; } i++; } displayList.Items.Add(awalItem); displayList.Items.Add(akhirItem); } catch (Exception ex) { helper.ErrorMessage(ex.Message + ex.StackTrace); } }