public VariablesWindow(IReadOnlyDictionary<string, string> Variables) { InitializeComponent(); ListViewGroup CurrentProjectGroup = new ListViewGroup("Current Project"); MacrosList.Groups.Add(CurrentProjectGroup); ListViewGroup EnvironmentGroup = new ListViewGroup("Environment"); MacrosList.Groups.Add(EnvironmentGroup); foreach(KeyValuePair<string, string> Pair in Variables) { ListViewItem Item = new ListViewItem(String.Format("$({0})", Pair.Key)); Item.SubItems.Add(Pair.Value); Item.Group = CurrentProjectGroup; MacrosList.Items.Add(Item); } foreach(DictionaryEntry Entry in Environment.GetEnvironmentVariables()) { string Key = Entry.Key.ToString(); if(!Variables.ContainsKey(Key)) { ListViewItem Item = new ListViewItem(String.Format("$({0})", Key)); Item.SubItems.Add(Entry.Value.ToString()); Item.Group = EnvironmentGroup; MacrosList.Items.Add(Item); } } }
ListViewGroup FindGroup(Guid company_id, string group_name) { ListViewGroup grp = null; if ( this.lvVendors.Groups.Count == 0 ) { grp = new ListViewGroup(Guid.Empty.ToString(), ""); this.lvVendors.Groups.Add(grp); grp = null; } foreach (ListViewGroup g in this.lvVendors.Groups) { if (g.Header == group_name) { grp = g; break; } } if (grp == null) { if (company_id == Guid.Empty) grp = this.lvVendors.Groups[0]; else { grp = new ListViewGroup(company_id.ToString(), group_name); this.lvVendors.Groups.Add(grp); } } return grp; }
public WelcomeWizard(AddInSettings settings) { InitializeComponent(); m_settings = settings; wizard1.CancelEnabled = false; envGroupMaven2 = lstEnvironment.Groups.Add("Maven 2", "Maven 2"); envGroupJava = lstEnvironment.Groups.Add("Java 5", "Java 5"); envGroupUmlTools = lstEnvironment.Groups.Add("UML Tools", "UML Tools"); //envGroupMaven1 = lstEnvironment.Groups.Add("Maven 1 (optional)", "Maven 1 (optional)"); itemMaven2Install = new Maven2InstallCheck(envGroupMaven2); itemMaven2SettingsXml = new Maven2SettingsCheck(envGroupMaven2, m_settings); itemJavaHome = new JavaHomeCheck(envGroupJava); itemJRE = new JRECheck(envGroupJava); itemMagicDraw = new UmlModelerCheck(envGroupUmlTools, m_settings); //itemMaven1Install = new Maven1InstallCheck(envGroupMaven1); //itemMavenHomeCheck = new MavenHomeCheck(envGroupMaven1); //itemMaven1BuildProperties = new Maven1SettingsCheck(envGroupMaven1, m_settings); lstEnvironment.Items.AddRange(new ListViewItem[] { itemMaven2Install, itemMaven2SettingsXml, itemJavaHome, itemJRE, itemMagicDraw //itemMavenHomeCheck, //itemMaven1Install, //itemMaven1BuildProperties, }); }
public void Load_Household_DataSet() { Task.Run(() => { this.Invoke((System.Action)(() => { string path = System.Windows.Forms.Application.StartupPath + @"\household_uid\household_uid.csv"; StreamReader sr = new StreamReader(path, Encoding.GetEncoding("euc-kr")); System.Windows.Forms.ListViewGroup UIDGroup = new System.Windows.Forms.ListViewGroup("UID", System.Windows.Forms.HorizontalAlignment.Left); UIDGroup.Header = "UID"; UIDGroup.Name = "UIDGroup"; this.UIDListView.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { UIDGroup }); while (!sr.EndOfStream) { string line = sr.ReadLine(); System.Windows.Forms.ListViewItem uidItem = new System.Windows.Forms.ListViewItem(line); uidItem.Group = UIDGroup; this.UIDListView.Items.Add(uidItem); } sr.Close(); })); }); this.UIDContainer.Controls.Clear(); this.UIDContainer.Controls.Add(this.UIDListView); }
private void button1_Click(object sender, EventArgs e) { foreach (var l in listeners) { l.Stop(); } listeners.Clear(); listView1.Groups.Clear(); listView1.Items.Clear(); foreach (var site in sites) { var servers = site.GetServers(); var grp = new ListViewGroup(site.GetType().Name); listView1.Groups.Add(grp); foreach (var svc in servers) { var item = new ListViewItem(new string[] { svc.server, svc.server_port.ToString(), svc.password, svc.method }, grp); item.Tag = null; listView1.Items.Add(item); } } }
/// <summary> /// Initializes the list view item groups /// </summary> private void InitializeItemGroups() { String argumentHeader = TextHelper.GetString("Group.Arguments"); this.argumentGroup = new ListViewGroup(argumentHeader, HorizontalAlignment.Left); this.argsListView.Groups.Add(this.argumentGroup); }
public LvwItem(ChangeItem item, ListViewGroup grp) { Text = item.FileName; SubItems.AddRange(new string[] { item.RelPath, "todo", "todo", item.Change.ToString() }); Group = grp; }
public PropertyPane() { InitializeComponent(); ResetComponent(); // Load form elements System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly(); _buttonAddProp.Image = Image.FromStream(assembly.GetManifestResourceStream("Treefrog.Icons._16.tag--plus.png")); _buttonRemoveProp.Image = Image.FromStream(assembly.GetManifestResourceStream("Treefrog.Icons._16.tag--minus.png")); // Setup control _groupPredefined = new ListViewGroup("Predefined Properties"); _groupCustom = new ListViewGroup("Custom Properties"); _propertyList.Groups.Add(_groupPredefined); _propertyList.Groups.Add(_groupCustom); // Wire events _propertyList.SubItemClicked += PropertyListSubItemClickHandler; _propertyList.SubItemEndEditing += PropertyListEndEditingHandler; _propertyList.SelectedIndexChanged += PropertyListSelectionHandler; _propertyList.SubItemReset += PropertyListResetHandler; _buttonAddProp.Click += ButtonAddPropClickHandler; _buttonRemoveProp.Click += ButtonRemovePropClickHandler; }
public ListaVendaComissão() { InitializeComponent(); lst.Columns.Clear(); lst.Columns.Add(colCódigoVenda); lst.Columns.Add(colData); lst.Columns.Add(colVendedor); lst.Columns.Add(colCliente); lst.Columns.Add(colComissaoPara); lst.Columns.Add(colSetor); lst.Columns.Add(colValorVenda); lst.Columns.Add(colValorComissão); EnumRegra[] tipos = (EnumRegra[]) Enum.GetValues(typeof(EnumRegra)); hashRegraGrupo = new Dictionary<EnumRegra, ListViewGroup>(tipos.Length); lock (hashRegraGrupo) { foreach (EnumRegra tipo in tipos) { ListViewGroup grupo = new ListViewGroup(tipo.ToString()); lst.Groups.Add(grupo); hashRegraGrupo[tipo] = grupo; } } ordenador = new ListViewColumnSorter(); lst.ListViewItemSorter = ordenador; }
/// <summary> /// Create a new ListViewGroup and assign to the current listview /// </summary> /// <param name="doc"></param> public void CreateDocument( ITabbedDocument doc ) { ListViewGroup group = new ListViewGroup(); Hashtable table = new Hashtable(); table["FileName"] = doc.FileName; table["Document"] = doc; table["Markers"] = new List<int>(); table["Parsed"] = false; group.Header = Path.GetFileName(doc.FileName); group.Tag = table; group.Name = doc.FileName; this.listView1.BeginUpdate(); this.listView1.Groups.Add(group); this.listView1.EndUpdate(); TagTimer timer = new TagTimer(); timer.AutoReset = true; timer.SynchronizingObject = this; timer.Interval = 200; timer.Elapsed += new System.Timers.ElapsedEventHandler(timer_Elapsed); timer.Tag = group; timer.Start(); }
public void AddComps(string[] computers) { ListViewComps.Items.Clear(); ListViewGroup OnlineGroup = new ListViewGroup("ONLINE"); ListViewComps.Groups.Add(OnlineGroup); ListViewGroup OfflineGroup = new ListViewGroup("OFFLINE"); ListViewComps.Groups.Add(OfflineGroup); foreach (string comp in computers) { string[] details = comp.Split('&'); if (details.Length == 3) { if (details[2] == "Online") { ListViewComps.Items.Add(new ListViewItem(details, OnlineGroup)); } if (details[2] == "Offline") { ListViewComps.Items.Add(new ListViewItem(details, OfflineGroup)); } } } }
private void RefreshStatus() { string sname, tname; ListViewGroup lvg; ListViewItem lvItem; BaseConf pf = ch.pf; listView1.Items.Clear(); foreach (KeyValuePair <String, Dictionary <string, Boolean> > element in ch.lpath) { sname = System.IO.Path.GetDirectoryName(element.Key); tname = sname.Replace(pf.WorkSpace, ""); lvg = new System.Windows.Forms.ListViewGroup(tname + " [" + ch.lver[element.Key] + "]", System.Windows.Forms.HorizontalAlignment.Left); lvg.Tag = element.Key; listView1.Groups.Add(lvg); foreach (KeyValuePair <string, Boolean> le in element.Value) { if (le.Value == false) { continue; } lvItem = new ListViewItem(le.Key.Replace(sname, "")); lvItem.SubItems.Add(Enum.GetName(typeof(SharpSvn.SvnStatus), (ch.lstatus[element.Key])[le.Key])); lvItem.Tag = le.Key; lvItem.Checked = true; lvItem.Group = lvg; listView1.Items.Add(lvItem); } } }
public ListViewItem CreateItem(object pContainer, string strPropertyName, ListView lvList, ListViewGroup lvgContainer, string strDisplayString) { if(pContainer == null) throw new ArgumentNullException("pContainer"); if(strPropertyName == null) throw new ArgumentNullException("strPropertyName"); if(strPropertyName.Length == 0) throw new ArgumentException(); if(lvList == null) throw new ArgumentNullException("lvList"); if(strDisplayString == null) throw new ArgumentNullException("strDisplayString"); Type t = pContainer.GetType(); PropertyInfo pi = t.GetProperty(strPropertyName); if((pi == null) || (pi.PropertyType != typeof(bool)) || (pi.CanRead == false) || (pi.CanWrite == false)) throw new ArgumentException(); ListViewItem lvi = new ListViewItem(strDisplayString); if(lvgContainer != null) { lvi.Group = lvgContainer; Debug.Assert(lvgContainer.Items.IndexOf(lvi) >= 0); } lvList.Items.Add(lvi); m_vObjects.Add(pContainer); m_vProperties.Add(pi); m_vListViewItems.Add(lvi); return lvi; }
private static bool GetState(ListViewGroup group, LVGS state) { bool flag; int groupId = GetGroupId(group); if (groupId < 0) { return false; } IntPtr ptr = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(Microsoft.Win32.LVGROUP))); try { Microsoft.Win32.LVGROUP.SetMask(ptr, LVGF.LVGF_NONE | LVGF.LVGF_GROUPID | LVGF.LVGF_STATE, true); Microsoft.Win32.LVGROUP.SetGroupId(ptr, groupId); Microsoft.Win32.LVGROUP.SetStateMask(ptr, state, true); if (((int) Windows.SendMessage(group.ListView.Handle, 0x1095, (IntPtr) groupId, ptr)) >= 0) { return ((Microsoft.Win32.LVGROUP.GetState(ptr) & state) > LVGS.LVGS_NORMAL); } flag = false; } finally { Marshal.FreeHGlobal(ptr); } return flag; }
private void HienThi() { // cbDanhMuc.Items.Clear(); lvSanPham.Items.Clear(); foreach (DanhMuc dm in khoHang) { //Đưa danh mục vào commobox cbDanhMuc.Items.Add(dm); //Đưa sản phẩm vào listview //- Tạo group System.Windows.Forms.ListViewGroup LVG = new System.Windows.Forms.ListViewGroup(dm.tenDM, System.Windows.Forms.HorizontalAlignment.Left); lvSanPham.Groups.Add(LVG); foreach (SanPham sp in dm.sanPhams) { //Tạo dòng listview item ListViewItem item = new ListViewItem(sp.maSP); item.SubItems.Add(sp.tenSP); item.SubItems.Add(sp.gia + ""); item.Group = LVG; lvSanPham.Items.Add(item); } } }
public PropertyPane() { InitializeComponent(); ResetComponent(); // Load form elements _buttonAddProp.Image = Properties.Resources.TagPlus; _buttonRemoveProp.Image = Properties.Resources.TagMinus; // Setup control _groupPredefined = new ListViewGroup("Special Properties"); _groupInherited = new ListViewGroup("Inherited Properties"); _groupCustom = new ListViewGroup("Custom Properties"); _propertyList.Groups.Add(_groupPredefined); _propertyList.Groups.Add(_groupInherited); _propertyList.Groups.Add(_groupCustom); // Wire events _propertyList.SubItemClicked += PropertyListSubItemClickHandler; _propertyList.SubItemEndEditing += PropertyListEndEditingHandler; _propertyList.SelectedIndexChanged += PropertyListSelectionHandler; _propertyList.SubItemReset += PropertyListResetHandler; _buttonAddProp.Click += ButtonAddPropClickHandler; _buttonRemoveProp.Click += ButtonRemovePropClickHandler; }
protected void FillUpProducts() { this.lvProducts.Items.Clear(); this.lvProducts.Groups.Clear(); int cur_cat = -1; System.Windows.Forms.ListViewGroup lvg = null; foreach (DataRow row in this.products.Rows) { string cat_name = ""; int cat = -1; System.Windows.Forms.ListViewItem lvi = new ListViewItem(); if (!System.Convert.IsDBNull(row["Category"]) && !System.Convert.IsDBNull(row["CategoryName"])) { cat = (int)row["Category"]; cat_name = (string)row["CategoryName"]; } if (cat != cur_cat) { lvg = new System.Windows.Forms.ListViewGroup(cat_name); this.lvProducts.Groups.Add(lvg); cur_cat = cat; } lvi.Group = lvg; lvi.Name = ((int)row["ProductID"]).ToString(); lvi.Text = (string)row["ProductName"]; lvi.Tag = row; this.lvProducts.Items.Add(lvi); } }
public GameEntitiesList() { InitializeComponent(); foreach (Type t in typeof(Client.Game.Map.Map).Assembly.GetTypes()) { string group = ""; bool deployable = false; foreach (var v in Attribute.GetCustomAttributes(t, true)) if (v is Client.Game.Map.EditorDeployableAttribute) { deployable = true; group = ((Client.Game.Map.EditorDeployableAttribute)v).Group; break; } if (group == null) group = ""; ListViewGroup g; if(!groups.TryGetValue(group, out g)) { entitiesListView.Groups.Add(g = new ListViewGroup { Header = group }); groups.Add(group, g); } if (deployable) entitiesListView.Items.Add(new ListViewItem { Text = t.Name, Tag = t, Group = g }); } entitiesListView.SelectedIndexChanged += new EventHandler(entitiesListView_SelectedIndexChanged); }
public FrmSeleccionFotos(GI.BR.Propiedades.Propiedades Propiedades) : this() { listView1.BeginUpdate(); ListViewGroup lvg; ImageList imgList = new ImageList(); imgList.ImageSize = new Size(100, 100); listView1.LargeImageList = imgList; ListViewItem item; int i = 0; foreach (GI.BR.Propiedades.Propiedad p in Propiedades) { lvg = new ListViewGroup("Fotos de Propiedad " + p.Codigo); lvg.Tag = p; listView1.Groups.Add(lvg); foreach (GI.BR.Propiedades.Galeria.Foto foto in p.GaleriaFotos) { item = new ListViewItem(foto.Descripcion); item.Tag = foto; item.Group = lvg; imgList.Images.Add(foto.Imagen); item.ImageIndex = i++; listView1.Items.Add(item); } } listView1.EndUpdate(); }
ListViewGroupCollection() { list = new List<ListViewGroup> (); default_group = new ListViewGroup ("Default Group"); default_group.IsDefault = true; }
public ListViewItem ToItem(DataSet1.PlaylistRow row) { ListViewGroup in_group = null; string group_name = (row.artist ?? "") + " - " + (row.album ?? ""); foreach (ListViewGroup group in listViewTracks.Groups) { if (group.Name == group_name) { in_group = group; break; } } if (in_group == null) { in_group = new ListViewGroup(group_name, group_name); listViewTracks.Groups.Add(in_group); } int iconIndex = _icon_mgr.GetIconIndex(new FileInfo(row.path), true); ListViewItem item = new ListViewItem(row.title, iconIndex); TimeSpan Length = TimeSpan.FromSeconds(row.length); string lenStr = string.Format("{0:d}.{1:d2}:{2:d2}:{3:d2}", Length.Days, Length.Hours, Length.Minutes, Length.Seconds).TrimStart('0', ':', '.'); item.SubItems.Add(new ListViewItem.ListViewSubItem(item, lenStr)); item.Group = in_group; item.Tag = row; return item; }
protected void BindFiles() { listFiles.Items.Clear(); listFiles.Groups.Clear(); foreach (var file in activeReader.Files) { var seperatorPos = file.StrName.LastIndexOf("/", System.StringComparison.Ordinal); if (seperatorPos <= 0) continue; var vdir = file.StrName.Substring(0, seperatorPos); var group = listFiles.Groups[vdir]; if (@group == null) { @group = new ListViewGroup(vdir, vdir); listFiles.Groups.Add(@group); } var item = new ListViewItem(file.StrName.Substring(seperatorPos + 1)) { Tag = file, Group = @group }; @group.Items.Add(item); listFiles.Items.Add(item); } listFiles.Sort(); }
public void insertItem(ListViewGroup group, String category) { DataRow[] rows = mainFrm.baseAssets.getRowsbyCategory(category); listView1.Items.Clear(); for (int i = 0; i < rows.Length; i++) { int id = int.Parse(rows[i]["base_id"].ToString()); String name = rows[i]["filename"].ToString(); String cat_name = rows[i]["main_cat"].ToString(); String newName = "null"; //Check to see if we have a file name, and substring it to create our new filename. if (name.Contains(".w3d") || name.Contains(".W3D")) { String cutName = name.Remove(name.Length - 4); newName = cutName + ".jpg"; } //Add the item. ListViewItem listViewItem1 = new ListViewItem("ID: " + id, newName); listViewItem1.Group = group; this.listView1.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1 }); } }
private static int GetGroupId(ListViewGroup group) { if (GroupIdProperty == null) { GroupIdProperty = typeof(ListViewGroup).GetProperty("ID", BindingFlags.NonPublic | BindingFlags.Instance); } return ((GroupIdProperty != null) ? ((int) GroupIdProperty.GetValue(group, null)) : -1); }
public bool IsExpandedGroup(ListViewGroup grp) { int? i = GetGroupID(grp); if (i != null) return GetGrpState((int)i) == Win32.GROUPSTATE.EXPANDED; else return false; }
public PerformanceCounterViewItem(string name, ListViewGroup group, PerformanceCounterItem counter) : base(new string[4]) { this.counter = counter; this.SubItems[0].Text = name; this.Group = group; this.Update(); }
private void CreateGroupsInListView() { listView.Groups.Clear(); foreach (string group in _options.GroupStrings.Split( new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries)) { ListViewGroup lvg = new ListViewGroup(group.Replace(" ", "_"), group); listView.Groups.Add(lvg); } }
/// <summary> /// Initializes the setting object groups /// </summary> private void InitializeItemGroups() { String mainHeader = TextHelper.GetString("Group.Main"); String pluginsHeader = TextHelper.GetString("Group.Plugins"); this.mainGroup = new ListViewGroup(mainHeader, HorizontalAlignment.Left); this.pluginsGroup = new ListViewGroup(pluginsHeader, HorizontalAlignment.Left); this.itemListView.Groups.Add(this.mainGroup); this.itemListView.Groups.Add(this.pluginsGroup); }
public void AoExibirDaPrimeiraVez(Apresentação.Formulários.BaseInferior baseInferior) { var setores = Setor.ObterSetores(); hashSetorGrupo = new Dictionary<Setor, ListViewGroup>(setores.Count); foreach (Setor s in setores) { ListViewGroup grupo = new ListViewGroup(s.Nome); hashSetorGrupo.Add(s, grupo); lst.Groups.Add(grupo); } }
private void AddListViewItem(string endpoint, ApiLimit apiLimit, ListViewGroup group) { var item = new ListViewItem( new string[] { endpoint, apiLimit.AccessLimitRemain + "/" + apiLimit.AccessLimitCount, apiLimit.AccessLimitResetDate.ToString() }); item.Group = group; this.ListViewApi.Items.Add(item); }
public void AddTest () { ListViewGroup group1 = new ListViewGroup ("Item1"); ListViewGroup group2 = new ListViewGroup ("Item2"); grpCol.Add (group1); grpCol.Add (group2); Assert.AreEqual (2, grpCol.Count, "#B1"); Assert.AreEqual (lv, group1.ListView, "#B2"); Assert.AreEqual (lv, group2.ListView, "#B2"); }
private ListViewGroup GetGroup(string name) { foreach (ListViewGroup group in this.ShapesListView.Groups) { if (group.Name.Equals(name, StringComparison.CurrentCultureIgnoreCase)) return group; } ListViewGroup g = new ListViewGroup(name, name); this.ShapesListView.Groups.Add(g); return g; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("Admin", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("User", System.Windows.Forms.HorizontalAlignment.Left); this.userListView = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.SuspendLayout(); // // userListView // this.userListView.Activation = System.Windows.Forms.ItemActivation.OneClick; this.userListView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.userListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader3 }); this.userListView.Dock = System.Windows.Forms.DockStyle.Fill; this.userListView.FullRowSelect = true; this.userListView.GridLines = true; listViewGroup1.Header = "Admin"; listViewGroup1.Name = "listViewGroup1"; listViewGroup2.Header = "User"; listViewGroup2.Name = "listViewGroup2"; this.userListView.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup1, listViewGroup2 }); this.userListView.Location = new System.Drawing.Point(0, 0); this.userListView.Name = "userListView"; this.userListView.Size = new System.Drawing.Size(63, 329); this.userListView.Sorting = System.Windows.Forms.SortOrder.Ascending; this.userListView.TabIndex = 2; this.userListView.TileSize = new System.Drawing.Size(188, 34); this.userListView.UseCompatibleStateImageBehavior = false; this.userListView.View = System.Windows.Forms.View.Tile; this.userListView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.OnClick); // // columnHeader1 // this.columnHeader1.Text = "Nick"; // // columnHeader3 // this.columnHeader3.Text = "Status"; // // UserList // this.Controls.Add(this.userListView); this.Name = "UserList"; this.Size = new System.Drawing.Size(63, 329); this.ResumeLayout(false); }
SmartGroup(SmartListView listView, ListViewGroup group) { if (listView == null) throw new ArgumentNullException("listView"); else if (group == null) throw new ArgumentNullException("group"); Debug.Assert(group.Tag == null); _lv = listView; _group = group; _group.Tag = this; }
public void ClearTest () { ListViewGroup group1 = new ListViewGroup ("Item1"); ListViewGroup group2 = new ListViewGroup ("Item2"); grpCol.Add (group1); grpCol.Add (group2); grpCol.Clear (); Assert.AreEqual (0, grpCol.Count, "#C1"); Assert.AreEqual (null, group1.ListView, "#C2"); Assert.AreEqual (null, group2.ListView, "#C3"); }
private void listView10_Layout(object sender, LayoutEventArgs e) { listView10.View = View.Details; listView10.Columns.Clear(); listView10.Items.Clear(); listView10.Groups.Clear(); listView10.Columns.Add("Auto Entry", 150); listView10.Columns.Add("Description", 150); listView10.Columns.Add("Publisher", 150); listView10.Columns.Add("Image Path", 320); ListViewGroup listGroup = new ListViewGroup("HKLM\\SYSTEM\\CurrentControlSet\\Services\\WinSock2\\Parameters\\Protocol_Catalog9\\Catalog_Entries"); listView10.Groups.Add(listGroup); RegistryKey hklm = Registry.LocalMachine; RegistryKey winsock = hklm.OpenSubKey("SYSTEM\\CurrentControlSet\\Services\\WinSock2\\Parameters\\Protocol_Catalog9\\Catalog_Entries"); foreach (string win in winsock.GetSubKeyNames()) { byte[] content = (byte[])winsock.OpenSubKey(win).GetValue("PackedCatalogItem"); string filePath = ""; string fileDescription = ""; for (int i = 0; i < content.Length; i++) { if (content[i] == 0) { break; } else { filePath += (char)content[i]; } } filePath = Environment.ExpandEnvironmentVariables(filePath); //listView10.Items.Add(filePath); for (int j = 0x0178; j < content.Length; j += 2) { if (content[j] == 0) { break; } else { fileDescription += (char)content[j]; } } //listView10.Items.Add(fileDescription); FileVersionInfo fileverInfo = FileVersionInfo.GetVersionInfo(filePath); ListViewItem listItem = new ListViewItem(fileverInfo.InternalName, 0, listGroup); listItem.SubItems.Add(fileDescription); listItem.SubItems.Add(fileverInfo.CompanyName); listItem.SubItems.Add(filePath); listView10.Items.Add(listItem); } }
/// <summary> /// 加载组 /// </summary> /// <param name="categoryIdList"></param> private void LoadGroups(List <int> categoryIdList) { List <Category> categoryList = categoryBiz.GetList(c => categoryIdList.Contains(c.ICId)); foreach (var item in categoryList) { System.Windows.Forms.ListViewGroup listViewGroup = new System.Windows.Forms.ListViewGroup(item.CCategoryName, System.Windows.Forms.HorizontalAlignment.Left); listViewGroup.Tag = item; skinLV.Groups.Add(listViewGroup); } System.Windows.Forms.ListViewGroup allFilesGroup = new System.Windows.Forms.ListViewGroup("All Files", System.Windows.Forms.HorizontalAlignment.Left); skinLV.Groups.Add(allFilesGroup); }
private void InitializeComponent() { System.Windows.Forms.ListViewGroup listViewGroup3 = new System.Windows.Forms.ListViewGroup("Predefined Properties", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup4 = new System.Windows.Forms.ListViewGroup("Custom Properties", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(new string[] { "", "Location", "50,50" }, -1); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem(new string[] { "", "Collision", "true" }, -1); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PropertyPane)); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this._propertyList = new Treefrog.Windows.Controls.WinEx.EditableListView(); this._colLabel = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this._colName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this._colValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this._buttonAddProp = new System.Windows.Forms.ToolStripButton(); this._buttonRemoveProp = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripTextBox1 = new System.Windows.Forms.ToolStripTextBox(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // // toolStripContainer1 // // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.Controls.Add(this._propertyList); this.toolStripContainer1.ContentPanel.Margin = new System.Windows.Forms.Padding(0); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(239, 264); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Margin = new System.Windows.Forms.Padding(0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.Size = new System.Drawing.Size(239, 289); this.toolStripContainer1.TabIndex = 0; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // _propertyList // this._propertyList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this._colLabel, this._colName, this._colValue }); this._propertyList.Dock = System.Windows.Forms.DockStyle.Fill; this._propertyList.DoubleClickActivation = true; this._propertyList.FullRowSelect = true; listViewGroup3.Header = "Special Properties"; listViewGroup3.Name = "_groupPredef"; listViewGroup4.Header = "Custom Properties"; listViewGroup4.Name = "_groupCustom"; this._propertyList.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup3, listViewGroup4 }); this._propertyList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; listViewItem3.Group = listViewGroup3; listViewItem4.Group = listViewGroup4; this._propertyList.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem3, listViewItem4 }); this._propertyList.Location = new System.Drawing.Point(0, 0); this._propertyList.Margin = new System.Windows.Forms.Padding(0); this._propertyList.MultiSelect = false; this._propertyList.Name = "_propertyList"; this._propertyList.Size = new System.Drawing.Size(239, 264); this._propertyList.TabIndex = 0; this._propertyList.UseCompatibleStateImageBehavior = false; this._propertyList.View = System.Windows.Forms.View.Details; // // _colLabel // this._colLabel.Text = ""; this._colLabel.Width = 0; // // _colName // this._colName.Text = "Name"; this._colName.Width = 100; // // _colValue // this._colValue.Text = "Value"; this._colValue.Width = 135; // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this._buttonAddProp, this._buttonRemoveProp, this.toolStripSeparator1, this.toolStripTextBox1 }); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(239, 25); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 0; // // _buttonAddProp // this._buttonAddProp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this._buttonAddProp.Image = ((System.Drawing.Image)(resources.GetObject("_buttonAddProp.Image"))); this._buttonAddProp.ImageTransparentColor = System.Drawing.Color.Magenta; this._buttonAddProp.Name = "_buttonAddProp"; this._buttonAddProp.Size = new System.Drawing.Size(23, 22); this._buttonAddProp.Text = "Add Property"; // // _buttonRemoveProp // this._buttonRemoveProp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this._buttonRemoveProp.Image = ((System.Drawing.Image)(resources.GetObject("_buttonRemoveProp.Image"))); this._buttonRemoveProp.ImageTransparentColor = System.Drawing.Color.Magenta; this._buttonRemoveProp.Name = "_buttonRemoveProp"; this._buttonRemoveProp.Size = new System.Drawing.Size(23, 22); this._buttonRemoveProp.Text = "Delete Selected Property"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // toolStripTextBox1 // this.toolStripTextBox1.AutoSize = false; this.toolStripTextBox1.Name = "toolStripTextBox1"; this.toolStripTextBox1.ReadOnly = true; this.toolStripTextBox1.Size = new System.Drawing.Size(150, 22); // // PropertyPane // this.Controls.Add(this.toolStripContainer1); this.Margin = new System.Windows.Forms.Padding(0); this.Name = "PropertyPane"; this.Size = new System.Drawing.Size(239, 289); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("ListViewGroup", System.Windows.Forms.HorizontalAlignment.Left); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(welcome)); this.label1 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.skinPanel2 = new CCWin.SkinControl.SkinPanel(); this.button5 = new System.Windows.Forms.Button(); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.button4 = new System.Windows.Forms.Button(); this.button6 = new System.Windows.Forms.Button(); this.button7 = new System.Windows.Forms.Button(); this.button8 = new System.Windows.Forms.Button(); this.skinPanel2.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(84, 6); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(11, 12); this.label1.TabIndex = 0; this.label1.Text = "|"; // // button1 // this.button1.FlatAppearance.BorderColor = System.Drawing.Color.White; this.button1.FlatAppearance.BorderSize = 0; this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(3, 3); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 10; this.button1.Text = "登录"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.FlatAppearance.BorderColor = System.Drawing.Color.White; this.button2.FlatAppearance.BorderSize = 0; this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.Location = new System.Drawing.Point(101, 3); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 11; this.button2.Text = "注册"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // button3 // this.button3.FlatAppearance.BorderColor = System.Drawing.Color.White; this.button3.FlatAppearance.BorderSize = 0; this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button3.Location = new System.Drawing.Point(343, 2); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(75, 23); this.button3.TabIndex = 12; this.button3.Text = "管理"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // skinPanel2 // this.skinPanel2.BackColor = System.Drawing.Color.Transparent; this.skinPanel2.Controls.Add(this.button1); this.skinPanel2.Controls.Add(this.button2); this.skinPanel2.Controls.Add(this.label1); this.skinPanel2.ControlState = CCWin.SkinClass.ControlState.Normal; this.skinPanel2.DownBack = null; this.skinPanel2.Location = new System.Drawing.Point(94, 0); this.skinPanel2.MouseBack = null; this.skinPanel2.Name = "skinPanel2"; this.skinPanel2.NormlBack = null; this.skinPanel2.Size = new System.Drawing.Size(176, 28); this.skinPanel2.TabIndex = 0; // // button5 // this.button5.FlatAppearance.BorderColor = System.Drawing.Color.White; this.button5.FlatAppearance.BorderSize = 0; this.button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button5.Location = new System.Drawing.Point(276, 2); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(75, 23); this.button5.TabIndex = 11; this.button5.Text = "注销"; this.button5.UseVisualStyleBackColor = true; this.button5.Visible = false; this.button5.Click += new System.EventHandler(this.button5_Click); // // listView1 // this.listView1.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.listView1.BackgroundImageTiled = true; this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader4, this.columnHeader1, this.columnHeader2, this.columnHeader3 }); this.listView1.GridLines = true; listViewGroup1.Header = "ListViewGroup"; listViewGroup1.Name = "listViewGroup1"; this.listView1.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup1 }); this.listView1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.listView1.HideSelection = false; this.listView1.LabelEdit = true; this.listView1.Location = new System.Drawing.Point(128, 48); this.listView1.Name = "listView1"; this.listView1.ShowGroups = false; this.listView1.Size = new System.Drawing.Size(515, 347); this.listView1.TabIndex = 0; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged); // // columnHeader4 // this.columnHeader4.DisplayIndex = 3; this.columnHeader4.Width = 0; // // columnHeader1 // this.columnHeader1.DisplayIndex = 0; this.columnHeader1.Text = "新闻名称"; this.columnHeader1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.columnHeader1.Width = 70; // // columnHeader2 // this.columnHeader2.DisplayIndex = 1; this.columnHeader2.Text = "作者"; this.columnHeader2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // columnHeader3 // this.columnHeader3.DisplayIndex = 2; this.columnHeader3.Text = "内容"; this.columnHeader3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.columnHeader3.Width = 380; // // button4 // this.button4.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button4.Location = new System.Drawing.Point(17, 48); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(94, 61); this.button4.TabIndex = 13; this.button4.Text = "社 会"; this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.button4_Click); // // button6 // this.button6.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button6.Location = new System.Drawing.Point(17, 133); this.button6.Name = "button6"; this.button6.Size = new System.Drawing.Size(94, 61); this.button6.TabIndex = 14; this.button6.Text = "国 际"; this.button6.UseVisualStyleBackColor = true; this.button6.Click += new System.EventHandler(this.button6_Click); // // button7 // this.button7.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button7.Location = new System.Drawing.Point(17, 221); this.button7.Name = "button7"; this.button7.Size = new System.Drawing.Size(94, 61); this.button7.TabIndex = 15; this.button7.Text = "军 事"; this.button7.UseVisualStyleBackColor = true; this.button7.Click += new System.EventHandler(this.button7_Click); // // button8 // this.button8.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button8.Location = new System.Drawing.Point(17, 310); this.button8.Name = "button8"; this.button8.Size = new System.Drawing.Size(94, 61); this.button8.TabIndex = 16; this.button8.Text = "历 史"; this.button8.UseVisualStyleBackColor = true; this.button8.Click += new System.EventHandler(this.button8_Click); // // welcome // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(208)))), ((int)(((byte)(255))))); this.ClientSize = new System.Drawing.Size(650, 400); this.Controls.Add(this.button8); this.Controls.Add(this.button7); this.Controls.Add(this.button6); this.Controls.Add(this.button4); this.Controls.Add(this.listView1); this.Controls.Add(this.skinPanel2); this.Controls.Add(this.button5); this.Controls.Add(this.button3); this.Font = new System.Drawing.Font("黑体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.ForeColor = System.Drawing.Color.Black; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MaximumSize = new System.Drawing.Size(650, 400); this.MinimizeBox = false; this.MinimumSize = new System.Drawing.Size(650, 400); this.Name = "welcome"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "悦天下"; this.TitleSuitColor = true; this.Load += new System.EventHandler(this.welcome_Load); this.skinPanel2.ResumeLayout(false); this.skinPanel2.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { System.Windows.Forms.ListViewGroup listViewGroup16 = new System.Windows.Forms.ListViewGroup("First Group", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup17 = new System.Windows.Forms.ListViewGroup("Second Group", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup18 = new System.Windows.Forms.ListViewGroup("Third Group", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewItem listViewItem26 = new System.Windows.Forms.ListViewItem("Item 1"); System.Windows.Forms.ListViewItem listViewItem27 = new System.Windows.Forms.ListViewItem("Item 2"); System.Windows.Forms.ListViewItem listViewItem28 = new System.Windows.Forms.ListViewItem("Item 3"); System.Windows.Forms.ListViewItem listViewItem29 = new System.Windows.Forms.ListViewItem("Item 4"); System.Windows.Forms.ListViewItem listViewItem30 = new System.Windows.Forms.ListViewItem("Item 5"); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.listView1 = new System.Windows.Forms.ListView(); this.panel1 = new System.Windows.Forms.Panel(); this.button3 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.button4 = new System.Windows.Forms.Button(); this.button5 = new System.Windows.Forms.Button(); this.button6 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.tableLayoutPanel1.SuspendLayout(); this.panel1.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); this.SuspendLayout(); // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Controls.Add(this.listView1, 1, 0); this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0); this.tableLayoutPanel1.Location = new System.Drawing.Point(2, 52); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(524, 270); this.tableLayoutPanel1.TabIndex = 1; // // listView1 // this.listView1.Dock = System.Windows.Forms.DockStyle.Fill; listViewGroup16.Header = "First Group"; listViewGroup16.Name = null; listViewGroup17.Header = "Second Group"; listViewGroup17.Name = null; listViewGroup18.Header = "Third Group"; listViewGroup18.Name = null; this.listView1.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup16, listViewGroup17, listViewGroup18 }); //this.listView1.IsBackgroundImageTiled = false; listViewItem26.Group = listViewGroup16; listViewItem27.Group = listViewGroup16; listViewItem28.Group = listViewGroup17; listViewItem29.Group = listViewGroup17; listViewItem30.Group = listViewGroup18; this.listView1.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem26, listViewItem27, listViewItem28, listViewItem29, listViewItem30 }); this.listView1.Location = new System.Drawing.Point(90, 3); this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(431, 264); this.listView1.TabIndex = 1; // // panel1 // this.panel1.Anchor = System.Windows.Forms.AnchorStyles.Top; this.panel1.AutoSize = true; this.panel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.panel1.Controls.Add(this.button3); this.panel1.Controls.Add(this.button2); this.panel1.Controls.Add(this.button1); this.panel1.Location = new System.Drawing.Point(3, 3); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(81, 86); this.panel1.TabIndex = 2; // // button3 // this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.button3.AutoSize = true; this.button3.Location = new System.Drawing.Point(3, 60); this.button3.Name = "button3"; this.button3.TabIndex = 2; this.button3.Text = "Add Text"; this.button3.Click += new System.EventHandler(this.AddText); // // button2 // this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.button2.AutoSize = true; this.button2.Location = new System.Drawing.Point(3, 31); this.button2.Name = "button2"; this.button2.TabIndex = 1; this.button2.Text = "Add Text"; this.button2.Click += new System.EventHandler(this.AddText); // // button1 // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.button1.AutoSize = true; this.button1.Location = new System.Drawing.Point(3, 2); this.button1.Name = "button1"; this.button1.TabIndex = 0; this.button1.Text = "Add Text"; this.button1.Click += new System.EventHandler(this.AddText); // // tableLayoutPanel2 // this.tableLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.tableLayoutPanel2.AutoSize = true; this.tableLayoutPanel2.ColumnCount = 3; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); this.tableLayoutPanel2.Controls.Add(this.button4, 0, 0); this.tableLayoutPanel2.Controls.Add(this.button5, 1, 0); this.tableLayoutPanel2.Controls.Add(this.button6, 2, 0); this.tableLayoutPanel2.Location = new System.Drawing.Point(284, 328); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 1; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel2.Size = new System.Drawing.Size(243, 34); this.tableLayoutPanel2.TabIndex = 2; // // button4 // this.button4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.button4.AutoSize = true; this.button4.Location = new System.Drawing.Point(3, 5); this.button4.Name = "button4"; this.button4.TabIndex = 0; this.button4.Text = "Add Text"; this.button4.Click += new System.EventHandler(this.AddText); // // button5 // this.button5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.button5.AutoSize = true; this.button5.Location = new System.Drawing.Point(84, 5); this.button5.Name = "button5"; this.button5.TabIndex = 1; this.button5.Text = "Add Text"; this.button5.Click += new System.EventHandler(this.AddText); // // button6 // this.button6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.button6.AutoSize = true; this.button6.Location = new System.Drawing.Point(165, 5); this.button6.Name = "button6"; this.button6.TabIndex = 2; this.button6.Text = "Add Text"; this.button6.Click += new System.EventHandler(this.AddText); // // label1 // this.label1.Location = new System.Drawing.Point(8, 7); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(518, 40); this.label1.TabIndex = 3; this.label1.Text = "Click on any button to add text to the button. This simulates localizing strings," + " and provides a good demonstration of how the dialog will automatically adjust w" + "hen those longer strings are added to the UI."; // // LocalizableForm // this.ClientSize = new System.Drawing.Size(539, 374); this.Controls.Add(this.label1); this.Controls.Add(this.tableLayoutPanel2); this.Controls.Add(this.tableLayoutPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Name = "LocalizableForm"; this.Text = "Localizable Dialog"; this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.tableLayoutPanel2.ResumeLayout(false); this.tableLayoutPanel2.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
public ListViewItem(string text, string imageKey, ListViewGroup group) : this(text, imageKey) { Group = group; }
public ListViewItem(string[] items, string imageKey, Color foreColor, Color backColor, Font font, ListViewGroup group) : this(items, imageKey, foreColor, backColor, font) { Group = group; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("Microsoft Word", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("Microsoft Excel", System.Windows.Forms.HorizontalAlignment.Left); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DocTemplateManagerControl)); this.toolTipInstructions = new System.Windows.Forms.ToolTip(this.components); this.colHeadModifiedOn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colHeadCreatedOn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colHeadStatus = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colHeadName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.splitterMain = new System.Windows.Forms.Splitter(); this.propertyGridDetails = new System.Windows.Forms.PropertyGrid(); this.listViewDocumentTemplates = new System.Windows.Forms.ListView(); this.colHeadEntityName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.panelSplitter = new System.Windows.Forms.Panel(); this.toolStripMenuItemDeleteTemplates = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemDeactivateTemplates = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemActivateTemplates = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripDropDownOther = new System.Windows.Forms.ToolStripDropDownButton(); this.toolStripMenuItemEditTemplate = new System.Windows.Forms.ToolStripMenuItem(); this.toolButtonUpload = new System.Windows.Forms.ToolStripButton(); this.toolStripMenuItemUploadMultiple = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemUploadSingle = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripDropDownUpload = new System.Windows.Forms.ToolStripDropDownButton(); this.toolButtonDownload = new System.Windows.Forms.ToolStripButton(); this.toolButtonLoadTemplates = new System.Windows.Forms.ToolStripButton(); this.toolButtonCloseTab = new System.Windows.Forms.ToolStripButton(); this.toolStripMain = new System.Windows.Forms.ToolStrip(); this.tableLayoutPanelMain = new System.Windows.Forms.TableLayoutPanel(); this.labelInstructions = new System.Windows.Forms.Label(); this.panelSplitter.SuspendLayout(); this.toolStripMain.SuspendLayout(); this.tableLayoutPanelMain.SuspendLayout(); this.SuspendLayout(); // // toolTipInstructions // this.toolTipInstructions.ToolTipTitle = "Instructions"; // // colHeadModifiedOn // this.colHeadModifiedOn.Tag = "ModifiedOn"; this.colHeadModifiedOn.Text = "Modified On"; this.colHeadModifiedOn.Width = 120; // // colHeadCreatedOn // this.colHeadCreatedOn.Tag = "CreatedOn"; this.colHeadCreatedOn.Text = "Created On"; this.colHeadCreatedOn.Width = 120; // // colHeadStatus // this.colHeadStatus.Tag = "Status"; this.colHeadStatus.Text = "Status"; this.colHeadStatus.Width = 150; // // colHeadName // this.colHeadName.Tag = "Name"; this.colHeadName.Text = "Name"; this.colHeadName.Width = 150; // // splitterMain // this.splitterMain.Dock = System.Windows.Forms.DockStyle.Right; this.splitterMain.Location = new System.Drawing.Point(426, 0); this.splitterMain.Name = "splitterMain"; this.splitterMain.Size = new System.Drawing.Size(6, 291); this.splitterMain.TabIndex = 6; this.splitterMain.TabStop = false; // // propertyGridDetails // this.propertyGridDetails.Dock = System.Windows.Forms.DockStyle.Right; this.propertyGridDetails.LineColor = System.Drawing.SystemColors.ControlDark; this.propertyGridDetails.Location = new System.Drawing.Point(432, 0); this.propertyGridDetails.Name = "propertyGridDetails"; this.propertyGridDetails.Size = new System.Drawing.Size(244, 291); this.propertyGridDetails.TabIndex = 5; this.propertyGridDetails.ToolbarVisible = false; // // listViewDocumentTemplates // this.listViewDocumentTemplates.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.colHeadName, this.colHeadStatus, this.colHeadCreatedOn, this.colHeadModifiedOn, this.colHeadEntityName }); this.listViewDocumentTemplates.Dock = System.Windows.Forms.DockStyle.Fill; this.listViewDocumentTemplates.FullRowSelect = true; listViewGroup1.Header = "Microsoft Word"; listViewGroup1.Name = "Microsoft Word"; listViewGroup1.Tag = "Microsoft Word"; listViewGroup2.Header = "Microsoft Excel"; listViewGroup2.Name = "Microsoft Excel"; listViewGroup2.Tag = "Microsoft Excel"; this.listViewDocumentTemplates.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup1, listViewGroup2 }); this.listViewDocumentTemplates.HideSelection = false; this.listViewDocumentTemplates.Location = new System.Drawing.Point(0, 0); this.listViewDocumentTemplates.Name = "listViewDocumentTemplates"; this.listViewDocumentTemplates.Size = new System.Drawing.Size(676, 291); this.listViewDocumentTemplates.TabIndex = 4; this.listViewDocumentTemplates.Tag = "0"; this.listViewDocumentTemplates.UseCompatibleStateImageBehavior = false; this.listViewDocumentTemplates.View = System.Windows.Forms.View.Details; this.listViewDocumentTemplates.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listViewDocumentTemplates_ColumnClick); this.listViewDocumentTemplates.SelectedIndexChanged += new System.EventHandler(this.listViewDocumentTemplates_SelectedIndexChanged); this.listViewDocumentTemplates.DoubleClick += new System.EventHandler(this.listViewDocumentTemplates_DoubleClick); this.listViewDocumentTemplates.KeyDown += new System.Windows.Forms.KeyEventHandler(this.listViewDocumentTemplates_KeyDown); // // colHeadEntityName // this.colHeadEntityName.Tag = "Associated Entity"; this.colHeadEntityName.Text = "Associated Entity"; this.colHeadEntityName.Width = 200; // // panelSplitter // this.panelSplitter.Controls.Add(this.splitterMain); this.panelSplitter.Controls.Add(this.propertyGridDetails); this.panelSplitter.Controls.Add(this.listViewDocumentTemplates); this.panelSplitter.Dock = System.Windows.Forms.DockStyle.Fill; this.panelSplitter.Location = new System.Drawing.Point(3, 24); this.panelSplitter.Name = "panelSplitter"; this.panelSplitter.Size = new System.Drawing.Size(676, 291); this.panelSplitter.TabIndex = 6; // // toolStripMenuItemDeleteTemplates // this.toolStripMenuItemDeleteTemplates.Enabled = false; this.toolStripMenuItemDeleteTemplates.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItemDeleteTemplates.Image"))); this.toolStripMenuItemDeleteTemplates.Name = "toolStripMenuItemDeleteTemplates"; this.toolStripMenuItemDeleteTemplates.Size = new System.Drawing.Size(194, 22); this.toolStripMenuItemDeleteTemplates.Text = "Delete Template(s)"; this.toolStripMenuItemDeleteTemplates.Click += new System.EventHandler(this.toolStripMenuItemDeleteTemplates_Click); // // toolStripMenuItemDeactivateTemplates // this.toolStripMenuItemDeactivateTemplates.Enabled = false; this.toolStripMenuItemDeactivateTemplates.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItemDeactivateTemplates.Image"))); this.toolStripMenuItemDeactivateTemplates.Name = "toolStripMenuItemDeactivateTemplates"; this.toolStripMenuItemDeactivateTemplates.Size = new System.Drawing.Size(194, 22); this.toolStripMenuItemDeactivateTemplates.Text = "Deactivate Template(s)"; this.toolStripMenuItemDeactivateTemplates.Click += new System.EventHandler(this.toolStripMenuItemDeactivateTemplates_Click); // // toolStripMenuItemActivateTemplates // this.toolStripMenuItemActivateTemplates.Enabled = false; this.toolStripMenuItemActivateTemplates.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItemActivateTemplates.Image"))); this.toolStripMenuItemActivateTemplates.Name = "toolStripMenuItemActivateTemplates"; this.toolStripMenuItemActivateTemplates.Size = new System.Drawing.Size(194, 22); this.toolStripMenuItemActivateTemplates.Text = "Activate Template(s)"; this.toolStripMenuItemActivateTemplates.Click += new System.EventHandler(this.toolStripMenuItemActivateTemplates_Click); // // toolStripDropDownOther // this.toolStripDropDownOther.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripDropDownOther.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripMenuItemEditTemplate, this.toolStripMenuItemActivateTemplates, this.toolStripMenuItemDeactivateTemplates, this.toolStripMenuItemDeleteTemplates }); this.toolStripDropDownOther.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownOther.Image"))); this.toolStripDropDownOther.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripDropDownOther.Name = "toolStripDropDownOther"; this.toolStripDropDownOther.Size = new System.Drawing.Size(93, 18); this.toolStripDropDownOther.Text = "Other Actions"; // // toolStripMenuItemEditTemplate // this.toolStripMenuItemEditTemplate.Enabled = false; this.toolStripMenuItemEditTemplate.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItemEditTemplate.Image"))); this.toolStripMenuItemEditTemplate.Name = "toolStripMenuItemEditTemplate"; this.toolStripMenuItemEditTemplate.Size = new System.Drawing.Size(194, 22); this.toolStripMenuItemEditTemplate.Text = "Edit Template"; this.toolStripMenuItemEditTemplate.Click += new System.EventHandler(this.toolStripMenuItemEditTemplate_Click); // // toolButtonUpload // this.toolButtonUpload.Enabled = false; this.toolButtonUpload.Image = ((System.Drawing.Image)(resources.GetObject("toolButtonUpload.Image"))); this.toolButtonUpload.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolButtonUpload.Name = "toolButtonUpload"; this.toolButtonUpload.Size = new System.Drawing.Size(130, 18); this.toolButtonUpload.Text = "Upload Template(s)"; this.toolButtonUpload.ToolTipText = "Upload new Template Document and replace existing Template Content"; this.toolButtonUpload.Visible = false; // // toolStripMenuItemUploadMultiple // this.toolStripMenuItemUploadMultiple.Enabled = false; this.toolStripMenuItemUploadMultiple.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItemUploadMultiple.Image"))); this.toolStripMenuItemUploadMultiple.Name = "toolStripMenuItemUploadMultiple"; this.toolStripMenuItemUploadMultiple.Size = new System.Drawing.Size(180, 22); this.toolStripMenuItemUploadMultiple.Text = "Upload Multiple"; this.toolStripMenuItemUploadMultiple.Click += new System.EventHandler(this.toolStripMenuItemUploadMultiple_Click); // // toolStripMenuItemUploadSingle // this.toolStripMenuItemUploadSingle.Enabled = false; this.toolStripMenuItemUploadSingle.Image = ((System.Drawing.Image)(resources.GetObject("toolStripMenuItemUploadSingle.Image"))); this.toolStripMenuItemUploadSingle.Name = "toolStripMenuItemUploadSingle"; this.toolStripMenuItemUploadSingle.Size = new System.Drawing.Size(180, 22); this.toolStripMenuItemUploadSingle.Text = "Upload Single"; this.toolStripMenuItemUploadSingle.Click += new System.EventHandler(this.toolStripMenuItemUploadSingle_Click); // // toolStripDropDownUpload // this.toolStripDropDownUpload.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripDropDownUpload.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripMenuItemUploadSingle, this.toolStripMenuItemUploadMultiple }); this.toolStripDropDownUpload.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownUpload.Image"))); this.toolStripDropDownUpload.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripDropDownUpload.Name = "toolStripDropDownUpload"; this.toolStripDropDownUpload.Size = new System.Drawing.Size(67, 18); this.toolStripDropDownUpload.Text = "Upload..."; this.toolStripDropDownUpload.ToolTipText = "Upload one or more documents"; // // toolButtonDownload // this.toolButtonDownload.Enabled = false; this.toolButtonDownload.Image = ((System.Drawing.Image)(resources.GetObject("toolButtonDownload.Image"))); this.toolButtonDownload.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolButtonDownload.Name = "toolButtonDownload"; this.toolButtonDownload.Size = new System.Drawing.Size(146, 18); this.toolButtonDownload.Text = "Download Template(s)"; this.toolButtonDownload.Click += new System.EventHandler(this.toolButtonDownload_Click); // // toolButtonLoadTemplates // this.toolButtonLoadTemplates.Image = ((System.Drawing.Image)(resources.GetObject("toolButtonLoadTemplates.Image"))); this.toolButtonLoadTemplates.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolButtonLoadTemplates.Name = "toolButtonLoadTemplates"; this.toolButtonLoadTemplates.Size = new System.Drawing.Size(110, 18); this.toolButtonLoadTemplates.Text = "Load Templates"; this.toolButtonLoadTemplates.ToolTipText = "Load / Reload Templates from the server"; this.toolButtonLoadTemplates.Click += new System.EventHandler(this.toolButtonLoadTemplates_Click); // // toolButtonCloseTab // this.toolButtonCloseTab.Image = ((System.Drawing.Image)(resources.GetObject("toolButtonCloseTab.Image"))); this.toolButtonCloseTab.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolButtonCloseTab.Name = "toolButtonCloseTab"; this.toolButtonCloseTab.Size = new System.Drawing.Size(78, 18); this.toolButtonCloseTab.Text = "Close Tab"; this.toolButtonCloseTab.Click += new System.EventHandler(this.toolButtonCloseTab_Click); // // toolStripMain // this.tableLayoutPanelMain.SetColumnSpan(this.toolStripMain, 2); this.toolStripMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolButtonCloseTab, this.toolButtonLoadTemplates, this.toolButtonDownload, this.toolStripDropDownUpload, this.toolButtonUpload, this.toolStripDropDownOther }); this.toolStripMain.Location = new System.Drawing.Point(0, 0); this.toolStripMain.Name = "toolStripMain"; this.toolStripMain.Size = new System.Drawing.Size(682, 21); this.toolStripMain.TabIndex = 0; this.toolStripMain.Text = "Main"; // // tableLayoutPanelMain // this.tableLayoutPanelMain.ColumnCount = 1; this.tableLayoutPanelMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanelMain.Controls.Add(this.toolStripMain, 0, 0); this.tableLayoutPanelMain.Controls.Add(this.labelInstructions, 0, 2); this.tableLayoutPanelMain.Controls.Add(this.panelSplitter, 0, 1); this.tableLayoutPanelMain.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanelMain.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanelMain.Name = "tableLayoutPanelMain"; this.tableLayoutPanelMain.RowCount = 3; this.tableLayoutPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.741573F)); this.tableLayoutPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 93.25843F)); this.tableLayoutPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 81F)); this.tableLayoutPanelMain.Size = new System.Drawing.Size(682, 400); this.tableLayoutPanelMain.TabIndex = 5; // // labelInstructions // this.labelInstructions.BackColor = System.Drawing.SystemColors.Info; this.tableLayoutPanelMain.SetColumnSpan(this.labelInstructions, 2); this.labelInstructions.Dock = System.Windows.Forms.DockStyle.Fill; this.labelInstructions.Location = new System.Drawing.Point(3, 318); this.labelInstructions.Name = "labelInstructions"; this.labelInstructions.Size = new System.Drawing.Size(676, 82); this.labelInstructions.TabIndex = 5; this.labelInstructions.Text = resources.GetString("labelInstructions.Text"); this.labelInstructions.DoubleClick += new System.EventHandler(this.labelInstructions_DoubleClick); this.labelInstructions.MouseHover += new System.EventHandler(this.labelInstructions_MouseHover); // // DocTemplateManagerControl // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.tableLayoutPanelMain); this.Name = "DocTemplateManagerControl"; this.Size = new System.Drawing.Size(682, 400); this.panelSplitter.ResumeLayout(false); this.toolStripMain.ResumeLayout(false); this.toolStripMain.PerformLayout(); this.tableLayoutPanelMain.ResumeLayout(false); this.tableLayoutPanelMain.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("File Types", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("Resource Types", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("ARChive Pack (*.pac)"); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("Compressed ARChive Pack (*.pcs)"); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("ARChive (*.arc)"); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem("Compressed ARChive (*.szs)"); System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem("Resource Pack (*.brres)"); System.Windows.Forms.ListViewItem listViewItem6 = new System.Windows.Forms.ListViewItem("Model Pack (*.brmdl)"); System.Windows.Forms.ListViewItem listViewItem7 = new System.Windows.Forms.ListViewItem("Texture Pack (*.brtex)"); System.Windows.Forms.ListViewItem listViewItem8 = new System.Windows.Forms.ListViewItem("MSBin Message List (*.msbin)"); System.Windows.Forms.ListViewItem listViewItem9 = new System.Windows.Forms.ListViewItem("Sound Archive (*.brsar)"); System.Windows.Forms.ListViewItem listViewItem10 = new System.Windows.Forms.ListViewItem("Sound Stream (*.brstm)"); System.Windows.Forms.ListViewItem listViewItem11 = new System.Windows.Forms.ListViewItem("Texture (*.tex0)"); System.Windows.Forms.ListViewItem listViewItem12 = new System.Windows.Forms.ListViewItem("Palette (*.plt0)"); System.Windows.Forms.ListViewItem listViewItem13 = new System.Windows.Forms.ListViewItem("Model (*.mdl0)"); System.Windows.Forms.ListViewItem listViewItem14 = new System.Windows.Forms.ListViewItem("Model Animation (*.chr0)"); System.Windows.Forms.ListViewItem listViewItem15 = new System.Windows.Forms.ListViewItem("Texture Animation (*.srt0)"); System.Windows.Forms.ListViewItem listViewItem16 = new System.Windows.Forms.ListViewItem("Vertex Morph (*.shp0)"); System.Windows.Forms.ListViewItem listViewItem17 = new System.Windows.Forms.ListViewItem("Texture Pattern (*.pat0)"); System.Windows.Forms.ListViewItem listViewItem18 = new System.Windows.Forms.ListViewItem("Bone Visibility (*.vis0)"); System.Windows.Forms.ListViewItem listViewItem19 = new System.Windows.Forms.ListViewItem("Scene Settings (*.scn0)"); System.Windows.Forms.ListViewItem listViewItem20 = new System.Windows.Forms.ListViewItem("Color Sequence (*.clr0)"); System.Windows.Forms.ListViewItem listViewItem21 = new System.Windows.Forms.ListViewItem("Effect List (*.efls)"); System.Windows.Forms.ListViewItem listViewItem22 = new System.Windows.Forms.ListViewItem("Effect Parameters (*.breff)"); System.Windows.Forms.ListViewItem listViewItem23 = new System.Windows.Forms.ListViewItem("Effect Textures (*.breft)"); System.Windows.Forms.ListViewItem listViewItem24 = new System.Windows.Forms.ListViewItem("Sound Stream (*.brwsd)"); System.Windows.Forms.ListViewItem listViewItem25 = new System.Windows.Forms.ListViewItem("Sound Bank (*.brbnk)"); System.Windows.Forms.ListViewItem listViewItem26 = new System.Windows.Forms.ListViewItem("Sound Sequence (*.brseq)"); System.Windows.Forms.ListViewItem listViewItem27 = new System.Windows.Forms.ListViewItem("Static Module (*.dol)"); System.Windows.Forms.ListViewItem listViewItem28 = new System.Windows.Forms.ListViewItem("Relocatable Module (*.rel)"); System.Windows.Forms.ListViewItem listViewItem29 = new System.Windows.Forms.ListViewItem("Texture Archive (*.tpl)"); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.btnOkay = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.btnApply = new System.Windows.Forms.Button(); this.chkShowPropDesc = new System.Windows.Forms.CheckBox(); this.chkUpdatesOnStartup = new System.Windows.Forms.CheckBox(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.checkBox1); this.groupBox1.Controls.Add(this.listView1); this.groupBox1.Location = new System.Drawing.Point(12, 12); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(268, 264); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "File Associations"; // // checkBox1 // this.checkBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.checkBox1.Location = new System.Drawing.Point(151, 13); this.checkBox1.Name = "checkBox1"; this.checkBox1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.checkBox1.Size = new System.Drawing.Size(104, 20); this.checkBox1.TabIndex = 5; this.checkBox1.Text = "Check All"; this.checkBox1.UseVisualStyleBackColor = true; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // listView1 // this.listView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.listView1.AutoArrange = false; this.listView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.listView1.CheckBoxes = true; this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1 }); listViewGroup1.Header = "File Types"; listViewGroup1.Name = "grpFileTypes"; listViewGroup2.Header = "Resource Types"; listViewGroup2.Name = "grpResTypes"; this.listView1.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup1, listViewGroup2 }); this.listView1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.listView1.HideSelection = false; listViewItem1.StateImageIndex = 0; listViewItem1.Tag = ""; listViewItem2.StateImageIndex = 0; listViewItem2.Tag = ""; listViewItem3.StateImageIndex = 0; listViewItem4.StateImageIndex = 0; listViewItem5.StateImageIndex = 0; listViewItem5.Tag = ""; listViewItem6.StateImageIndex = 0; listViewItem7.StateImageIndex = 0; listViewItem8.StateImageIndex = 0; listViewItem8.Tag = ""; listViewItem9.StateImageIndex = 0; listViewItem10.StateImageIndex = 0; listViewItem11.StateImageIndex = 0; listViewItem12.StateImageIndex = 0; listViewItem13.StateImageIndex = 0; listViewItem14.StateImageIndex = 0; listViewItem15.StateImageIndex = 0; listViewItem16.StateImageIndex = 0; listViewItem17.StateImageIndex = 0; listViewItem18.StateImageIndex = 0; listViewItem19.StateImageIndex = 0; listViewItem20.StateImageIndex = 0; listViewItem21.StateImageIndex = 0; listViewItem22.StateImageIndex = 0; listViewItem23.StateImageIndex = 0; listViewItem24.StateImageIndex = 0; listViewItem25.StateImageIndex = 0; listViewItem26.StateImageIndex = 0; listViewItem27.StateImageIndex = 0; listViewItem28.StateImageIndex = 0; listViewItem29.StateImageIndex = 0; this.listView1.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2, listViewItem3, listViewItem4, listViewItem5, listViewItem6, listViewItem7, listViewItem8, listViewItem9, listViewItem10, listViewItem11, listViewItem12, listViewItem13, listViewItem14, listViewItem15, listViewItem16, listViewItem17, listViewItem18, listViewItem19, listViewItem20, listViewItem21, listViewItem22, listViewItem23, listViewItem24, listViewItem25, listViewItem26, listViewItem27, listViewItem28, listViewItem29 }); this.listView1.Location = new System.Drawing.Point(3, 37); this.listView1.MultiSelect = false; this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(262, 221); this.listView1.TabIndex = 6; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; this.listView1.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.listView1_ItemChecked); // // columnHeader1 // this.columnHeader1.Text = "Name"; this.columnHeader1.Width = 300; // // btnOkay // this.btnOkay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnOkay.Location = new System.Drawing.Point(30, 328); this.btnOkay.Name = "btnOkay"; this.btnOkay.Size = new System.Drawing.Size(75, 23); this.btnOkay.TabIndex = 1; this.btnOkay.Text = "Okay"; this.btnOkay.UseVisualStyleBackColor = true; this.btnOkay.Click += new System.EventHandler(this.btnOkay_Click); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Location = new System.Drawing.Point(111, 328); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 2; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnApply // this.btnApply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnApply.Location = new System.Drawing.Point(192, 328); this.btnApply.Name = "btnApply"; this.btnApply.Size = new System.Drawing.Size(75, 23); this.btnApply.TabIndex = 3; this.btnApply.Text = "Apply"; this.btnApply.UseVisualStyleBackColor = true; this.btnApply.Click += new System.EventHandler(this.btnApply_Click); // // chkShowPropDesc // this.chkShowPropDesc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.chkShowPropDesc.AutoSize = true; this.chkShowPropDesc.Location = new System.Drawing.Point(25, 305); this.chkShowPropDesc.Name = "chkShowPropDesc"; this.chkShowPropDesc.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.chkShowPropDesc.Size = new System.Drawing.Size(242, 17); this.chkShowPropDesc.TabIndex = 7; this.chkShowPropDesc.Text = "Show property description box when available"; this.chkShowPropDesc.UseVisualStyleBackColor = true; this.chkShowPropDesc.CheckedChanged += new System.EventHandler(this.chkShowPropDesc_CheckedChanged); // // chkUpdatesOnStartup // this.chkUpdatesOnStartup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.chkUpdatesOnStartup.AutoSize = true; this.chkUpdatesOnStartup.Location = new System.Drawing.Point(104, 282); this.chkUpdatesOnStartup.Name = "chkUpdatesOnStartup"; this.chkUpdatesOnStartup.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.chkUpdatesOnStartup.Size = new System.Drawing.Size(163, 17); this.chkUpdatesOnStartup.TabIndex = 8; this.chkUpdatesOnStartup.Text = "Check for updates on startup"; this.chkUpdatesOnStartup.UseVisualStyleBackColor = true; this.chkUpdatesOnStartup.CheckedChanged += new System.EventHandler(this.chkUpdatesOnStartup_CheckedChanged); // // SettingsDialog // this.ClientSize = new System.Drawing.Size(292, 363); this.Controls.Add(this.chkUpdatesOnStartup); this.Controls.Add(this.chkShowPropDesc); this.Controls.Add(this.btnApply); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOkay); this.Controls.Add(this.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Name = "SettingsDialog"; this.Text = "Settings"; this.Shown += new System.EventHandler(this.SettingsDialog_Shown); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
public ListViewItem(string[] items, string imageKey, ListViewGroup group) : this(items, imageKey) { Group = group; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("TorqueDev Projects"); System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Torque", new System.Windows.Forms.TreeNode[] { treeNode3}); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmNewProject)); System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("TorqueDev Templates", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem("Empty TGE Project", 0); System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem("Empty TSE Project", 1); System.Windows.Forms.ListViewItem listViewItem6 = new System.Windows.Forms.ListViewItem("Empty T2D Project (TGB)", 2); this.treeView1 = new System.Windows.Forms.TreeView(); this.ilProject = new System.Windows.Forms.ImageList(this.components); this.ilListView = new System.Windows.Forms.ImageList(this.components); this.lvTemplates = new System.Windows.Forms.ListView(); this.ilSmallListView = new System.Windows.Forms.ImageList(this.components); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.lblDescr = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.txtProjectName = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.txtProjectPath = new System.Windows.Forms.TextBox(); this.cmdBrowse = new System.Windows.Forms.Button(); this.cmdCancel = new System.Windows.Forms.Button(); this.cmdOK = new System.Windows.Forms.Button(); this.cdFolderBox = new System.Windows.Forms.FolderBrowserDialog(); this.chkAutoImport = new System.Windows.Forms.CheckBox(); this.txtFilter = new System.Windows.Forms.TextBox(); this.SuspendLayout(); // // treeView1 // this.treeView1.HideSelection = false; this.treeView1.Location = new System.Drawing.Point(12, 28); this.treeView1.Name = "treeView1"; treeNode3.Name = "Node1"; treeNode3.Text = "TorqueDev Projects"; treeNode4.Name = "Node0"; treeNode4.Text = "Torque"; this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { treeNode4}); this.treeView1.Scrollable = false; this.treeView1.Size = new System.Drawing.Size(262, 200); this.treeView1.TabIndex = 1; // // ilProject // this.ilProject.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilProject.ImageStream"))); this.ilProject.TransparentColor = System.Drawing.Color.Transparent; this.ilProject.Images.SetKeyName(0, ""); this.ilProject.Images.SetKeyName(1, ""); // // ilListView // this.ilListView.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilListView.ImageStream"))); this.ilListView.TransparentColor = System.Drawing.Color.Transparent; this.ilListView.Images.SetKeyName(0, ""); this.ilListView.Images.SetKeyName(1, ""); this.ilListView.Images.SetKeyName(2, ""); this.ilListView.Images.SetKeyName(3, ""); // // lvTemplates // listViewGroup2.Header = "TorqueDev Templates"; listViewGroup2.Name = "listViewGroup1"; this.lvTemplates.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup2}); this.lvTemplates.HideSelection = false; listViewItem4.Group = listViewGroup2; listViewItem4.Tag = "0"; listViewItem5.Group = listViewGroup2; listViewItem5.Tag = "1"; listViewItem6.Group = listViewGroup2; listViewItem6.Tag = "2"; this.lvTemplates.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem4, listViewItem5, listViewItem6}); this.lvTemplates.LargeImageList = this.ilListView; this.lvTemplates.Location = new System.Drawing.Point(280, 28); this.lvTemplates.MultiSelect = false; this.lvTemplates.Name = "lvTemplates"; this.lvTemplates.Size = new System.Drawing.Size(294, 200); this.lvTemplates.SmallImageList = this.ilSmallListView; this.lvTemplates.TabIndex = 3; this.lvTemplates.UseCompatibleStateImageBehavior = false; this.lvTemplates.View = System.Windows.Forms.View.SmallIcon; this.lvTemplates.SelectedIndexChanged += new System.EventHandler(this.lvTemplates_SelectedIndexChanged); // // ilSmallListView // this.ilSmallListView.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilSmallListView.ImageStream"))); this.ilSmallListView.TransparentColor = System.Drawing.Color.Transparent; this.ilSmallListView.Images.SetKeyName(0, "window_environment.png"); this.ilSmallListView.Images.SetKeyName(1, "window_earth.png"); this.ilSmallListView.Images.SetKeyName(2, "window_gear.png"); this.ilSmallListView.Images.SetKeyName(3, "window_star.png"); // // label1 // this.label1.Location = new System.Drawing.Point(12, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(152, 16); this.label1.TabIndex = 0; this.label1.Text = "P&roject types:"; // // label2 // this.label2.Location = new System.Drawing.Point(277, 9); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(152, 16); this.label2.TabIndex = 2; this.label2.Text = "Project t&emplates:"; // // lblDescr // this.lblDescr.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblDescr.FlatStyle = System.Windows.Forms.FlatStyle.System; this.lblDescr.Location = new System.Drawing.Point(12, 231); this.lblDescr.Name = "lblDescr"; this.lblDescr.Size = new System.Drawing.Size(562, 24); this.lblDescr.TabIndex = 4; // // label4 // this.label4.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(9, 272); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(56, 16); this.label4.TabIndex = 5; this.label4.Text = "&Name:"; // // txtProjectName // this.txtProjectName.Location = new System.Drawing.Point(112, 269); this.txtProjectName.Name = "txtProjectName"; this.txtProjectName.Size = new System.Drawing.Size(374, 21); this.txtProjectName.TabIndex = 6; // // label5 // this.label5.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(9, 296); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(80, 16); this.label5.TabIndex = 7; this.label5.Text = "&Save Project:"; // // txtProjectPath // this.txtProjectPath.Location = new System.Drawing.Point(112, 296); this.txtProjectPath.Name = "txtProjectPath"; this.txtProjectPath.Size = new System.Drawing.Size(374, 21); this.txtProjectPath.TabIndex = 8; // // cmdBrowse // this.cmdBrowse.FlatStyle = System.Windows.Forms.FlatStyle.System; this.cmdBrowse.Location = new System.Drawing.Point(492, 296); this.cmdBrowse.Name = "cmdBrowse"; this.cmdBrowse.Size = new System.Drawing.Size(76, 24); this.cmdBrowse.TabIndex = 9; this.cmdBrowse.Text = "&Browse..."; this.cmdBrowse.Click += new System.EventHandler(this.cmdBrowse_Click); // // cmdCancel // this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cmdCancel.FlatStyle = System.Windows.Forms.FlatStyle.System; this.cmdCancel.Location = new System.Drawing.Point(492, 368); this.cmdCancel.Name = "cmdCancel"; this.cmdCancel.Size = new System.Drawing.Size(76, 24); this.cmdCancel.TabIndex = 13; this.cmdCancel.Text = "&Cancel"; // // cmdOK // this.cmdOK.FlatStyle = System.Windows.Forms.FlatStyle.System; this.cmdOK.Location = new System.Drawing.Point(410, 368); this.cmdOK.Name = "cmdOK"; this.cmdOK.Size = new System.Drawing.Size(76, 24); this.cmdOK.TabIndex = 12; this.cmdOK.Text = "&OK"; this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click); // // cdFolderBox // this.cdFolderBox.Description = "Please select a folder below to use as the base path for your project:"; // // chkAutoImport // this.chkAutoImport.FlatStyle = System.Windows.Forms.FlatStyle.System; this.chkAutoImport.Location = new System.Drawing.Point(112, 330); this.chkAutoImport.Name = "chkAutoImport"; this.chkAutoImport.Size = new System.Drawing.Size(160, 16); this.chkAutoImport.TabIndex = 10; this.chkAutoImport.Text = "A&utomatically Import Files:"; // // txtFilter // this.txtFilter.Location = new System.Drawing.Point(288, 328); this.txtFilter.Name = "txtFilter"; this.txtFilter.Size = new System.Drawing.Size(198, 21); this.txtFilter.TabIndex = 11; this.txtFilter.Text = "*.cs;*.t2d;*.gui;*.mis"; // // frmNewProject // this.AcceptButton = this.cmdOK; this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.BackColor = System.Drawing.SystemColors.Control; this.CancelButton = this.cmdCancel; this.ClientSize = new System.Drawing.Size(586, 400); this.Controls.Add(this.txtFilter); this.Controls.Add(this.txtProjectPath); this.Controls.Add(this.txtProjectName); this.Controls.Add(this.chkAutoImport); this.Controls.Add(this.cmdCancel); this.Controls.Add(this.cmdBrowse); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.lblDescr); this.Controls.Add(this.label1); this.Controls.Add(this.lvTemplates); this.Controls.Add(this.treeView1); this.Controls.Add(this.label2); this.Controls.Add(this.cmdOK); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmNewProject"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "New TorqueDev Project"; this.Closed += new System.EventHandler(this.frmNewProject_Closed); this.Load += new System.EventHandler(this.frmNewProject_Load); this.ResumeLayout(false); this.PerformLayout(); }
public ListViewItem(ListViewSubItem[] subItems, int imageIndex, ListViewGroup group) : this(subItems, imageIndex) { Group = group; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ExportDialog)); System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("Layers to export", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("Zones to export", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup3 = new System.Windows.Forms.ListViewGroup("Scene Components to export", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup4 = new System.Windows.Forms.ListViewGroup("Optional Plugins to embed", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("xxx"); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("yyy"); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("zzz"); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem("www"); this.button_ExportActiveProfile = new System.Windows.Forms.Button(); this.button_CANCEL = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.dropDown_AssetProfiles = new CSharpFramework.Controls.ProfileDropDownControl(); this.label_PathExtension = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.button_Browse = new System.Windows.Forms.Button(); this.text_Pathname = new System.Windows.Forms.TextBox(); this.settingsBox = new System.Windows.Forms.GroupBox(); this.checkBox_updateAssetTransformations = new System.Windows.Forms.CheckBox(); this.checkBox_InvisibleLayersExportInvisibleObjects = new System.Windows.Forms.CheckBox(); this.checkBox_IncludeVisibilityInfo = new System.Windows.Forms.CheckBox(); this.checkBox_RunAfterExport = new System.Windows.Forms.CheckBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.button_ShowAssets = new System.Windows.Forms.Button(); this.button_AllLayers = new System.Windows.Forms.Button(); this.button_InvertLayers = new System.Windows.Forms.Button(); this.checkBox_LoadedZonesOnly = new System.Windows.Forms.CheckBox(); this.listView_Layers = new System.Windows.Forms.ListView(); this.nameHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.descriptionHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.checkBox_SaveProfileOnExport = new System.Windows.Forms.CheckBox(); this.label2 = new System.Windows.Forms.Label(); this.button_SaveProfile = new System.Windows.Forms.Button(); this.button_CreateProfile = new System.Windows.Forms.Button(); this.comboBox_Profile = new System.Windows.Forms.ComboBox(); this.button_ExportSelectedProfiles = new System.Windows.Forms.Button(); this.captionBar = new CSharpFramework.Controls.DialogCaptionBar(); this.groupBox1.SuspendLayout(); this.settingsBox.SuspendLayout(); this.groupBox2.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.groupBox3.SuspendLayout(); this.SuspendLayout(); // // button_ExportActiveProfile // this.button_ExportActiveProfile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.button_ExportActiveProfile.Image = ((System.Drawing.Image)(resources.GetObject("button_ExportActiveProfile.Image"))); this.button_ExportActiveProfile.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.button_ExportActiveProfile.Location = new System.Drawing.Point(310, 695); this.button_ExportActiveProfile.Name = "button_ExportActiveProfile"; this.button_ExportActiveProfile.Size = new System.Drawing.Size(154, 28); this.button_ExportActiveProfile.TabIndex = 6; this.button_ExportActiveProfile.Text = "Export Active Profile"; this.button_ExportActiveProfile.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.button_ExportActiveProfile.Click += new System.EventHandler(this.button_ExportActiveProfile_Click); // // button_CANCEL // this.button_CANCEL.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.button_CANCEL.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.button_CANCEL.Location = new System.Drawing.Point(470, 695); this.button_CANCEL.Name = "button_CANCEL"; this.button_CANCEL.Size = new System.Drawing.Size(97, 28); this.button_CANCEL.TabIndex = 7; this.button_CANCEL.Text = "Cancel"; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.dropDown_AssetProfiles); this.groupBox1.Controls.Add(this.label_PathExtension); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.button_Browse); this.groupBox1.Controls.Add(this.text_Pathname); this.groupBox1.Location = new System.Drawing.Point(12, 165); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(555, 80); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Target"; // // dropDown_AssetProfiles // this.dropDown_AssetProfiles.AnchorSize = new System.Drawing.Size(290, 21); this.dropDown_AssetProfiles.BackColor = System.Drawing.Color.White; this.dropDown_AssetProfiles.DockSide = CSharpFramework.Controls.DropDownControl.eDockSide.Left; this.dropDown_AssetProfiles.Location = new System.Drawing.Point(104, 49); this.dropDown_AssetProfiles.Name = "dropDown_AssetProfiles"; this.dropDown_AssetProfiles.Size = new System.Drawing.Size(290, 21); this.dropDown_AssetProfiles.TabIndex = 5; this.dropDown_AssetProfiles.ProfileSelectionChanged += new System.EventHandler(this.ProfileControlChanged); // // label_PathExtension // this.label_PathExtension.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label_PathExtension.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.label_PathExtension.Location = new System.Drawing.Point(400, 22); this.label_PathExtension.Name = "label_PathExtension"; this.label_PathExtension.Size = new System.Drawing.Size(119, 20); this.label_PathExtension.TabIndex = 3; this.label_PathExtension.Text = ".[profile].vscene"; this.label_PathExtension.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(13, 52); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(73, 13); this.label3.TabIndex = 4; this.label3.Text = "Asset Profiles:"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(13, 26); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(57, 13); this.label1.TabIndex = 0; this.label1.Text = "File Name:"; // // button_Browse // this.button_Browse.Location = new System.Drawing.Point(525, 20); this.button_Browse.Name = "button_Browse"; this.button_Browse.Size = new System.Drawing.Size(24, 24); this.button_Browse.TabIndex = 2; this.button_Browse.Text = "..."; this.button_Browse.Click += new System.EventHandler(this.button_Browse_Click); // // text_Pathname // this.text_Pathname.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.text_Pathname.Location = new System.Drawing.Point(104, 23); this.text_Pathname.Name = "text_Pathname"; this.text_Pathname.Size = new System.Drawing.Size(290, 20); this.text_Pathname.TabIndex = 1; this.text_Pathname.Text = "textBox1"; this.text_Pathname.TextChanged += new System.EventHandler(this.ProfileControlChanged); // // settingsBox // this.settingsBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.settingsBox.Controls.Add(this.checkBox_updateAssetTransformations); this.settingsBox.Controls.Add(this.checkBox_InvisibleLayersExportInvisibleObjects); this.settingsBox.Controls.Add(this.checkBox_IncludeVisibilityInfo); this.settingsBox.Controls.Add(this.checkBox_RunAfterExport); this.settingsBox.Location = new System.Drawing.Point(12, 610); this.settingsBox.Name = "settingsBox"; this.settingsBox.Size = new System.Drawing.Size(555, 75); this.settingsBox.TabIndex = 4; this.settingsBox.TabStop = false; this.settingsBox.Text = "Options"; // // checkBox_updateAssetTransformations // this.checkBox_updateAssetTransformations.AutoSize = true; this.checkBox_updateAssetTransformations.Checked = true; this.checkBox_updateAssetTransformations.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox_updateAssetTransformations.Location = new System.Drawing.Point(247, 24); this.checkBox_updateAssetTransformations.Name = "checkBox_updateAssetTransformations"; this.checkBox_updateAssetTransformations.Size = new System.Drawing.Size(207, 17); this.checkBox_updateAssetTransformations.TabIndex = 7; this.checkBox_updateAssetTransformations.Text = "Execute Asset Transformation Pipeline"; this.checkBox_updateAssetTransformations.CheckedChanged += new System.EventHandler(this.ProfileControlChanged); // // checkBox_InvisibleLayersExportInvisibleObjects // this.checkBox_InvisibleLayersExportInvisibleObjects.AutoSize = true; this.checkBox_InvisibleLayersExportInvisibleObjects.Location = new System.Drawing.Point(16, 47); this.checkBox_InvisibleLayersExportInvisibleObjects.Name = "checkBox_InvisibleLayersExportInvisibleObjects"; this.checkBox_InvisibleLayersExportInvisibleObjects.Size = new System.Drawing.Size(209, 17); this.checkBox_InvisibleLayersExportInvisibleObjects.TabIndex = 2; this.checkBox_InvisibleLayersExportInvisibleObjects.Text = "Invisible Layers export invisible Objects"; this.checkBox_InvisibleLayersExportInvisibleObjects.CheckedChanged += new System.EventHandler(this.ProfileControlChanged); // // checkBox_IncludeVisibilityInfo // this.checkBox_IncludeVisibilityInfo.AutoSize = true; this.checkBox_IncludeVisibilityInfo.Location = new System.Drawing.Point(16, 24); this.checkBox_IncludeVisibilityInfo.Name = "checkBox_IncludeVisibilityInfo"; this.checkBox_IncludeVisibilityInfo.Size = new System.Drawing.Size(167, 17); this.checkBox_IncludeVisibilityInfo.TabIndex = 0; this.checkBox_IncludeVisibilityInfo.Text = "Build and include Visibility Info"; this.checkBox_IncludeVisibilityInfo.CheckedChanged += new System.EventHandler(this.ProfileControlChanged); // // checkBox_RunAfterExport // this.checkBox_RunAfterExport.AutoSize = true; this.checkBox_RunAfterExport.Location = new System.Drawing.Point(247, 47); this.checkBox_RunAfterExport.Name = "checkBox_RunAfterExport"; this.checkBox_RunAfterExport.Size = new System.Drawing.Size(103, 17); this.checkBox_RunAfterExport.TabIndex = 1; this.checkBox_RunAfterExport.Text = "Run after Export"; this.checkBox_RunAfterExport.CheckedChanged += new System.EventHandler(this.ProfileControlChanged); // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox2.Controls.Add(this.tableLayoutPanel1); this.groupBox2.Location = new System.Drawing.Point(12, 251); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(555, 353); this.groupBox2.TabIndex = 3; this.groupBox2.TabStop = false; this.groupBox2.Text = "Layers and Zones to export"; // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 4; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.Controls.Add(this.button_ShowAssets, 3, 1); this.tableLayoutPanel1.Controls.Add(this.button_AllLayers, 1, 1); this.tableLayoutPanel1.Controls.Add(this.button_InvertLayers, 2, 1); this.tableLayoutPanel1.Controls.Add(this.checkBox_LoadedZonesOnly, 0, 1); this.tableLayoutPanel1.Controls.Add(this.listView_Layers, 0, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 16); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 2; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.Size = new System.Drawing.Size(549, 334); this.tableLayoutPanel1.TabIndex = 5; // // button_ShowAssets // this.button_ShowAssets.Location = new System.Drawing.Point(456, 308); this.button_ShowAssets.Name = "button_ShowAssets"; this.button_ShowAssets.Size = new System.Drawing.Size(90, 23); this.button_ShowAssets.TabIndex = 7; this.button_ShowAssets.Text = "Show Assets"; this.button_ShowAssets.Click += new System.EventHandler(this.button_ShowAssets_Click); // // button_AllLayers // this.button_AllLayers.Location = new System.Drawing.Point(264, 308); this.button_AllLayers.Name = "button_AllLayers"; this.button_AllLayers.Size = new System.Drawing.Size(90, 23); this.button_AllLayers.TabIndex = 6; this.button_AllLayers.Text = "Select All"; this.button_AllLayers.Click += new System.EventHandler(this.button_AllLayers_Click); // // button_InvertLayers // this.button_InvertLayers.Location = new System.Drawing.Point(360, 308); this.button_InvertLayers.Name = "button_InvertLayers"; this.button_InvertLayers.Size = new System.Drawing.Size(90, 23); this.button_InvertLayers.TabIndex = 5; this.button_InvertLayers.Text = "Invert Selection"; this.button_InvertLayers.Click += new System.EventHandler(this.button_InvertLayers_Click); // // checkBox_LoadedZonesOnly // this.checkBox_LoadedZonesOnly.AutoSize = true; this.checkBox_LoadedZonesOnly.Dock = System.Windows.Forms.DockStyle.Fill; this.checkBox_LoadedZonesOnly.Location = new System.Drawing.Point(3, 308); this.checkBox_LoadedZonesOnly.Name = "checkBox_LoadedZonesOnly"; this.checkBox_LoadedZonesOnly.Size = new System.Drawing.Size(255, 23); this.checkBox_LoadedZonesOnly.TabIndex = 2; this.checkBox_LoadedZonesOnly.Text = "Export loaded Zones only"; this.checkBox_LoadedZonesOnly.CheckedChanged += new System.EventHandler(this.ProfileControlChanged); // // listView_Layers // this.listView_Layers.AutoArrange = false; this.listView_Layers.CheckBoxes = true; this.listView_Layers.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.nameHeader, this.descriptionHeader}); this.tableLayoutPanel1.SetColumnSpan(this.listView_Layers, 4); this.listView_Layers.Dock = System.Windows.Forms.DockStyle.Fill; this.listView_Layers.FullRowSelect = true; this.listView_Layers.GridLines = true; listViewGroup1.Header = "Layers to export"; listViewGroup1.Name = "Layers"; listViewGroup2.Header = "Zones to export"; listViewGroup2.Name = "Zones"; listViewGroup3.Header = "Scene Components to export"; listViewGroup3.Name = "SceneComponents"; listViewGroup4.Header = "Optional Plugins to embed"; listViewGroup4.Name = "Plugins"; this.listView_Layers.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup1, listViewGroup2, listViewGroup3, listViewGroup4}); listViewItem1.Group = listViewGroup1; listViewItem1.StateImageIndex = 0; listViewItem2.Group = listViewGroup2; listViewItem2.StateImageIndex = 0; listViewItem3.Group = listViewGroup3; listViewItem3.StateImageIndex = 0; listViewItem4.Group = listViewGroup4; listViewItem4.StateImageIndex = 0; this.listView_Layers.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2, listViewItem3, listViewItem4}); this.listView_Layers.Location = new System.Drawing.Point(3, 3); this.listView_Layers.MultiSelect = false; this.listView_Layers.Name = "listView_Layers"; this.listView_Layers.ShowItemToolTips = true; this.listView_Layers.Size = new System.Drawing.Size(543, 299); this.listView_Layers.TabIndex = 1; this.listView_Layers.UseCompatibleStateImageBehavior = false; this.listView_Layers.View = System.Windows.Forms.View.Details; this.listView_Layers.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.listView_Layers_ItemChecked); // // nameHeader // this.nameHeader.Text = "Name"; this.nameHeader.Width = 217; // // descriptionHeader // this.descriptionHeader.Text = "Description"; this.descriptionHeader.Width = 357; // // groupBox3 // this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox3.Controls.Add(this.checkBox_SaveProfileOnExport); this.groupBox3.Controls.Add(this.label2); this.groupBox3.Controls.Add(this.button_SaveProfile); this.groupBox3.Controls.Add(this.button_CreateProfile); this.groupBox3.Controls.Add(this.comboBox_Profile); this.groupBox3.Location = new System.Drawing.Point(12, 76); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(555, 83); this.groupBox3.TabIndex = 1; this.groupBox3.TabStop = false; this.groupBox3.Text = "Export Presets"; // // checkBox_SaveProfileOnExport // this.checkBox_SaveProfileOnExport.AutoSize = true; this.checkBox_SaveProfileOnExport.Location = new System.Drawing.Point(400, 53); this.checkBox_SaveProfileOnExport.Name = "checkBox_SaveProfileOnExport"; this.checkBox_SaveProfileOnExport.Size = new System.Drawing.Size(132, 17); this.checkBox_SaveProfileOnExport.TabIndex = 4; this.checkBox_SaveProfileOnExport.Text = "Save Preset on Export"; this.checkBox_SaveProfileOnExport.UseVisualStyleBackColor = true; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(13, 22); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 13); this.label2.TabIndex = 0; this.label2.Text = "Preset:"; // // button_SaveProfile // this.button_SaveProfile.Image = ((System.Drawing.Image)(resources.GetObject("button_SaveProfile.Image"))); this.button_SaveProfile.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.button_SaveProfile.Location = new System.Drawing.Point(252, 46); this.button_SaveProfile.Name = "button_SaveProfile"; this.button_SaveProfile.Size = new System.Drawing.Size(142, 28); this.button_SaveProfile.TabIndex = 2; this.button_SaveProfile.Text = "Save Preset"; this.button_SaveProfile.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.button_SaveProfile.UseVisualStyleBackColor = true; this.button_SaveProfile.Click += new System.EventHandler(this.button_SaveProfile_Click); // // button_CreateProfile // this.button_CreateProfile.Image = ((System.Drawing.Image)(resources.GetObject("button_CreateProfile.Image"))); this.button_CreateProfile.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.button_CreateProfile.Location = new System.Drawing.Point(104, 46); this.button_CreateProfile.Name = "button_CreateProfile"; this.button_CreateProfile.Size = new System.Drawing.Size(142, 28); this.button_CreateProfile.TabIndex = 3; this.button_CreateProfile.Text = "Create Preset"; this.button_CreateProfile.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.button_CreateProfile.UseVisualStyleBackColor = true; this.button_CreateProfile.Click += new System.EventHandler(this.button_CreateProfile_Click); // // comboBox_Profile // this.comboBox_Profile.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox_Profile.FormattingEnabled = true; this.comboBox_Profile.Location = new System.Drawing.Point(104, 19); this.comboBox_Profile.Name = "comboBox_Profile"; this.comboBox_Profile.Size = new System.Drawing.Size(290, 21); this.comboBox_Profile.TabIndex = 1; this.comboBox_Profile.SelectionChangeCommitted += new System.EventHandler(this.comboBox_Profile_SelectionChangeCommitted); // // button_ExportSelectedProfiles // this.button_ExportSelectedProfiles.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.button_ExportSelectedProfiles.Image = ((System.Drawing.Image)(resources.GetObject("button_ExportSelectedProfiles.Image"))); this.button_ExportSelectedProfiles.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.button_ExportSelectedProfiles.Location = new System.Drawing.Point(135, 695); this.button_ExportSelectedProfiles.Name = "button_ExportSelectedProfiles"; this.button_ExportSelectedProfiles.Size = new System.Drawing.Size(169, 28); this.button_ExportSelectedProfiles.TabIndex = 6; this.button_ExportSelectedProfiles.Text = "Export Selected Profiles"; this.button_ExportSelectedProfiles.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.button_ExportSelectedProfiles.Click += new System.EventHandler(this.button_ExportSelectedProfiles_Click); // // captionBar // this.captionBar.BackColor = System.Drawing.SystemColors.Window; this.captionBar.Caption = "Exporting the Scene"; this.captionBar.CompactView = false; this.captionBar.Description = resources.GetString("captionBar.Description"); this.captionBar.Dock = System.Windows.Forms.DockStyle.Top; this.captionBar.Image = ((System.Drawing.Image)(resources.GetObject("captionBar.Image"))); this.captionBar.Location = new System.Drawing.Point(0, 0); this.captionBar.Name = "captionBar"; this.captionBar.SetFontColor = System.Drawing.SystemColors.ControlText; this.captionBar.ShowBorder = false; this.captionBar.ShowBottomLine = true; this.captionBar.ShowCaptionText = true; this.captionBar.ShowImage = true; this.captionBar.Size = new System.Drawing.Size(579, 69); this.captionBar.TabIndex = 0; // // ExportDialog // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.button_CANCEL; this.ClientSize = new System.Drawing.Size(579, 735); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.settingsBox); this.Controls.Add(this.groupBox1); this.Controls.Add(this.captionBar); this.Controls.Add(this.button_CANCEL); this.Controls.Add(this.button_ExportSelectedProfiles); this.Controls.Add(this.button_ExportActiveProfile); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "ExportDialog"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Export Scene"; this.Load += new System.EventHandler(this.ExportDialog_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.settingsBox.ResumeLayout(false); this.settingsBox.PerformLayout(); this.groupBox2.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("Need new compliance:", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("Last compliance", System.Windows.Forms.HorizontalAlignment.Left); this.NextEstimated = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.NextLimit = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.NextEstimatedData = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.NextLimitData = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnWorkType = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnRemarks = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.panelContainer.SuspendLayout(); this.SuspendLayout(); // // listViewCompliance // this.listViewCompliance.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnWorkType, this.NextEstimated, this.NextEstimatedData, this.NextLimit, this.NextLimitData, this.columnRemarks }); this.listViewCompliance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.listViewCompliance.ForeColor = System.Drawing.SystemColors.ControlText; this.listViewCompliance.GridLines = false; listViewGroup1.Header = "Need new compliance:"; listViewGroup1.Name = "GroupNewCompliance"; listViewGroup2.Header = "Last compliance"; listViewGroup2.Name = "ListViewGroupLast"; this.listViewCompliance.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup1, listViewGroup2 }); this.listViewCompliance.ShowItemToolTips = true; this.listViewCompliance.Size = new System.Drawing.Size(845, 238); this.listViewCompliance.Click += new System.EventHandler(this.ListViewComplainceClick); this.listViewCompliance.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.ListViewComplainceMouseDoubleClick); // // ButtonAdd // this.ButtonAdd.Location = new System.Drawing.Point(3, 244); this.ButtonAdd.Click += new System.EventHandler(this.ButtonAddClick); // // ButtonEdit // this.ButtonEdit.Location = new System.Drawing.Point(118, 244); this.ButtonEdit.Click += new System.EventHandler(this.ButtonEditClick); // // ButtonDelete // this.ButtonDelete.Location = new System.Drawing.Point(237, 244); this.ButtonDelete.Click += new System.EventHandler(this.ButtonDeleteClick); // // panelContainer // this.panelContainer.Size = new System.Drawing.Size(845, 301); // // NextEstimated // this.NextEstimated.Text = "Next(E)"; this.NextEstimated.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.NextEstimated.Width = 80; // // NextEstimatedData // this.NextEstimatedData.Text = "Next Estimated Data"; this.NextEstimatedData.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.NextEstimatedData.Width = 150; // // NextLimit // this.NextLimit.Text = "Next(L)"; this.NextLimit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.NextLimit.Width = 80; // // NextEstimatedData // this.NextLimitData.Text = "Next Limit Data"; this.NextLimitData.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.NextLimitData.Width = 120; // // columnWorkType // this.columnWorkType.Text = "WorkType"; this.columnWorkType.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.columnWorkType.Width = 200; // // columnRemarks // this.columnRemarks.Text = "Remarks"; this.columnRemarks.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.columnRemarks.Width = 200; // // DirectiveComplianceControl // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241))))); this.Name = "DirectiveComplianceControl"; this.Size = new System.Drawing.Size(851, 350); this.panelContainer.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.Windows.Forms.ListViewGroup listViewGroup = new System.Windows.Forms.ListViewGroup("", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup3 = new System.Windows.Forms.ListViewGroup("", System.Windows.Forms.HorizontalAlignment.Left); errorGroup = new System.Windows.Forms.GroupBox(); listError = new System.Windows.Forms.ListView(); errorDescriptionColumn = new System.Windows.Forms.ColumnHeader(); errorSourceColumn = new System.Windows.Forms.ColumnHeader(); fileOffsetColumn = new System.Windows.Forms.ColumnHeader(); btnOK = new System.Windows.Forms.Button(); errorGroup.SuspendLayout(); SuspendLayout(); errorGroup.Controls.Add(listError); errorGroup.Location = new System.Drawing.Point(12, 12); errorGroup.Name = "errorGroup"; errorGroup.Size = new System.Drawing.Size(456, 261); errorGroup.TabIndex = 1; errorGroup.Text = Microsoft.Tools.ServiceModel.TraceViewer.SR.GetString("LE_GErrors"); listError.Columns.AddRange(new System.Windows.Forms.ColumnHeader[3] { errorDescriptionColumn, errorSourceColumn, fileOffsetColumn }); listError.FullRowSelect = true; listViewGroup.Header = Microsoft.Tools.ServiceModel.TraceViewer.SR.GetString("LE_GPFError"); listViewGroup.Name = "fileErrorGroup"; listViewGroup2.Header = Microsoft.Tools.ServiceModel.TraceViewer.SR.GetString("LE_GPTError"); listViewGroup2.Name = "traceRecordErrorGroup"; listViewGroup3.Header = Microsoft.Tools.ServiceModel.TraceViewer.SR.GetString("LE_GPUError"); listViewGroup3.Name = "unknownErrorGroup"; listError.Groups.AddRange(new System.Windows.Forms.ListViewGroup[3] { listViewGroup, listViewGroup2, listViewGroup3 }); listError.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; listError.Location = new System.Drawing.Point(6, 19); listError.MultiSelect = false; listError.Name = "listError"; listError.ShowItemToolTips = true; listError.Size = new System.Drawing.Size(444, 236); listError.TabIndex = 2; listError.View = System.Windows.Forms.View.Details; errorDescriptionColumn.Text = Microsoft.Tools.ServiceModel.TraceViewer.SR.GetString("LE_DescriptionCol"); errorDescriptionColumn.Width = 150; errorSourceColumn.Text = Microsoft.Tools.ServiceModel.TraceViewer.SR.GetString("LE_SourceCol"); errorSourceColumn.Width = 150; fileOffsetColumn.Text = Microsoft.Tools.ServiceModel.TraceViewer.SR.GetString("LE_OffsetCol"); btnOK.DialogResult = System.Windows.Forms.DialogResult.Cancel; btnOK.Location = new System.Drawing.Point(386, 287); btnOK.Name = "btnOK"; btnOK.Size = new System.Drawing.Size(75, 23); btnOK.TabIndex = 0; btnOK.Text = Microsoft.Tools.ServiceModel.TraceViewer.SR.GetString("Btn_OK"); btnOK.Click += new System.EventHandler(btnOK_Click); base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.CancelButton = btnOK; base.AcceptButton = btnOK; base.ClientSize = new System.Drawing.Size(480, 322); base.Controls.Add(btnOK); base.Controls.Add(errorGroup); base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.ShowInTaskbar = false; base.Name = "FileLoadingReport"; Text = Microsoft.Tools.ServiceModel.TraceViewer.SR.GetString("LE_Title"); base.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; errorGroup.ResumeLayout(performLayout: false); ResumeLayout(performLayout: false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.ListViewGroup listViewGroup7 = new System.Windows.Forms.ListViewGroup("First Group", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup8 = new System.Windows.Forms.ListViewGroup("Second Group", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewItem listViewItem61 = new System.Windows.Forms.ListViewItem("Hello Item 1"); System.Windows.Forms.ListViewItem listViewItem62 = new System.Windows.Forms.ListViewItem("Hello Item 2"); System.Windows.Forms.ListViewItem listViewItem63 = new System.Windows.Forms.ListViewItem("Hello Item 3"); System.Windows.Forms.ListViewItem listViewItem64 = new System.Windows.Forms.ListViewItem("Hello Item 4"); System.Windows.Forms.ListViewItem listViewItem65 = new System.Windows.Forms.ListViewItem("Hello Item 5"); System.Windows.Forms.ListViewItem listViewItem66 = new System.Windows.Forms.ListViewItem("Hello Item 6"); System.Windows.Forms.ListViewItem listViewItem67 = new System.Windows.Forms.ListViewItem("Hello Item 7"); System.Windows.Forms.ListViewItem listViewItem68 = new System.Windows.Forms.ListViewItem("Hello Item 8"); System.Windows.Forms.ListViewItem listViewItem69 = new System.Windows.Forms.ListViewItem("Hello Item 9"); System.Windows.Forms.ListViewItem listViewItem70 = new System.Windows.Forms.ListViewItem("Hello Item 10"); System.Windows.Forms.ListViewItem listViewItem71 = new System.Windows.Forms.ListViewItem("Hello Item 11"); System.Windows.Forms.ListViewItem listViewItem72 = new System.Windows.Forms.ListViewItem("Hello Item 12"); System.Windows.Forms.ListViewItem listViewItem73 = new System.Windows.Forms.ListViewItem("Hello Item 13"); System.Windows.Forms.ListViewItem listViewItem74 = new System.Windows.Forms.ListViewItem("Hello Item 14"); System.Windows.Forms.ListViewItem listViewItem75 = new System.Windows.Forms.ListViewItem("Hello Item 15"); System.Windows.Forms.ListViewItem listViewItem76 = new System.Windows.Forms.ListViewItem("Hello Item 16"); System.Windows.Forms.ListViewItem listViewItem77 = new System.Windows.Forms.ListViewItem("Hello Item 17"); System.Windows.Forms.ListViewItem listViewItem78 = new System.Windows.Forms.ListViewItem("Hello Item 18"); System.Windows.Forms.ListViewItem listViewItem79 = new System.Windows.Forms.ListViewItem("Hello Item 19"); System.Windows.Forms.ListViewItem listViewItem80 = new System.Windows.Forms.ListViewItem("Hello Item 20, Filler, Filler, Filler, Filler, Filler, Filler, Filler, Filler, Fi" + "ller, Filler, Filler, Filler, Filler, Filler, Filler, Filler"); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlDialog)); System.Windows.Forms.TreeNode treeNode70 = new System.Windows.Forms.TreeNode("Node1"); System.Windows.Forms.TreeNode treeNode71 = new System.Windows.Forms.TreeNode("Node2"); System.Windows.Forms.TreeNode treeNode72 = new System.Windows.Forms.TreeNode("Node3"); System.Windows.Forms.TreeNode treeNode73 = new System.Windows.Forms.TreeNode("Node4"); System.Windows.Forms.TreeNode treeNode74 = new System.Windows.Forms.TreeNode("Node5"); System.Windows.Forms.TreeNode treeNode75 = new System.Windows.Forms.TreeNode("Node0", new System.Windows.Forms.TreeNode[] { treeNode70, treeNode71, treeNode72, treeNode73, treeNode74 }); System.Windows.Forms.TreeNode treeNode76 = new System.Windows.Forms.TreeNode("Node7"); System.Windows.Forms.TreeNode treeNode77 = new System.Windows.Forms.TreeNode("Node8"); System.Windows.Forms.TreeNode treeNode78 = new System.Windows.Forms.TreeNode("Node9"); System.Windows.Forms.TreeNode treeNode79 = new System.Windows.Forms.TreeNode("Node10"); System.Windows.Forms.TreeNode treeNode80 = new System.Windows.Forms.TreeNode("Node11"); System.Windows.Forms.TreeNode treeNode81 = new System.Windows.Forms.TreeNode("Node12"); System.Windows.Forms.TreeNode treeNode82 = new System.Windows.Forms.TreeNode("Node6", new System.Windows.Forms.TreeNode[] { treeNode76, treeNode77, treeNode78, treeNode79, treeNode80, treeNode81 }); System.Windows.Forms.TreeNode treeNode83 = new System.Windows.Forms.TreeNode("Node14"); System.Windows.Forms.TreeNode treeNode84 = new System.Windows.Forms.TreeNode("Node15"); System.Windows.Forms.TreeNode treeNode85 = new System.Windows.Forms.TreeNode("Node16"); System.Windows.Forms.TreeNode treeNode86 = new System.Windows.Forms.TreeNode("Node17"); System.Windows.Forms.TreeNode treeNode87 = new System.Windows.Forms.TreeNode("Node18"); System.Windows.Forms.TreeNode treeNode88 = new System.Windows.Forms.TreeNode("Node19"); System.Windows.Forms.TreeNode treeNode89 = new System.Windows.Forms.TreeNode("Node20"); System.Windows.Forms.TreeNode treeNode90 = new System.Windows.Forms.TreeNode("Node21"); System.Windows.Forms.TreeNode treeNode91 = new System.Windows.Forms.TreeNode("Node22, Filler, Filler, Filler, Filler, Filler, Filler, Filler, Filler, Filler, F" + "iller, Filler, Filler, Filler, Filler, Filler, Filler"); System.Windows.Forms.TreeNode treeNode92 = new System.Windows.Forms.TreeNode("Node13", new System.Windows.Forms.TreeNode[] { treeNode83, treeNode84, treeNode85, treeNode86, treeNode87, treeNode88, treeNode89, treeNode90, treeNode91 }); this.statusBarEx = new System.Windows.Forms.StatusBarEx(); this.customTabControl = new System.Windows.Forms.CustomTabControl(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.dataGridViewEx = new System.Windows.Forms.DataGridViewEx(); this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.propertyGridEx = new System.Windows.Forms.PropertyGridEx(); this.groupBoxEx = new System.Windows.Forms.GroupBoxEx(); this.pictureBoxEx = new System.Windows.Forms.PictureBoxEx(); this.progressBarEx = new System.Windows.Forms.ProgressBarEx(); this.buttonEx3 = new System.Windows.Forms.ButtonEx(); this.checkBoxEx4 = new System.Windows.Forms.CheckBoxEx(); this.checkBoxEx3 = new System.Windows.Forms.CheckBoxEx(); this.checkBoxEx2 = new System.Windows.Forms.CheckBoxEx(); this.buttonEx = new System.Windows.Forms.ButtonEx(); this.checkBoxEx = new System.Windows.Forms.CheckBoxEx(); this.buttonEx2 = new System.Windows.Forms.ButtonEx(); this.listBoxEx = new System.Windows.Forms.ListBoxEx(); this.listViewEx = new System.Windows.Forms.ListViewEx(); this.columnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.textBoxEx = new System.Windows.Forms.TextBoxEx(); this.treeViewEx = new System.Windows.Forms.TreeViewEx(); this.richTextBoxEx = new System.Windows.Forms.RichTextBoxEx(); this.customTabControl.SuspendLayout(); this.tabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewEx)).BeginInit(); this.groupBoxEx.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxEx)).BeginInit(); this.SuspendLayout(); // // statusBarEx // this.statusBarEx.Location = new System.Drawing.Point(0, 769); this.statusBarEx.Name = "statusBarEx"; this.statusBarEx.Size = new System.Drawing.Size(1132, 22); this.statusBarEx.TabIndex = 9; this.statusBarEx.Text = "StatusBar"; this.statusBarEx.UseTheme = true; // // customTabControl // this.customTabControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.customTabControl.Controls.Add(this.tabPage2); this.customTabControl.Controls.Add(this.tabPage1); // // // this.customTabControl.DisplayStyleProvider.BorderColor = System.Drawing.SystemColors.ControlDark; this.customTabControl.DisplayStyleProvider.BorderColorHot = System.Drawing.SystemColors.ControlDark; this.customTabControl.DisplayStyleProvider.BorderColorSelected = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(157)))), ((int)(((byte)(185))))); this.customTabControl.DisplayStyleProvider.CloserColor = System.Drawing.Color.DarkGray; this.customTabControl.DisplayStyleProvider.FocusTrack = true; this.customTabControl.DisplayStyleProvider.HotTrack = true; this.customTabControl.DisplayStyleProvider.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.customTabControl.DisplayStyleProvider.Opacity = 1F; this.customTabControl.DisplayStyleProvider.Overlap = 0; this.customTabControl.DisplayStyleProvider.Padding = new System.Drawing.Point(6, 3); this.customTabControl.DisplayStyleProvider.Radius = 2; this.customTabControl.DisplayStyleProvider.ShowTabCloser = false; this.customTabControl.DisplayStyleProvider.TextColor = System.Drawing.SystemColors.ControlText; this.customTabControl.DisplayStyleProvider.TextColorDisabled = System.Drawing.SystemColors.ControlDark; this.customTabControl.DisplayStyleProvider.TextColorSelected = System.Drawing.SystemColors.ControlText; this.customTabControl.HotTrack = true; this.customTabControl.Location = new System.Drawing.Point(413, 528); this.customTabControl.Name = "customTabControl"; this.customTabControl.SelectedIndex = 0; this.customTabControl.Size = new System.Drawing.Size(711, 233); this.customTabControl.TabIndex = 8; // // tabPage2 // this.tabPage2.Controls.Add(this.dataGridViewEx); this.tabPage2.Location = new System.Drawing.Point(4, 23); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(703, 206); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "tabPage2"; this.tabPage2.UseVisualStyleBackColor = true; // // dataGridViewEx // this.dataGridViewEx.AllowUserToAddRows = false; this.dataGridViewEx.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.dataGridViewEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.dataGridViewEx.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dataGridViewEx.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridViewEx.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Column1, this.Column2 }); this.dataGridViewEx.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridViewEx.Location = new System.Drawing.Point(0, 0); this.dataGridViewEx.Name = "dataGridViewEx"; this.dataGridViewEx.RowHeadersVisible = false; this.dataGridViewEx.Size = new System.Drawing.Size(703, 206); this.dataGridViewEx.TabIndex = 0; this.dataGridViewEx.UseTheme = true; // // Column1 // this.Column1.HeaderText = "Column1"; this.Column1.Name = "Column1"; // // Column2 // this.Column2.HeaderText = "Column2"; this.Column2.Name = "Column2"; // // tabPage1 // this.tabPage1.Location = new System.Drawing.Point(4, 23); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(703, 206); this.tabPage1.TabIndex = 2; this.tabPage1.Text = "tabPage1"; this.tabPage1.UseVisualStyleBackColor = true; // // propertyGridEx // this.propertyGridEx.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.propertyGridEx.LineColor = System.Drawing.SystemColors.ControlDark; this.propertyGridEx.Location = new System.Drawing.Point(822, 13); this.propertyGridEx.Name = "propertyGridEx"; this.propertyGridEx.Size = new System.Drawing.Size(298, 506); this.propertyGridEx.TabIndex = 7; this.propertyGridEx.ToolbarVisible = false; this.propertyGridEx.UseTheme = true; // // groupBoxEx // this.groupBoxEx.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.groupBoxEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.groupBoxEx.Controls.Add(this.pictureBoxEx); this.groupBoxEx.Controls.Add(this.progressBarEx); this.groupBoxEx.Controls.Add(this.buttonEx3); this.groupBoxEx.Controls.Add(this.checkBoxEx4); this.groupBoxEx.Controls.Add(this.checkBoxEx3); this.groupBoxEx.Controls.Add(this.checkBoxEx2); this.groupBoxEx.Controls.Add(this.buttonEx); this.groupBoxEx.Controls.Add(this.checkBoxEx); this.groupBoxEx.Controls.Add(this.buttonEx2); this.groupBoxEx.Location = new System.Drawing.Point(12, 523); this.groupBoxEx.Name = "groupBoxEx"; this.groupBoxEx.Size = new System.Drawing.Size(396, 235); this.groupBoxEx.TabIndex = 6; this.groupBoxEx.TabStop = false; this.groupBoxEx.Text = "GroupBox"; this.groupBoxEx.UseTheme = true; // // pictureBoxEx // this.pictureBoxEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.pictureBoxEx.Location = new System.Drawing.Point(221, 28); this.pictureBoxEx.Name = "pictureBoxEx"; this.pictureBoxEx.Size = new System.Drawing.Size(153, 63); this.pictureBoxEx.TabIndex = 13; this.pictureBoxEx.TabStop = false; this.pictureBoxEx.UseTheme = true; // // progressBarEx // this.progressBarEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.progressBarEx.Location = new System.Drawing.Point(25, 80); this.progressBarEx.Name = "progressBarEx"; this.progressBarEx.Size = new System.Drawing.Size(175, 11); this.progressBarEx.TabIndex = 12; this.progressBarEx.UseTheme = true; this.progressBarEx.Value = 40; // // buttonEx3 // this.buttonEx3.DisabledBackColor = System.Drawing.SystemColors.Control; this.buttonEx3.DisabledTextColor = System.Drawing.SystemColors.ControlDark; this.buttonEx3.Enabled = false; this.buttonEx3.Location = new System.Drawing.Point(25, 104); this.buttonEx3.Name = "buttonEx3"; this.buttonEx3.Size = new System.Drawing.Size(92, 30); this.buttonEx3.TabIndex = 11; this.buttonEx3.Text = "Button3"; this.buttonEx3.UseTheme = true; this.buttonEx3.UseVisualStyleBackColor = true; // // checkBoxEx4 // this.checkBoxEx4.AutoSize = true; this.checkBoxEx4.BorderColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx4.DisabledTextColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBoxEx4.Location = new System.Drawing.Point(123, 51); this.checkBoxEx4.Name = "checkBoxEx4"; this.checkBoxEx4.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.checkBoxEx4.Size = new System.Drawing.Size(78, 17); this.checkBoxEx4.TabIndex = 10; this.checkBoxEx4.Text = "Check Me4"; this.checkBoxEx4.ThreeState = true; this.checkBoxEx4.UseTheme = true; this.checkBoxEx4.UseVisualStyleBackColor = false; // // checkBoxEx3 // this.checkBoxEx3.AutoSize = true; this.checkBoxEx3.BorderColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx3.DisabledTextColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBoxEx3.Location = new System.Drawing.Point(123, 28); this.checkBoxEx3.Name = "checkBoxEx3"; this.checkBoxEx3.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.checkBoxEx3.Size = new System.Drawing.Size(78, 17); this.checkBoxEx3.TabIndex = 9; this.checkBoxEx3.Text = "Check Me3"; this.checkBoxEx3.ThreeState = true; this.checkBoxEx3.UseTheme = true; this.checkBoxEx3.UseVisualStyleBackColor = false; // // checkBoxEx2 // this.checkBoxEx2.AutoSize = true; this.checkBoxEx2.BorderColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx2.DisabledTextColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBoxEx2.Location = new System.Drawing.Point(25, 51); this.checkBoxEx2.Name = "checkBoxEx2"; this.checkBoxEx2.Size = new System.Drawing.Size(78, 17); this.checkBoxEx2.TabIndex = 8; this.checkBoxEx2.Text = "Check Me2"; this.checkBoxEx2.ThreeState = true; this.checkBoxEx2.UseTheme = true; this.checkBoxEx2.UseVisualStyleBackColor = false; // // buttonEx // this.buttonEx.DisabledBackColor = System.Drawing.SystemColors.Control; this.buttonEx.DisabledTextColor = System.Drawing.SystemColors.ControlDark; this.buttonEx.Location = new System.Drawing.Point(25, 180); this.buttonEx.Name = "buttonEx"; this.buttonEx.Size = new System.Drawing.Size(92, 30); this.buttonEx.TabIndex = 7; this.buttonEx.Text = "Button1"; this.buttonEx.UseTheme = true; this.buttonEx.UseVisualStyleBackColor = true; // // checkBoxEx // this.checkBoxEx.AutoSize = true; this.checkBoxEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx.DisabledTextColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBoxEx.Location = new System.Drawing.Point(25, 28); this.checkBoxEx.Name = "checkBoxEx"; this.checkBoxEx.Size = new System.Drawing.Size(78, 17); this.checkBoxEx.TabIndex = 6; this.checkBoxEx.Text = "Check Me1"; this.checkBoxEx.UseTheme = true; this.checkBoxEx.UseVisualStyleBackColor = false; // // buttonEx2 // this.buttonEx2.DisabledBackColor = System.Drawing.SystemColors.Control; this.buttonEx2.DisabledTextColor = System.Drawing.SystemColors.ControlDark; this.buttonEx2.Location = new System.Drawing.Point(25, 142); this.buttonEx2.Name = "buttonEx2"; this.buttonEx2.Size = new System.Drawing.Size(92, 30); this.buttonEx2.TabIndex = 5; this.buttonEx2.Text = "Button2"; this.buttonEx2.UseTheme = true; this.buttonEx2.UseVisualStyleBackColor = true; // // listBoxEx // this.listBoxEx.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.listBoxEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.listBoxEx.FormattingEnabled = true; this.listBoxEx.IntegralHeight = false; this.listBoxEx.Location = new System.Drawing.Point(553, 13); this.listBoxEx.Name = "listBoxEx"; this.listBoxEx.Size = new System.Drawing.Size(261, 280); this.listBoxEx.TabIndex = 4; this.listBoxEx.UseTheme = true; // // listViewEx // this.listViewEx.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.listViewEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.listViewEx.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader, this.columnHeader1 }); this.listViewEx.GridLineColor = System.Drawing.SystemColors.Control; listViewGroup7.Header = "First Group"; listViewGroup7.Name = "listViewGroup"; listViewGroup8.Header = "Second Group"; listViewGroup8.Name = "listViewGroup2"; this.listViewEx.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup7, listViewGroup8 }); listViewItem61.Group = listViewGroup7; listViewItem62.Group = listViewGroup7; listViewItem63.Group = listViewGroup7; listViewItem64.Group = listViewGroup7; listViewItem65.Group = listViewGroup7; listViewItem66.Group = listViewGroup7; listViewItem67.Group = listViewGroup7; listViewItem68.Group = listViewGroup7; listViewItem69.Group = listViewGroup7; listViewItem70.Group = listViewGroup7; listViewItem71.Group = listViewGroup8; listViewItem72.Group = listViewGroup8; listViewItem73.Group = listViewGroup8; listViewItem74.Group = listViewGroup8; listViewItem75.Group = listViewGroup8; listViewItem76.Group = listViewGroup8; listViewItem77.Group = listViewGroup8; listViewItem78.Group = listViewGroup8; listViewItem79.Group = listViewGroup8; listViewItem80.Group = listViewGroup8; this.listViewEx.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem61, listViewItem62, listViewItem63, listViewItem64, listViewItem65, listViewItem66, listViewItem67, listViewItem68, listViewItem69, listViewItem70, listViewItem71, listViewItem72, listViewItem73, listViewItem74, listViewItem75, listViewItem76, listViewItem77, listViewItem78, listViewItem79, listViewItem80 }); this.listViewEx.Location = new System.Drawing.Point(12, 301); this.listViewEx.Name = "listViewEx"; this.listViewEx.OwnerDraw = true; this.listViewEx.Size = new System.Drawing.Size(396, 218); this.listViewEx.TabIndex = 3; this.listViewEx.UseCompatibleStateImageBehavior = false; this.listViewEx.UseTheme = true; this.listViewEx.View = System.Windows.Forms.View.Details; // // columnHeader // this.columnHeader.Text = "Column1"; this.columnHeader.Width = 277; // // columnHeader1 // this.columnHeader1.Text = "Column2"; this.columnHeader1.Width = 98; // // textBoxEx // this.textBoxEx.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textBoxEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.textBoxEx.Location = new System.Drawing.Point(282, 12); this.textBoxEx.Multiline = true; this.textBoxEx.Name = "textBoxEx"; this.textBoxEx.Size = new System.Drawing.Size(262, 281); this.textBoxEx.TabIndex = 2; this.textBoxEx.Text = resources.GetString("textBoxEx.Text"); this.textBoxEx.UseTheme = true; // // treeViewEx // this.treeViewEx.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.treeViewEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.treeViewEx.Location = new System.Drawing.Point(416, 301); this.treeViewEx.Name = "treeViewEx"; treeNode70.Name = "Node1"; treeNode70.Text = "Node1"; treeNode71.Name = "Node2"; treeNode71.Text = "Node2"; treeNode72.Name = "Node3"; treeNode72.Text = "Node3"; treeNode73.Name = "Node4"; treeNode73.Text = "Node4"; treeNode74.Name = "Node5"; treeNode74.Text = "Node5"; treeNode75.Name = "Node0"; treeNode75.Text = "Node0"; treeNode76.Name = "Node7"; treeNode76.Text = "Node7"; treeNode77.Name = "Node8"; treeNode77.Text = "Node8"; treeNode78.Name = "Node9"; treeNode78.Text = "Node9"; treeNode79.Name = "Node10"; treeNode79.Text = "Node10"; treeNode80.Name = "Node11"; treeNode80.Text = "Node11"; treeNode81.Name = "Node12"; treeNode81.Text = "Node12"; treeNode82.Name = "Node6"; treeNode82.Text = "Node6"; treeNode83.Name = "Node14"; treeNode83.Text = "Node14"; treeNode84.Name = "Node15"; treeNode84.Text = "Node15"; treeNode85.Name = "Node16"; treeNode85.Text = "Node16"; treeNode86.Name = "Node17"; treeNode86.Text = "Node17"; treeNode87.Name = "Node18"; treeNode87.Text = "Node18"; treeNode88.Name = "Node19"; treeNode88.Text = "Node19"; treeNode89.Name = "Node20"; treeNode89.Text = "Node20"; treeNode90.Name = "Node21"; treeNode90.Text = "Node21"; treeNode91.Name = "Node22"; treeNode91.Text = "Node22, Filler, Filler, Filler, Filler, Filler, Filler, Filler, Filler, Filler, F" + "iller, Filler, Filler, Filler, Filler, Filler, Filler"; treeNode92.Name = "Node13"; treeNode92.Text = "Node13"; this.treeViewEx.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { treeNode75, treeNode82, treeNode92 }); this.treeViewEx.Size = new System.Drawing.Size(398, 218); this.treeViewEx.TabIndex = 1; this.treeViewEx.UseTheme = true; // // richTextBoxEx // this.richTextBoxEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.richTextBoxEx.Location = new System.Drawing.Point(12, 12); this.richTextBoxEx.Name = "richTextBoxEx"; this.richTextBoxEx.Size = new System.Drawing.Size(262, 281); this.richTextBoxEx.TabIndex = 0; this.richTextBoxEx.Text = resources.GetString("richTextBoxEx.Text"); this.richTextBoxEx.UseTheme = true; // // ControlDialog // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1132, 791); this.Controls.Add(this.statusBarEx); this.Controls.Add(this.customTabControl); this.Controls.Add(this.propertyGridEx); this.Controls.Add(this.groupBoxEx); this.Controls.Add(this.listBoxEx); this.Controls.Add(this.listViewEx); this.Controls.Add(this.textBoxEx); this.Controls.Add(this.treeViewEx); this.Controls.Add(this.richTextBoxEx); this.DoubleBuffered = true; this.MinimumSize = new System.Drawing.Size(1000, 700); this.Name = "ControlDialog"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "ControlDialog"; this.customTabControl.ResumeLayout(false); this.tabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewEx)).EndInit(); this.groupBoxEx.ResumeLayout(false); this.groupBoxEx.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxEx)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
public ListViewItem(ListViewSubItem[] subItems, string imageKey, ListViewGroup group) : this(subItems, imageKey) { Group = group; }
/// <summary> /// Initialize a new limit reserve viewer /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("CSC Limits", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("IROL Limits", System.Windows.Forms.HorizontalAlignment.Left); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MM_Limit_Reserve_Viewer)); this.lv = new System.Windows.Forms.ListView(); this.colName = new System.Windows.Forms.ColumnHeader(); this.colValue = new System.Windows.Forms.ColumnHeader(); this.tmrUpdate = new System.Windows.Forms.Timer(this.components); this.tcMain = new System.Windows.Forms.TabControl(); this.tpCurrent = new System.Windows.Forms.TabPage(); this.tpHistoric = new System.Windows.Forms.TabPage(); this.tcMain.SuspendLayout(); this.tpCurrent.SuspendLayout(); this.SuspendLayout(); // // lv // this.lv.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.colName, this.colValue }); this.lv.Dock = System.Windows.Forms.DockStyle.Fill; listViewGroup1.Header = "CSC Limits"; listViewGroup1.Name = "CSC Limits"; listViewGroup2.Header = "IROL Limits"; listViewGroup2.Name = "IROL Limits"; this.lv.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup1, listViewGroup2 }); this.lv.Location = new System.Drawing.Point(3, 3); this.lv.Name = "lv"; this.lv.Size = new System.Drawing.Size(805, 394); this.lv.TabIndex = 0; this.lv.UseCompatibleStateImageBehavior = false; this.lv.View = System.Windows.Forms.View.Details; // // colName // this.colName.Text = "Name"; this.colName.Width = 250; // // colValue // this.colValue.Text = "Value"; this.colValue.Width = 216; // // tmrUpdate // this.tmrUpdate.Enabled = true; this.tmrUpdate.Interval = 1000; this.tmrUpdate.Tick += new System.EventHandler(this.tmrUpdate_Tick); // // tcMain // this.tcMain.Controls.Add(this.tpCurrent); this.tcMain.Controls.Add(this.tpHistoric); this.tcMain.Dock = System.Windows.Forms.DockStyle.Fill; this.tcMain.Location = new System.Drawing.Point(0, 0); this.tcMain.Name = "tcMain"; this.tcMain.SelectedIndex = 0; this.tcMain.Size = new System.Drawing.Size(819, 426); this.tcMain.TabIndex = 1; // // tpCurrent // this.tpCurrent.Controls.Add(this.lv); this.tpCurrent.Location = new System.Drawing.Point(4, 22); this.tpCurrent.Name = "tpCurrent"; this.tpCurrent.Padding = new System.Windows.Forms.Padding(3); this.tpCurrent.Size = new System.Drawing.Size(811, 400); this.tpCurrent.TabIndex = 0; this.tpCurrent.Text = "Current"; this.tpCurrent.UseVisualStyleBackColor = true; // // tpHistoric // this.tpHistoric.Location = new System.Drawing.Point(4, 22); this.tpHistoric.Name = "tpHistoric"; this.tpHistoric.Padding = new System.Windows.Forms.Padding(3); this.tpHistoric.Size = new System.Drawing.Size(239, 296); this.tpHistoric.TabIndex = 1; this.tpHistoric.Text = "Historic"; this.tpHistoric.UseVisualStyleBackColor = true; // // Limit_Reserve_Viewer // this.ClientSize = new System.Drawing.Size(819, 426); this.Controls.Add(this.tcMain); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Icon = Properties.Resources.CompanyIcon; this.Name = "Limit_Reserve_Viewer"; this.StartPosition = System.Windows.Forms.FormStartPosition.WindowsDefaultBounds; this.Text = "Limits and Reserves"; this.tcMain.ResumeLayout(false); this.tpCurrent.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.ListViewGroup listViewGroup25 = new System.Windows.Forms.ListViewGroup("Randomized keys", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup26 = new System.Windows.Forms.ListViewGroup("Event Keys", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup27 = new System.Windows.Forms.ListViewGroup("Setting Keys", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup28 = new System.Windows.Forms.ListViewGroup("Custom Keys", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewItem listViewItem49 = new System.Windows.Forms.ListViewItem("Morph"); System.Windows.Forms.ListViewItem listViewItem50 = new System.Windows.Forms.ListViewItem("Bombs"); System.Windows.Forms.ListViewItem listViewItem51 = new System.Windows.Forms.ListViewItem("Missiles"); System.Windows.Forms.ListViewItem listViewItem52 = new System.Windows.Forms.ListViewItem("Hi-Jump"); System.Windows.Forms.ListViewItem listViewItem53 = new System.Windows.Forms.ListViewItem("Ziplines"); System.Windows.Forms.ListViewItem listViewItem54 = new System.Windows.Forms.ListViewItem("Unknown Item 1 trigger"); System.Windows.Forms.ListViewItem listViewItem55 = new System.Windows.Forms.ListViewItem("Can Walljump"); System.Windows.Forms.ListViewItem listViewItem56 = new System.Windows.Forms.ListViewItem("Morph Jump"); this.listView1 = new System.Windows.Forms.ListView(); this.KeyName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.treeView1 = new RandoEditor.CustomControl.TreeViewScroll(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.SuspendLayout(); // // listView1 // this.listView1.Alignment = System.Windows.Forms.ListViewAlignment.Left; this.listView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.KeyName }); listViewGroup25.Header = "Randomized keys"; listViewGroup25.Name = "listViewGroupRandom"; listViewGroup26.Header = "Event Keys"; listViewGroup26.Name = "listViewGroupEvents"; listViewGroup27.Header = "Setting Keys"; listViewGroup27.Name = "listViewGroupSettings"; listViewGroup28.Header = "Custom Keys"; listViewGroup28.Name = "listViewGroupCustom"; this.listView1.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup25, listViewGroup26, listViewGroup27, listViewGroup28 }); this.listView1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.listView1.HideSelection = false; listViewItem49.Group = listViewGroup25; listViewItem50.Group = listViewGroup25; listViewItem51.Group = listViewGroup25; listViewItem52.Group = listViewGroup25; listViewItem53.Group = listViewGroup26; listViewItem54.Group = listViewGroup26; listViewItem55.Group = listViewGroup27; listViewItem56.Group = listViewGroup28; this.listView1.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem49, listViewItem50, listViewItem51, listViewItem52, listViewItem53, listViewItem54, listViewItem55, listViewItem56 }); this.listView1.Location = new System.Drawing.Point(-2, -2); this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(260, 220); this.listView1.TabIndex = 3; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; this.listView1.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.listView1_ItemDrag); // // KeyName // this.KeyName.Width = 120; // // splitContainer1 // this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.splitContainer1.Location = new System.Drawing.Point(0, 0); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.treeView1); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.listView1); this.splitContainer1.Size = new System.Drawing.Size(263, 445); this.splitContainer1.SplitterDistance = 221; this.splitContainer1.TabIndex = 4; // // treeView1 // this.treeView1.AllowDrop = true; this.treeView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.treeView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeView1.CausesValidation = false; this.treeView1.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawText; this.treeView1.ItemHeight = 22; this.treeView1.Location = new System.Drawing.Point(-2, -2); this.treeView1.Name = "treeView1"; this.treeView1.Size = new System.Drawing.Size(263, 224); this.treeView1.TabIndex = 0; this.treeView1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.treeView1_Scroll); this.treeView1.BeforeCollapse += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView1_BeforeCollapse); this.treeView1.AfterCollapse += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterCollapse); this.treeView1.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView1_BeforeExpand); this.treeView1.AfterExpand += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterExpand); this.treeView1.DrawNode += new System.Windows.Forms.DrawTreeNodeEventHandler(this.treeView1_DrawNode); this.treeView1.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.treeView1_ItemDrag); this.treeView1.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseClick); this.treeView1.DragDrop += new System.Windows.Forms.DragEventHandler(this.treeView1_DragDrop); this.treeView1.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeView1_DragEnter); this.treeView1.DragOver += new System.Windows.Forms.DragEventHandler(this.treeView1_DragOver); this.treeView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown); this.treeView1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.treeView1_KeyPress); this.treeView1.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.treeView1_MouseWheel); // // LockPanelLogic // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.splitContainer1); this.Name = "LockPanelLogic"; this.Size = new System.Drawing.Size(263, 445); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// デザイナ サポートに必要なメソッドです。このメソッドの内容を /// コード エディタで変更しないでください。 /// </summary> private void InitializeComponent() { System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("ListViewGroup", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("ListViewGroup", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup3 = new System.Windows.Forms.ListViewGroup("ListViewGroup", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("DEFAULT_JP"); this.listDictionaries = new ListView(); this.lblAvailableDictionaries = new System.Windows.Forms.Label(); this.btnOK = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.btnUp = new System.Windows.Forms.Button(); this.btnDown = new System.Windows.Forms.Button(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.SuspendLayout(); // // listDictionaries // this.listDictionaries.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.listDictionaries.CheckBoxes = true; this.listDictionaries.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1 }); listViewGroup1.Header = "ListViewGroup"; listViewGroup1.Name = null; listViewGroup2.Header = "ListViewGroup"; listViewGroup2.Name = null; listViewGroup3.Header = "ListViewGroup"; listViewGroup3.Name = null; this.listDictionaries.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup1, listViewGroup2, listViewGroup3 }); this.listDictionaries.HideSelection = false; listViewItem1.Checked = true; listViewItem1.Group = listViewGroup3; listViewItem1.StateImageIndex = 1; this.listDictionaries.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1 }); this.listDictionaries.Location = new System.Drawing.Point(12, 33); this.listDictionaries.Name = "listDictionaries"; this.listDictionaries.Size = new System.Drawing.Size(248, 186); this.listDictionaries.TabIndex = 0; this.listDictionaries.UseCompatibleStateImageBehavior = false; this.listDictionaries.View = System.Windows.Forms.View.List; // // lblAvailableDictionaries // this.lblAvailableDictionaries.AutoSize = true; this.lblAvailableDictionaries.Location = new System.Drawing.Point(12, 13); this.lblAvailableDictionaries.Name = "lblAvailableDictionaries"; this.lblAvailableDictionaries.Size = new System.Drawing.Size(117, 12); this.lblAvailableDictionaries.TabIndex = 1; this.lblAvailableDictionaries.Text = "Available Dictionaries"; // // btnOK // this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnOK.Location = new System.Drawing.Point(91, 277); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 4; this.btnOK.Text = "OK"; this.btnOK.UseVisualStyleBackColor = true; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(185, 277); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 3; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnUp // this.btnUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnUp.Location = new System.Drawing.Point(142, 229); this.btnUp.Name = "btnUp"; this.btnUp.Size = new System.Drawing.Size(56, 23); this.btnUp.TabIndex = 5; this.btnUp.Text = "Up"; this.btnUp.UseVisualStyleBackColor = true; this.btnUp.Click += new System.EventHandler(this.btnUp_Click); // // btnDown // this.btnDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnDown.Location = new System.Drawing.Point(204, 229); this.btnDown.Name = "btnDown"; this.btnDown.Size = new System.Drawing.Size(56, 23); this.btnDown.TabIndex = 6; this.btnDown.Text = "Down"; this.btnDown.UseVisualStyleBackColor = true; this.btnDown.Click += new System.EventHandler(this.btnDown_Click); // // FormWordDictionaryUiImpl // this.AcceptButton = this.btnOK; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(272, 315); this.Controls.Add(this.btnDown); this.Controls.Add(this.btnUp); this.Controls.Add(this.btnOK); this.Controls.Add(this.btnCancel); this.Controls.Add(this.lblAvailableDictionaries); this.Controls.Add(this.listDictionaries); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormWordDictionaryUiImpl"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "User Dictionary Configuration"; this.Load += new System.EventHandler(this.FormWordDictionaryUiImpl_Load); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormWordDictionaryUiImpl_FormClosing); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FileListView)); System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("始终更新的文件", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("依赖于对比检测的文件", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup3 = new System.Windows.Forms.ListViewGroup("不存在时才更新", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup4 = new System.Windows.Forms.ListViewGroup("忽略更新", System.Windows.Forms.HorizontalAlignment.Left); this.colIndex = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colPath = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colSize = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colVersion = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colDetectMethod = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colExt = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.imgs = new System.Windows.Forms.ImageList(this.components); this.itemCtxMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.tsUpdateMethodAlways = new System.Windows.Forms.ToolStripMenuItem(); this.tsUpdateMethodCompare = new System.Windows.Forms.ToolStripMenuItem(); this.tsUpdateMethodOnlyNotExist = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.tsUpdateMethodIgnore = new System.Windows.Forms.ToolStripMenuItem(); this.itemCtxMenu.SuspendLayout(); this.SuspendLayout(); // // colIndex // this.colIndex.Text = "序号"; // // colPath // this.colPath.Text = "文件路径"; // // colSize // this.colSize.Text = "文件大小"; // // colVersion // this.colVersion.Text = "版本"; // // colDetectMethod // this.colDetectMethod.Text = "检测方式"; // // colExt // this.colExt.Text = "扩展名"; // // imgs // this.imgs.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgs.ImageStream"))); this.imgs.TransparentColor = System.Drawing.Color.Transparent; this.imgs.Images.SetKeyName(0, "1111.png"); this.imgs.Images.SetKeyName(1, "2222.png"); // // itemCtxMenu // this.itemCtxMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsUpdateMethodAlways, this.tsUpdateMethodCompare, this.tsUpdateMethodOnlyNotExist, this.toolStripSeparator1, this.tsUpdateMethodIgnore }); this.itemCtxMenu.Name = "itemCtxMenu"; this.itemCtxMenu.Size = new System.Drawing.Size(185, 98); // // tsUpdateMethodAlways // this.tsUpdateMethodAlways.Name = "tsUpdateMethodAlways"; this.tsUpdateMethodAlways.Size = new System.Drawing.Size(184, 22); this.tsUpdateMethodAlways.Text = "始终更新"; // // tsUpdateMethodCompare // this.tsUpdateMethodCompare.Name = "tsUpdateMethodCompare"; this.tsUpdateMethodCompare.Size = new System.Drawing.Size(184, 22); this.tsUpdateMethodCompare.Text = "按需更新..."; // // tsUpdateMethodOnlyNotExist // this.tsUpdateMethodOnlyNotExist.Name = "tsUpdateMethodOnlyNotExist"; this.tsUpdateMethodOnlyNotExist.Size = new System.Drawing.Size(184, 22); this.tsUpdateMethodOnlyNotExist.Text = "仅当不存在时才更新"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(181, 6); // // tsUpdateMethodIgnore // this.tsUpdateMethodIgnore.Name = "tsUpdateMethodIgnore"; this.tsUpdateMethodIgnore.Size = new System.Drawing.Size(184, 22); this.tsUpdateMethodIgnore.Text = "忽略更新(&I)"; // // FileListView // this.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.colIndex, this.colPath, this.colExt, this.colDetectMethod, this.colSize, this.colVersion }); this.ContextMenuStrip = this.itemCtxMenu; this.FullRowSelect = true; listViewGroup1.Header = "始终更新的文件"; listViewGroup1.Name = "gpAlways"; listViewGroup2.Header = "依赖于对比检测的文件"; listViewGroup2.Name = "gpVersionCompare"; listViewGroup3.Header = "不存在时才更新"; listViewGroup3.Name = "gpExistAndSkip"; listViewGroup4.Header = "忽略更新"; listViewGroup4.Name = "gpIgnore"; this.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup1, listViewGroup2, listViewGroup3, listViewGroup4 }); this.HideSelection = false; this.ShowItemToolTips = true; this.SmallImageList = this.imgs; this.View = System.Windows.Forms.View.Details; this.itemCtxMenu.ResumeLayout(false); this.ResumeLayout(false); }
public int Compare(System.Windows.Forms.ListViewGroup x, System.Windows.Forms.ListViewGroup y) { return(x.Name.CompareTo(y.Name)); }
private void InitializeComponent() { System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("File Types", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("Resource Types", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("ARChive Pack (*.pac)"); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("Compressed ARChive (*.pcs)"); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("BRResource Pack (*.brres)"); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem("MSBin Message List (*.msbin)"); System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem("Sound Archive (*.brsar)"); System.Windows.Forms.ListViewItem listViewItem6 = new System.Windows.Forms.ListViewItem("Sound Stream (*.brstm)"); System.Windows.Forms.ListViewItem listViewItem7 = new System.Windows.Forms.ListViewItem("Texture (*.tex0)"); System.Windows.Forms.ListViewItem listViewItem8 = new System.Windows.Forms.ListViewItem("Palette (*.plt0)"); System.Windows.Forms.ListViewItem listViewItem9 = new System.Windows.Forms.ListViewItem("Model (*.mdl0)"); System.Windows.Forms.ListViewItem listViewItem10 = new System.Windows.Forms.ListViewItem("Character Animation (*.chr0)"); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.btnOkay = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.btnApply = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.checkBox1); this.groupBox1.Controls.Add(this.listView1); this.groupBox1.Location = new System.Drawing.Point(12, 12); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(377, 191); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "File Associations"; // // checkBox1 // this.checkBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.checkBox1.Location = new System.Drawing.Point(260, 13); this.checkBox1.Name = "checkBox1"; this.checkBox1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.checkBox1.Size = new System.Drawing.Size(104, 20); this.checkBox1.TabIndex = 5; this.checkBox1.Text = "Check All"; this.checkBox1.UseVisualStyleBackColor = true; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // listView1 // this.listView1.AutoArrange = false; this.listView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.listView1.CheckBoxes = true; this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1 }); this.listView1.Dock = System.Windows.Forms.DockStyle.Bottom; listViewGroup1.Header = "File Types"; listViewGroup1.Name = "grpFileTypes"; listViewGroup2.Header = "Resource Types"; listViewGroup2.Name = "grpResTypes"; this.listView1.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup1, listViewGroup2 }); this.listView1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.listView1.HideSelection = false; listViewItem1.Group = listViewGroup1; listViewItem1.StateImageIndex = 0; listViewItem1.Tag = ""; listViewItem2.Group = listViewGroup1; listViewItem2.StateImageIndex = 0; listViewItem2.Tag = ""; listViewItem3.Group = listViewGroup1; listViewItem3.StateImageIndex = 0; listViewItem3.Tag = ""; listViewItem4.Group = listViewGroup1; listViewItem4.StateImageIndex = 0; listViewItem4.Tag = ""; listViewItem5.Group = listViewGroup1; listViewItem5.StateImageIndex = 0; listViewItem6.Group = listViewGroup1; listViewItem6.StateImageIndex = 0; listViewItem7.Group = listViewGroup2; listViewItem7.StateImageIndex = 0; listViewItem8.Group = listViewGroup2; listViewItem8.StateImageIndex = 0; listViewItem9.Group = listViewGroup2; listViewItem9.StateImageIndex = 0; listViewItem10.Group = listViewGroup2; listViewItem10.StateImageIndex = 0; this.listView1.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2, listViewItem3, listViewItem4, listViewItem5, listViewItem6, listViewItem7, listViewItem8, listViewItem9, listViewItem10 }); this.listView1.Location = new System.Drawing.Point(3, 37); this.listView1.MultiSelect = false; this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(371, 151); this.listView1.TabIndex = 6; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; this.listView1.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.listView1_ItemChecked); // // columnHeader1 // this.columnHeader1.Text = "Name"; this.columnHeader1.Width = 300; // // btnOkay // this.btnOkay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnOkay.Location = new System.Drawing.Point(152, 246); this.btnOkay.Name = "btnOkay"; this.btnOkay.Size = new System.Drawing.Size(75, 23); this.btnOkay.TabIndex = 1; this.btnOkay.Text = "Okay"; this.btnOkay.UseVisualStyleBackColor = true; this.btnOkay.Click += new System.EventHandler(this.btnOkay_Click); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Location = new System.Drawing.Point(233, 246); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 2; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnApply // this.btnApply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnApply.Location = new System.Drawing.Point(314, 246); this.btnApply.Name = "btnApply"; this.btnApply.Size = new System.Drawing.Size(75, 23); this.btnApply.TabIndex = 3; this.btnApply.Text = "Apply"; this.btnApply.UseVisualStyleBackColor = true; this.btnApply.Click += new System.EventHandler(this.btnApply_Click); // // SettingsDialog // this.ClientSize = new System.Drawing.Size(401, 281); this.Controls.Add(this.btnApply); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOkay); this.Controls.Add(this.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "SettingsDialog"; this.Text = "Settings"; this.Shown += new System.EventHandler(this.SettingsDialog_Shown); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("Explicit Functions", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("Implicit Functions", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup3 = new System.Windows.Forms.ListViewGroup("Polar Functions", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup4 = new System.Windows.Forms.ListViewGroup("Parametric Functions", System.Windows.Forms.HorizontalAlignment.Left); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormDemo2D)); this.panel1 = new System.Windows.Forms.Panel(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); this.panel2 = new System.Windows.Forms.Panel(); this.btPlot = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); this.splitter1 = new System.Windows.Forms.Splitter(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.lvSources = new System.Windows.Forms.ListView(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.lvSources); this.panel1.Controls.Add(this.propertyGrid1); this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(256, 502); this.panel1.TabIndex = 0; // // propertyGrid1 // this.propertyGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.propertyGrid1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.propertyGrid1.LineColor = System.Drawing.SystemColors.ScrollBar; this.propertyGrid1.Location = new System.Drawing.Point(8, 232); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.Size = new System.Drawing.Size(240, 256); this.propertyGrid1.TabIndex = 1; // // panel2 // this.panel2.Controls.Add(this.btPlot); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(256, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(400, 502); this.panel2.TabIndex = 1; // // btPlot // this.btPlot.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.btPlot.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btPlot.Location = new System.Drawing.Point(8, 470); this.btPlot.Name = "btPlot"; this.btPlot.Size = new System.Drawing.Size(384, 23); this.btPlot.TabIndex = 1; this.btPlot.Text = "Plot"; this.btPlot.Click += new System.EventHandler(this.btPlot_Click); // // panel3 // this.panel3.Controls.Add(this.splitter1); this.panel3.Controls.Add(this.panel2); this.panel3.Controls.Add(this.panel1); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(656, 502); this.panel3.TabIndex = 2; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(256, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 502); this.splitter1.TabIndex = 2; this.splitter1.TabStop = false; // // imageList1 // this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth16Bit; this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // lvSources // this.lvSources.Alignment = System.Windows.Forms.ListViewAlignment.SnapToGrid; this.lvSources.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lvSources.AutoArrange = false; this.lvSources.FullRowSelect = true; this.lvSources.GridLines = true; listViewGroup1.Header = "Explicit Functions"; listViewGroup1.Name = "Explicit Functions"; listViewGroup2.Header = "Implicit Functions"; listViewGroup2.Name = "Implicit Functions"; listViewGroup3.Header = "Polar Functions"; listViewGroup3.Name = "Polar Functions"; listViewGroup4.Header = "Parametric Functions"; listViewGroup4.Name = "Parametric Functions"; this.lvSources.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup1, listViewGroup2, listViewGroup3, listViewGroup4 }); this.lvSources.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.lvSources.LabelWrap = false; this.lvSources.Location = new System.Drawing.Point(8, 12); this.lvSources.MultiSelect = false; this.lvSources.Name = "lvSources"; this.lvSources.Size = new System.Drawing.Size(240, 214); this.lvSources.TabIndex = 2; this.lvSources.TileSize = new System.Drawing.Size(230, 14); this.lvSources.UseCompatibleStateImageBehavior = false; this.lvSources.View = System.Windows.Forms.View.Tile; this.lvSources.DoubleClick += new System.EventHandler(this.lvSources_DoubleClick); // // FormDemo2D // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(656, 502); this.Controls.Add(this.panel3); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "FormDemo2D"; this.Text = "MathX Demo 2D"; this.Load += new System.EventHandler(this.FormDemo2D_Load); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("List item text", System.Windows.Forms.HorizontalAlignment.Left); this.button1 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.CheckBoxList = new System.Windows.Forms.CheckedListBox(); this.button2 = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.listView1 = new System.Windows.Forms.ListView(); this.Method = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Request = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Status = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Response = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Action = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.textBox3 = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.button3 = new System.Windows.Forms.Button(); this.SuspendLayout(); // // button1 // this.button1.Location = new System.Drawing.Point(366, 510); this.button1.Margin = new System.Windows.Forms.Padding(4); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(112, 34); this.button1.TabIndex = 0; this.button1.Text = "ExecuteAll"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Bahnschrift", 12F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(362, 129); this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(180, 19); this.label1.TabIndex = 2; this.label1.Text = "List Of Service methods"; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Bahnschrift", 12F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(50, 180); this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(182, 19); this.label2.TabIndex = 4; this.label2.Text = "Select The Environment"; // // CheckBoxList // this.CheckBoxList.FormattingEnabled = true; this.CheckBoxList.Items.AddRange(new object[] { "PROD", "SYST", "DEV", "INT" }); this.CheckBoxList.Location = new System.Drawing.Point(54, 203); this.CheckBoxList.Margin = new System.Windows.Forms.Padding(4); this.CheckBoxList.Name = "CheckBoxList"; this.CheckBoxList.Size = new System.Drawing.Size(188, 92); this.CheckBoxList.TabIndex = 5; this.CheckBoxList.MouseClick += new System.Windows.Forms.MouseEventHandler(this.CheckBoxList_MouseClick); this.CheckBoxList.SelectedIndexChanged += new System.EventHandler(this.CheckBoxList_SelectedIndexChanged); // // button2 // this.button2.Location = new System.Drawing.Point(52, 328); this.button2.Margin = new System.Windows.Forms.Padding(4); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(190, 34); this.button2.TabIndex = 6; this.button2.Text = "Load The Test Case"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Bahnschrift", 12F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(362, 85); this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(46, 19); this.label3.TabIndex = 7; this.label3.Text = "URL :"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(415, 85); this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(0, 19); this.label4.TabIndex = 8; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Bahnschrift", 14F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.ForeColor = System.Drawing.SystemColors.Highlight; this.label5.Location = new System.Drawing.Point(435, 9); this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(282, 23); this.label5.TabIndex = 9; this.label5.Text = "Claims Web Service Testing Tool"; // // listView1 // this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.Method, this.Request, this.Status, this.Response, this.Action }); this.listView1.Font = new System.Drawing.Font("Bahnschrift", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.listView1.FullRowSelect = true; listViewGroup2.Header = "List item text"; listViewGroup2.Name = null; this.listView1.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup2 }); this.listView1.HideSelection = false; this.listView1.LabelEdit = true; this.listView1.Location = new System.Drawing.Point(366, 162); this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(737, 318); this.listView1.TabIndex = 10; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged); // // Method // this.Method.Text = "Method"; this.Method.Width = 150; // // Request // this.Request.Text = "Request"; this.Request.Width = 400; // // Status // this.Status.Text = "Status"; this.Status.Width = 100; // // Response // this.Response.Text = "Response"; this.Response.Width = 1; // // Action // this.Action.Text = "Action"; this.Action.Width = 1; // // textBox1 // this.textBox1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textBox1.Location = new System.Drawing.Point(579, 486); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(201, 216); this.textBox1.TabIndex = 12; this.textBox1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.textBox1_MouseDoubleClick); // // textBox2 // this.textBox2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textBox2.Location = new System.Drawing.Point(903, 486); this.textBox2.Multiline = true; this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(200, 216); this.textBox2.TabIndex = 13; this.textBox2.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.textBox2_MouseDoubleClick); // // label6 // this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("Bahnschrift", 12F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.Location = new System.Drawing.Point(504, 483); this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(68, 19); this.label6.TabIndex = 14; this.label6.Text = "Request"; // // label7 // this.label7.AutoSize = true; this.label7.Font = new System.Drawing.Font("Bahnschrift", 12F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label7.Location = new System.Drawing.Point(797, 483); this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(80, 19); this.label7.TabIndex = 15; this.label7.Text = "Response"; // // textBox3 // this.textBox3.Location = new System.Drawing.Point(54, 129); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(190, 27); this.textBox3.TabIndex = 16; // // label8 // this.label8.AutoSize = true; this.label8.Font = new System.Drawing.Font("Bahnschrift", 12F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.Location = new System.Drawing.Point(50, 85); this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(198, 19); this.label8.TabIndex = 17; this.label8.Text = "Provide the TestCase Path"; // // button3 // this.button3.Location = new System.Drawing.Point(54, 386); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(188, 30); this.button3.TabIndex = 18; this.button3.Text = "Get WLB Reports"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1115, 749); this.Controls.Add(this.button3); this.Controls.Add(this.label8); this.Controls.Add(this.textBox3); this.Controls.Add(this.label7); this.Controls.Add(this.label6); this.Controls.Add(this.textBox2); this.Controls.Add(this.textBox1); this.Controls.Add(this.listView1); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.button2); this.Controls.Add(this.CheckBoxList); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.button1); this.Font = new System.Drawing.Font("Bahnschrift", 12F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Margin = new System.Windows.Forms.Padding(4); this.Name = "Form1"; this.Text = "ClaimServiceTester"; this.ResumeLayout(false); this.PerformLayout(); }