private void UpdateListView() { if (InvokeRequired) { Invoke((MethodInvoker) UpdateListView); } else { slvPlugins.Items.Clear(); foreach (KeyValuePair<string, InstalledPlugin> pair in InstalledPluginManager.Plugins) { // TODO: correct text string[] text = { pair.Value.Name, pair.Value.Description, StringUtil.ListToCsv(pair.Value.Authors), pair.Value.Version, "", pair.Value.FileCreationDate.ToShortDateString() }; try { if (!string.IsNullOrEmpty(pair.Value.Mainspace)) text[4] = pair.Value.BukgetEquivalentPlugin.LastVersionNumber; } catch (Exception e) { Logger.Log(LogLevel.Warning, "InstalledPlugins", "Couldn't get latest version for plugin " + pair.Value.Mainspace, e.Message); } ListViewItem lvi = new ListViewItem(text) {Tag = pair.Value}; slvPlugins.Items.Add(lvi); } } }
public void UpdateChangesDialog(List<KeyValuePair<GUIMod, GUIModChangeType>> changeset, BackgroundWorker installWorker) { m_Changeset = changeset; m_InstallWorker = installWorker; ChangesListView.Items.Clear(); if (changeset == null) { return; } foreach (var change in changeset) { if (change.Value == GUIModChangeType.None) { continue; } var item = new ListViewItem {Text = String.Format("{0} {1}", change.Key.Name, change.Key.Version)}; var sub_change_type = new ListViewItem.ListViewSubItem {Text = change.Value.ToString()}; item.SubItems.Add(sub_change_type); ChangesListView.Items.Add(item); } }
private void displayAlertList() { //Clear List alertListView.Items.Clear(); List<Alert> alerts = new List<Alert>(); EventEntity eve = new EventEntity(); ActiveUser au = new ActiveUser(currentUser); alerts = au.getListOfAlerts(); int currentEventID; if (alerts.Count != 0) { for (int i = 0; i < alerts.Count; i++) { ListViewItem newAlert = new ListViewItem((i + 1).ToString()); newAlert.SubItems.Add(alerts[i].getAlertedEventName()); // Name of Event newAlert.SubItems.Add(alerts[i].getAlert()); // Alert String alertListView.Items.Add(newAlert); // Clear Alert Flag currentEventID = eve.getEventIDFromEventName(alerts[i].getAlertedEventName()); eve.clearEventUpdatedFlag(currentEventID); eve.clearEventFullFlag(currentEventID); eve.clearEventStartFlag(currentEventID); } } alerts.Clear(); // Erase off OLD alerts alertListView.Show(); }
public void LoadKeys(Locale loadFrom, string collectionKey) { _locale = _localeManager.Locales[_localeManager.CurrentLocale]; if(_locale.StringCollections.ContainsKey(collectionKey) == false) { _locale.StringCollections.Add(collectionKey, new StringCollection(collectionKey)); } _collection = _locale.StringCollections[collectionKey]; txtNew.RightToLeft = _locale.RightToLeft ? RightToLeft.Yes : RightToLeft.No; var enumerable = loadFrom.StringCollections[collectionKey].StringsTable.Values; foreach (var key in enumerable) { if (key.AliasedKey) continue; var item = new ListViewItem(key.Key); item.ImageKey = GetStatusIcon(collectionKey, key.Key); lstKeys.Items.Add(item); } colKey.AutoResize(ColumnHeaderAutoResizeStyle.ColumnContent); chkMinorUpdate.Visible = _parentLocale == null; chkDerived.Enabled = _parentLocale != null; chkUpToDate.Visible = _parentLocale != null; btnSetModified.Visible = _parentLocale == null; }
public void OnNewDocument() { this.process = this.mainForm.Process; PdfObject[] objects = this.process.Document.Internals.GetAllObjects(); this.lvObjects.Items.Clear(); for (int idx = 0; idx < objects.Length; idx++) { PdfObject obj = objects[idx]; ListViewItem item = new ListViewItem(new string[2]{PdfInternals.GetObjectID(obj).ToString(), ExplorerProcess.GetTypeName(obj)}); item.Tag = obj; this.lvObjects.Items.Add(item); } PdfPages pages = this.process.Document.Pages; this.lvPages.Items.Clear(); for (int idx = 0; idx < pages.Count; idx++) { PdfPage page = pages[idx]; ListViewItem item = new ListViewItem(new string[2]{(idx + 1).ToString(), ExplorerHelper.PageSize(page, this.mainForm.Process.IsMetric)}); //String.Format("{0:0} x {1:0} mm", XUnit.FromPoint(page.Width).Millimeter,XUnit.FromPoint(page.Height).Millimeter)}); item.Tag = page; this.lvPages.Items.Add(item); } this.process.Navigator.SetNext(this.process.Document.Info); ActivatePage("Info"); }
/// <summary> /// Evenement qui se déclenche lors de l'appuie sur le bouton Search /// Va rechercher les tâches en fonction des informations entrées par l'utilisateur. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Search_Click(object sender, EventArgs e) { string search = SearchText.Text; DayActivities.Items.Clear(); TaskFind.Clear(); foreach (Day day in calendar.Calendar) { foreach (Task task in day.Tasks) { if(Filter.SelectedIndex == 0) { if(task.Name == search) { ListViewItem itm = new ListViewItem(day.TaskInfo(task)); ListViewItem item = DayActivities.Items.Add(itm); TaskFind.Add(task); } } if (Filter.SelectedIndex == 1) { if(task.Description.Contains(search)) { ListViewItem itm = new ListViewItem(day.TaskInfo(task)); ListViewItem item = DayActivities.Items.Add(itm); TaskFind.Add(task); } } } } }
private void listView1_DragDrop(object sender, DragEventArgs e) { ListViewItem lvi = new ListViewItem(); lvi.Text = (String)e.Data.GetData(DataFormats.Text); lvi.SubItems.Add("pepe"); listView1.Items.Add(lvi); }
void bindPiclist() { this.picList.Clear(); this.imageList1.Images.Clear(); string[] fileArr = imgSearch.getPicFiles(videoList.FocusedItem.Text, this.comboBox1.Text, true);//得到图片路径 if (fileArr.Length == 0) { MessageBox.Show("没有符合的图片", "警告"); return; } for (int i = 0; i < fileArr.Length; ++i) { this.imageList1.Images.Add(Image.FromFile(fileArr[i])); string text = System.IO.Path.GetFileName(fileArr[i]); ListViewItem item = new ListViewItem() { Tag = fileArr[i].ToString(), Text = text, ImageIndex = i }; this.picList.Items.Add(item); } this.picList.Scrollable = true; this.picList.MultiSelect = false; this.picList.View = View.LargeIcon; this.picList.LargeImageList = imageList1; }
private void InstalledModules_Load(object sender, EventArgs e) { Cursor = Cursors.WaitCursor; try { string[] moduleTypes = ApplicationServices.GetTypesOfModules().OrderBy(x => x).ToArray(); foreach (string moduleType in moduleTypes) { ListViewGroup group = listViewModules.Groups.Add(moduleType, moduleType); IModuleDescriptor[] descriptors = ApplicationServices.GetModuleDescriptors(moduleType); foreach (IModuleDescriptor descriptor in descriptors) { ListViewItem item = new ListViewItem(new[] { descriptor.TypeName, _GetModuleDescription(descriptor), _GetModuleAuthor(descriptor), _GetModuleVersion(descriptor), descriptor.FileName }); item.Tag = descriptor; item.Group = group; listViewModules.Items.Add(item); } } listViewModules.ColumnAutoSize(); } catch (Exception ex) { MessageBox.Show(ex.Message); } finally { Cursor = Cursors.Default; } }
private void UpdatePrivileges() { listViewPrivs.Items.Clear(); foreach (TokenPrivilege priv in _token.Privileges) { ListViewItem item = new ListViewItem(priv.Name); bool enabled = false; string flags = "Disabled"; if ((priv.Attributes & PrivilegeAttributes.Enabled) == PrivilegeAttributes.Enabled) { enabled = true; flags = "Enabled"; } if ((priv.Attributes & PrivilegeAttributes.EnabledByDefault) == PrivilegeAttributes.EnabledByDefault) { flags = "Default " + flags; } item.SubItems.Add(flags); item.SubItems.Add(priv.DisplayName); item.BackColor = enabled ? Color.LightGreen : Color.LightPink; item.Tag = priv; listViewPrivs.Items.Add(item); } }
private void FillListView() { try { // clear all existing items listViewCardboardFormats.Items.Clear(); Pic.DAL.SQLite.PPDataContext db = new Pic.DAL.SQLite.PPDataContext(); Pic.DAL.SQLite.CardboardFormat[] cardboardFormats = Pic.DAL.SQLite.CardboardFormat.GetAll(db); foreach (Pic.DAL.SQLite.CardboardFormat format in cardboardFormats) { ListViewItem item = new ListViewItem(); item.Text = format.Name; item.SubItems.Add(format.Description); item.SubItems.Add(string.Format("{0}", format.Length)); item.SubItems.Add(string.Format("{0}", format.Width)); listViewCardboardFormats.Items.Add(item); } } catch (Exception ex) { Debug.Fail(ex.ToString()); _log.Debug(ex.ToString()); } }
// --- Popunjavanje listView podacima iz baze --- private void FBrisanje_Radnika_Shown(object sender, EventArgs e) { try { IList<Radnik> listaRadnika = new List<Radnik>(); listaRadnika = client.Cypher .Match("(radnik:Radnik)") .Return(radnik => radnik.As<Radnik>()) .Results.ToList(); foreach (Radnik r in listaRadnika) { ListViewItem lv1 = new ListViewItem(r.id); lv1.SubItems.Add(r.Ime); lv1.SubItems.Add(r.Prezime); lv1.SubItems.Add(r.Adresa); lv1.SubItems.Add(r.Datum_Rodjenja); lv1.SubItems.Add(r.Obrazovanje); lv1.SubItems.Add(r.Iskustvo); LvSpisakRadnika.Items.Add(lv1); } LvSpisakRadnika.Enabled = true; } catch (Exception ec) { MessageBox.Show(ec.ToString()); } }
public void doNeighborListUpdate(Node.NodeList neighborList) { Debug.WriteLine("doNeighborListUpdate"); lock (neighborListLock) { neighborListView.Items.Clear(); neighborListView.BeginUpdate(); Debug.WriteLine("Looping through neighbors"); foreach (Haggle.Node neighbor in neighborList.AsArray()) { string ifaceStr = ""; Debug.WriteLine("Adding neighbor " + neighbor.GetName()); ListViewItem neighItem = new ListViewItem(neighbor.GetName()); foreach (Node.Interface iface in neighbor.InterfacesArray()) { ifaceStr += iface.GetIdentifierStr() + ","; } char[] tc = { ',' }; neighItem.SubItems.Add(ifaceStr.TrimEnd(tc)); neighborListView.Items.Add(neighItem); } neighborListView.EndUpdate(); Debug.WriteLine("Neighborlist update end"); } }
public void LoadOnListView(ListView lv) { Leave s = new Leave(); DataTable dt = new DataTable(); dt = s.SELECT_ALL(); if (dt != null) { int ctr = 1; foreach (DataRow r in dt.Rows) { ListViewItem li = new ListViewItem(); li.Text = ctr.ToString(); li.SubItems.Add(r["fullname"].ToString()); li.SubItems.Add(r["leavetype"].ToString()); li.SubItems.Add(r["leavedate"].ToString()); li.SubItems.Add(r["noofdays"].ToString()); li.SubItems.Add(r["datefiled"].ToString()); lv.Items.Add(li); ctr++; } } }
public void LoadCategoryRecords(TreeNode CategoryNode) { if (CategoryNode.Tag == null) return; DataRow category_row = (DataRow)CategoryNode.Tag; DataRow[] child_rows = category_row.GetChildRows(_ds.Relations[1]); foreach (DataRow row in child_rows) { //only one telegram per record DataRow data = row.GetChildRows(_ds.Relations[0])[0]; ListViewItem item = new ListViewItem(); item.Tag = row; item.ImageIndex = 2; //phrase item.Text = row["Phrase"].ToString();; //item.SubItems.Add("0x" + ((byte)data["MessageControl"]).ToString("X")); //item.SubItems.Add(data["SourceAddress"].ToString()); item.SubItems.Add(data["DestinationAddress"].ToString()); item.SubItems.Add("0x" + ((byte)data["TCPI"]).ToString("X")); item.SubItems.Add("0x" + ((byte)data["APCI"]).ToString("X")); this.lvRecords.Items.Add(item); } }
public NewModelForm(string fileName) : this() { try { var instance = AddinAppData.Instance; var typeList = ReflectionHelper.GetCreatableObjectImplementsInterface(typeof(IGenerator), instance.ExtensionDirectory); if (typeList.Length < 1) throw new Exception("There are not asseblies that have a creatable type that implements IGenerator"); else if (typeList.Length == 1) { SetFileContent(typeList[0]); } else { foreach (var type in typeList) { var att = (GeneratorAttribute)ReflectionHelper.GetSingleAttribute(typeof(GeneratorAttribute), type); var currentItem = new ListViewItem(att.ModelName); currentItem.Tag = type; lvModelTypes.Items.Add(currentItem); } } SetVisualState(); } catch (Exception ex) { throw; } }
public void LoadAllZoneVisitorNumberListBox() { List<Zone> zoneList = zoneNumberManager.GetAllZoneVisitorNumberListBox(); zoneVisitorNumberListView.Items.Clear(); int totalVisitor = 0; foreach (var zones in zoneList) { zoneVisitorNumberId = zones.ZoneId; List<Visitor> visitorList = zoneDetailManager.GetAllZoneVisitorNumber(zoneVisitorNumberId); int zoneVisitor = 0; foreach (var visitor in visitorList) { zoneVisitor++; } int totalZoneVisitor = zoneVisitor; ListViewItem listViewItem = new ListViewItem(zones.ZoneName); listViewItem.SubItems.Add(totalZoneVisitor.ToString()); listViewItem.Tag = zones; zoneVisitorNumberListView.Items.Add(listViewItem); totalVisitor += totalZoneVisitor; } totalVisitorTextBox.Text = totalVisitor.ToString(); }
private void RebuildGroupings() { lvwGroupings.BeginUpdate(); try { lvwGroupings.Items.Clear(); int totalCount = _dupeSet.Count(); int currentFile = 1; foreach (IGrouping<string, ChecksumFile> group in _dupeSet) { int groupCount = group.Where(p => p.IsDeleted == false).Count(); if (groupCount > 1) { ListViewItem item = new ListViewItem(); item.Text = string.Format("{0:#,0} / {1:#,0}", currentFile, totalCount); item.SubItems.Add(groupCount.ToString()); item.Tag = group; lvwGroupings.Items.Add(item); } currentFile++; } if (lvwGroupings.Items.Count > 0) lvwGroupings.SelectedIndices.Add(0); } finally { lvwGroupings.EndUpdate(); } }
private void AddClipboardFormat(ClipboardFormat cf) { ListViewItem lvi = new ListViewItem(cf.Description ?? ""); lvi.Tag = cf; lvi.SubItems.Add(cf.Format ?? ""); lvClipboardFormats.Items.Add(lvi); }
public override void Prepare() { this.titleLabel.Text = Resources.CreateVotingTitle; this.descriptionLabel.Text = Resources.CreateVotingDescription; this.urlLabel.Text = Resources.CreateVotingUrl; this.clearButton.Text = Resources.CreateVotingClearButton; this.questionLabel.Text = Resources.CreateVotingQuestions; this.textColumnHeader.Text = Resources.CreateVotingQuestionText; this.descriptionColumnHeader.Text = Resources.CreateVotingQuestionDescription; this.nextButton.Text = GuiResources.ButtonNext; this.cancelButton.Text = GuiResources.ButtonCancel; Status.Data = VotingData.TryLoad(Status.Controller.Status.DataPath); if (Status.Data != null) { this.titleBox.Text = Status.Data.Title; this.descriptionBox.Text = Status.Data.Descrption; this.urlTextBox.Text = Status.Data.Url; foreach (var question in Status.Data.Questions) { ListViewItem item = new ListViewItem(question.Text.AllLanguages); item.SubItems.Add(question.Description.AllLanguages); item.Tag = question; this.questionListView.Items.Add(item); } } CheckEnable(); }
// ---- popunjavanje listview imenima drzava, i za svaku se upisuje broj pobeda ----- private void BtnAddCntry_Click(object sender, EventArgs e) { // provera da li postoji vec drzava sa imenom u LV. if(!String.IsNullOrWhiteSpace(TbCntryName.Text)) { bool postoji = false; string imeDrzave = TbCntryName.Text; foreach(ListViewItem Item in LvStatistics.Items) { //ako postoji samo se oznacava da vec postoji if(Item.Text == imeDrzave) { postoji = true; } } // --- popunjavanje lv-a! if(!postoji) { ListViewItem lv1 = new ListViewItem(imeDrzave); LvStatistics.Items.Add(lv1); } else { MessageBox.Show("Za izabranu drzavu"+ imeDrzave +" vec postoji statistika!!"); } } else { MessageBox.Show("Unesite ime drzave i koliko puta je pobedila!!"); } }
public Form1(Dictionary<string, byte[]> dicomMap) { InitializeComponent(); //Set dictionary for tags myDict = myDicomDic.getDic(); //Set 'map' for the data of the dicom file myMap = dicomMap; //Set necessary informations rows = BitConverter.ToInt16(myMap["00280010"], 0); columns = BitConverter.ToInt16(myMap["00280011"], 0); pixelData = myMap["7FE00010"]; //Get all keys and theyr associated values foreach (string id in dicomMap.Keys) { ListViewItem item; byte[] value = myMap[id]; //Check if the given id is key of the given dictonary then use the found string, otherwise use the raw id if (myDict.ContainsKey(id)) { item = new ListViewItem(myDict[id]); } else { item = new ListViewItem(id); } item.SubItems.Add(Encoding.Default.GetString(value)); listView1.Items.Add(item); } pictureBox1.Image = myService.createPicture(rows, columns, pixelData, trackBarC.Value, trackBarW.Value); }
private void LoadItemsFromRegistry() { ArrayList items = new ArrayList(); using(RegistryKey key = Registry.CurrentUser.CreateSubKey(registryLocation)) { string[] favourites = key.GetSubKeyNames(); foreach(string favourite in favourites) { using(RegistryKey subkey = key.OpenSubKey(favourite)) { Proxy.NavigatorRef.Item navItem = new Workshare.Connect.SharePoint.Proxy.NavigatorRef.Item(); navItem.Title = ( string )subkey.GetValue( "name" ); navItem.Url = ( string )subkey.GetValue( "url" ); navItem.Kind = GetKind( ( string )subkey.GetValue( "kind" ) ); ListViewItem item = new ListViewItem( navItem.Title ); item.SubItems.Add( navItem.Url ); item.SubItems.Add( navItem.Kind.ToString() ); item.ImageIndex = (int)subkey.GetValue("image"); item.Tag = navItem; items.Add(item); } } } InnerList.Clear(); InnerList.AddRange(items); }
private void button5_Click(object sender, EventArgs e) { if (textBox6.Text == null) { MessageBox.Show("Имя сервера не может быть пустым"); return; } ftp.Host = textBox6.Text; ftp.UserName = textBox4.Text; ftp.Password = textBox5.Text; FileStruct[] FileList = DirectoryList(""); try { this.Text = "Подключение к ftp-серверу...."; foreach (FileStruct s in FileList) { ListViewItem lvi = new ListViewItem(); lvi.Text = s.Name; lvi.SubItems.Add(s.CreateTime); listView2.Items.Add(lvi); } } catch (Exception ex) { MessageBox.Show(ex.Message); } this.Text = "FTP-client"; }
public void AddChanel(string[] array) { if (this.listView1.InvokeRequired) { this.listView1.Invoke(new MyDelegate(AddChanel), new object[] { array }); } else { ListViewItem lvi = new ListViewItem(array[0]); lvi.SubItems.Add(array[1]); lvi.SubItems.Add(array[2]); lvi.SubItems.Add(array[3]); lvi.SubItems.Add(array[4]); lvi.SubItems.Add(array[5]); lvi.SubItems.Add(array[6]); lvi.SubItems.Add(array[7]); lvi.SubItems.Add(array[8]); this.listView1.Items.Add(lvi); } if (localsaveloc == string.Empty) { saveChannels_Click(null, null); } else { SaveList(listView1, localsaveloc); } }
public void LoadBook(string name,string searchType) { resultListView.Items.Clear(); List<Book> books; try { books = bookManager.GetAllBook(name, searchType); if (books.Count > 0) { foreach (Book book in books) { ListViewItem aItem = new ListViewItem(book.Id.ToString()); aItem.Tag = (Book)book; aItem.SubItems.Add(book.Title); aItem.SubItems.Add(book.AuthorName); aItem.SubItems.Add(book.InitialCopy.ToString()); aItem.SubItems.Add(book.OutsideCopy.ToString()); aItem.SubItems.Add(book.Price.ToString()); resultListView.Items.Add(aItem); } } } catch (Exception exception) { MessageBox.Show(exception.Message, @"Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
void Populate () { var availableEncodings = new Dictionary<string,TextEncoding> (); foreach (var encoding in TextEncoding.SupportedEncodings) availableEncodings [encoding.Id] = encoding; var shownEncodings = TextEncoding.ConversionEncodings; shownListView.BeginUpdate (); foreach (var encoding in shownEncodings) { var item = new ListViewItem (new string [] { encoding.Id, encoding.Name }) { Tag = encoding }; shownListView.Items.Add (item); // Don't show on the available list the encodings // that are already being shown availableEncodings.Remove (encoding.Id); } shownListView.AutoResizeColumns (ColumnHeaderAutoResizeStyle.HeaderSize); shownListView.EndUpdate (); availableListView.BeginUpdate (); foreach (var encoding in availableEncodings) { var item = new ListViewItem (new string [] { encoding.Value.Id, encoding.Value.Name }) { Tag = encoding.Value }; availableListView.Items.Add (item); } availableListView.AutoResizeColumns (ColumnHeaderAutoResizeStyle.HeaderSize); availableListView.EndUpdate (); }
//----------------------------------------------------------------------------------------------------------------------------- private void DeepSearchSongs(DirectoryInfo root) { foreach(var musicFile in root.GetFiles()) { if (supportedFormats.Contains("*" + Path.GetExtension(musicFile.Name))) { var newItem = new ListViewItem(); var tagFile = TagLib.File.Create(musicFile.FullName); if(tagFile.Tag.Performers.Count() > 0) newItem.SubItems.Add(tagFile.Tag.Performers[0]); newItem.SubItems.Add(tagFile.Tag.Track.ToString()); newItem.SubItems.Add(musicFile.Name); newItem.SubItems.Add(tagFile.Tag.Album); newItem.SubItems.Add(tagFile.Tag.Year.ToString()); newItem.SubItems.Add(tagFile.Properties.Duration.ToString(@"mm\:ss")); newItem.Tag = musicFile.FullName; songListView.Items.Add(newItem); //songListView.Items.Add(newItem); } } foreach(DirectoryInfo directory in root.GetDirectories()) { DeepSearchSongs(directory); } }
private void btnLuu_Click(object sender, EventArgs e) { if (kiemtraThongBao_GUI() == true) { ThongBao thongbao = layThongBao_Tu_GUI(); thongbao_BUS.taoThongBao_BUS(thongbao); tbxTenThongBao.Text = ""; tbxNoiDungThongBao.Text = ""; lvThongBao.Items.Clear(); ThongBao[] dsThongBao = thongbao_BUS.layTatCaThongBao_BUS(); for (int i = 0; i < dsThongBao.Length; i++) { ListViewItem ma = new ListViewItem(dsThongBao[i].MaThongBao.ToString()); ListViewItem.ListViewSubItem ten = new ListViewItem.ListViewSubItem(ma, dsThongBao[i].TenThongBao); ListViewItem.ListViewSubItem noidung = new ListViewItem.ListViewSubItem(ma, dsThongBao[i].NoiDungThongBao); ListViewItem.ListViewSubItem ngay = new ListViewItem.ListViewSubItem(ma, dsThongBao[i].NgayThongBao.ToShortDateString()); ma.SubItems.Add(ten); ma.SubItems.Add(noidung); ma.SubItems.Add(ngay); lvThongBao.Items.Add(ma); } } else { MessageBox.Show("Nhập thiếu thông tin! Vui lòng nhập lại "); } }
private void LoadLanguages() { _loaded = true; mpListView2.BeginUpdate(); try { mpListView2.Items.Clear(); List<KeyValuePair<String, String>> languages = TvLibrary.Epg.Languages.Instance.GetLanguagePairs(); TvBusinessLayer layer = new TvBusinessLayer(); Setting setting = layer.GetSetting(languagesSettingsKey); foreach (KeyValuePair<String, String> language in languages) { ListViewItem item = new ListViewItem(new string[] { language.Value, language.Key }); mpListView2.Items.Add(item); item.Tag = language.Key; item.Checked = setting.Value.IndexOf((string)item.Tag) >= 0; } mpListView2.Sort(); } finally { mpListView2.EndUpdate(); } }
public static void carregarListVolumes(List <EtiquetaAlocacao> listEtiquetas) { listVolumes.Items.Clear(); //Ordena baseado no metodo CompareTo da classe listEtiquetas.Sort(); //carrega o listview com as informações carregadas do banco de dados. foreach (var item in listEtiquetas) { CultureInfo ptBr = CultureInfo.CreateSpecificCulture("pt-BR"); //string peso = string.Format(item.Peso.ToString("00.000", ptBr)); listItem = new System.Windows.Forms.ListViewItem(); listItem.Tag = item.CodigoItemAlocacao.ToString(); listItem.Text = item.CodigoItemAlocacao.ToString(); item.LocaisLote.ToString(); listItem.SubItems.Add(item.LocaisLote.ToString()); listItem.SubItems.Add(item.DescricaoCompletaProduto.ToString()); listItem.SubItems.Add(item.VolumeItemAlocacao.ToString()); listItem.SubItems.Add(item.LoteEtiqueta.ToString()); listVolumes.Items.Add(listItem); } txtTotal.Text = TotalVolumes.ToString(" 0000", CultureInfo.CreateSpecificCulture("pt-BR")); lbQtdTotalAlocado.Text = TotalVolumesAlocados.ToString(" 000", CultureInfo.CreateSpecificCulture("pt-BR")); }
void DirSearch_ex3(string sDir) { try { foreach (string f in Directory.GetFiles(sDir)) { FileInfo dosyabilgisi = new FileInfo(f); ListViewItem ekle = listView1.Items.Add(dosyabilgisi.FullName); ekle.SubItems.Add(dosyabilgisi.Name); ekle.SubItems.Add(dosyabilgisi.Length.ToString() + " Byte"); ekle.SubItems.Add(dosyabilgisi.CreationTime.ToString()); ekle.SubItems.Add(dosyabilgisi.LastWriteTimeUtc.ToString()); } foreach (string d in Directory.GetDirectories(sDir)) { DirSearch_ex3(d); } } catch (System.Exception e) { Console.WriteLine(e); } }
public void DoAfterEdit(object newValue, System.Windows.Forms.DialogResult result, string editType) { if (result != System.Windows.Forms.DialogResult.OK) { m_EditObject = null; return; } if (m_EditObject is System.Windows.Forms.ListViewItem) { System.Windows.Forms.ListViewItem item = m_EditObject as System.Windows.Forms.ListViewItem; item.Tag = newValue; listAddField.SmallImageList.Images.RemoveByKey(item.Name.Replace("Item", "Symbol")); listAddField.SmallImageList.Images.Add(item.Name.Replace("Item", "Symbol"), ModuleCommon.Symbol2Picture(newValue as ISymbol, ModuleCommon.ImageWidth, ModuleCommon.ImageHeight)); item.ImageKey = item.Name.Replace("Item", "Symbol"); listAddField.Refresh(); } if (m_EditObject is DevComponents.DotNetBar.LabelX) { DevComponents.DotNetBar.LabelX label = m_EditObject as DevComponents.DotNetBar.LabelX; switch (label.Name) { case "labelPreviewBack": if (label.Image != null) { label.Image.Dispose(); label.Image = null; } label.Tag = newValue; label.Image = ModuleCommon.Symbol2Picture(newValue as ISymbol, ModuleCommon.ImageWidth, ModuleCommon.ImageHeight); RefreshSymbol(); break; } } m_EditObject = null; }
//добавление файлов в listView private void AddFiles(string strPath) { listView1.BeginUpdate(); listView1.Items.Clear(); iFiles = 0; try { DirectoryInfo di = new DirectoryInfo(strPath + "\\"); FileInfo[] theFiles = di.GetFiles(); foreach (FileInfo theFile in theFiles) { iFiles++; System.Windows.Forms.ListViewItem lvItem = new System.Windows.Forms.ListViewItem(theFile.Name); lvItem.SubItems.Add(theFile.Length.ToString()); lvItem.SubItems.Add(theFile.LastWriteTime.ToShortDateString()); lvItem.SubItems.Add(theFile.LastWriteTime.ToShortTimeString()); listView1.Items.Add(lvItem); } } catch (Exception Exc) {} listView1.EndUpdate(); }
private void AddProvider(INameListProvider nameListProvider) { // 高雄特別移除無法新增中輟與續讀名冊 if (JHSchool.Permrec.Program.ModuleType == JHSchool.Permrec.Program.ModuleFlag.KaoHsiung) { if (nameListProvider.Title != "中輟學生名冊" && nameListProvider.Title != "續讀學生名冊") { System.Windows.Forms.ListViewItem listViewItem = new System.Windows.Forms.ListViewItem(nameListProvider.Title, 0); listViewItem.Tag = nameListProvider; listView1.Items.Add(listViewItem); } } else { System.Windows.Forms.ListViewItem listViewItem = new System.Windows.Forms.ListViewItem(nameListProvider.Title, 0); listViewItem.Tag = nameListProvider; listView1.Items.Add(listViewItem); } //System.Windows.Forms.ListViewItem listViewItem = new System.Windows.Forms.ListViewItem(nameListProvider.Title, 0); //listViewItem.Tag = nameListProvider; //listView1.Items.Add(listViewItem); }
private System.Windows.Forms.ListViewItem [] getListViewItemPayments(BankServices.Loans.AnnualSeries.AnnualSeriesRepayment loanPayment) { System.Windows.Forms.ListViewItem [] payments = new System.Windows.Forms.ListViewItem[loanPayment.loan.Period + 1]; decimal mrate; decimal minterest; decimal mtotal; decimal mleft; decimal totalInterest = 0; int i; for (i = 1; i <= loanPayment.loan.Period; i++) { mrate = loanPayment.getPeriodRefund((uint)i); minterest = loanPayment.getPeriodInterest((uint)i); mtotal = loanPayment.getPeriodPayment((uint)i); mleft = loanPayment.getLeftAmount((uint)i); totalInterest += minterest; payments[i - 1] = new System.Windows.Forms.ListViewItem(i.ToString("D")); payments[i - 1].SubItems.Add(mleft.ToString("C")); payments[i - 1].SubItems.Add(mrate.ToString("C")); payments[i - 1].SubItems.Add(minterest.ToString("C")); payments[i - 1].SubItems.Add(mtotal.ToString("C")); } decimal total = loanPayment.loan.Amount + totalInterest; payments[i - 1] = new System.Windows.Forms.ListViewItem("TOTAL"); payments[i - 1].SubItems.Add("-"); payments[i - 1].SubItems.Add(loanPayment.loan.Amount.ToString("C")); payments[i - 1].SubItems.Add(totalInterest.ToString("C")); payments[i - 1].SubItems.Add(total.ToString("C")); return(payments); }
private void button_RemoveRights_Click(object sender, EventArgs e) { if (listView_AccessRights.SelectedItems.Count != 1) { MessageBoxHelper.PrepToCenterMessageBoxOnForm(this); MessageBox.Show("Please select one item to delete.", "Delete Access Right", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } System.Windows.Forms.ListViewItem item = listView_AccessRights.SelectedItems[0]; string type = item.SubItems[0].Text; string name = item.SubItems[1].Text; if (string.Compare(type, "user") == 0) { userList.Remove(name.ToLower()); } else { processList.Remove(name.ToLower()); } InitAccessRightsListView(); }
/// <summary> /// /// </summary> /// <param name="p_ctlCurrent"></param> /// <param name="p_lviSelected"></param> protected override void m_mthSetSelectValueSub(System.Windows.Forms.Control p_ctlCurrent, System.Windows.Forms.ListViewItem p_lviSelected) { try { clsEmployee objEmp = (clsEmployee)p_lviSelected.Tag; if (objEmp == null) { return; } if (m_blnNeedPwd) { if (!m_blnCheckEmployeeSign(p_ctlCurrent.FindForm(), objEmp.m_StrEmployeeID, objEmp.m_StrLastName)) { return; } } p_ctlCurrent.Text = objEmp.m_StrLastName; p_ctlCurrent.Tag = objEmp; } catch (Exception ex) { } }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido de este método con el editor de código. /// </summary> private void InitializeComponent() { System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("1"); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("2"); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("3"); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem("4"); System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem("5"); this.ButtonConfig = new System.Windows.Forms.Button(); this.ButtonStart = new System.Windows.Forms.Button(); this.checkBoxTCP = new System.Windows.Forms.CheckBox(); this.buttonStartTCP = new System.Windows.Forms.Button(); this.checkBoxHs = new System.Windows.Forms.CheckBox(); this.buttonTest1 = new System.Windows.Forms.Button(); this.buttonTest2 = new System.Windows.Forms.Button(); this.buttonTest3 = new System.Windows.Forms.Button(); this.buttonTest4 = new System.Windows.Forms.Button(); this.buttonTest5 = new System.Windows.Forms.Button(); this.buttonTest6 = new System.Windows.Forms.Button(); this.buttonTest7 = new System.Windows.Forms.Button(); this.buttonTest8 = new System.Windows.Forms.Button(); this.tabControlMain = new System.Windows.Forms.TabControl(); this.tabPageControl = new System.Windows.Forms.TabPage(); this.buttonProcessIRC = new System.Windows.Forms.Button(); this.checkBoxDeletePower = new System.Windows.Forms.CheckBox(); this.tabPageUI = new System.Windows.Forms.TabPage(); this.labelCOpponentGraveyard = new System.Windows.Forms.Label(); this.listViewOpponentGraveyard = new System.Windows.Forms.ListView(); this.columnHeader25 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader26 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader27 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader28 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader29 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader30 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.listViewUserGraveyard = new System.Windows.Forms.ListView(); this.columnHeader19 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader20 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader21 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader22 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader23 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader24 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.labelCOpponentBoard = new System.Windows.Forms.Label(); this.labelCUserBoard = new System.Windows.Forms.Label(); this.labelCOpponentHand = new System.Windows.Forms.Label(); this.labelCUserGraveyard = new System.Windows.Forms.Label(); this.labelCUserHand = new System.Windows.Forms.Label(); this.listViewOpponentBoard = new System.Windows.Forms.ListView(); this.columnHeader13 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader14 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader15 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader16 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader17 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader18 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.listViewUserBoard = new System.Windows.Forms.ListView(); this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader9 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader10 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader11 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader12 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.listViewOpponentHand = new System.Windows.Forms.ListView(); 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.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.listViewUserHand = new System.Windows.Forms.ListView(); this.columnHeaderId = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeaderName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeaderType = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeaderHealth = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeaderAttack = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeaderMana = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.tabPage1 = new System.Windows.Forms.TabPage(); this.buttonActions = new System.Windows.Forms.Button(); this.listViewActions = new System.Windows.Forms.ListView(); this.columnHeader31 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.tabPage2 = new System.Windows.Forms.TabPage(); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader32 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.tabControlMain.SuspendLayout(); this.tabPageControl.SuspendLayout(); this.tabPageUI.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.SuspendLayout(); // // ButtonConfig // this.ButtonConfig.Location = new System.Drawing.Point(100, 6); this.ButtonConfig.Name = "ButtonConfig"; this.ButtonConfig.Size = new System.Drawing.Size(88, 23); this.ButtonConfig.TabIndex = 0; this.ButtonConfig.Text = "Config"; this.ButtonConfig.UseVisualStyleBackColor = true; this.ButtonConfig.Click += new System.EventHandler(this.ButtonConfig_Click); // // ButtonStart // this.ButtonStart.Location = new System.Drawing.Point(100, 35); this.ButtonStart.Name = "ButtonStart"; this.ButtonStart.Size = new System.Drawing.Size(88, 74); this.ButtonStart.TabIndex = 1; this.ButtonStart.Text = "Start"; this.ButtonStart.UseVisualStyleBackColor = true; this.ButtonStart.Click += new System.EventHandler(this.ButtonStartHS_Click); // // checkBoxTCP // this.checkBoxTCP.AutoSize = true; this.checkBoxTCP.Location = new System.Drawing.Point(6, 138); this.checkBoxTCP.Name = "checkBoxTCP"; this.checkBoxTCP.Size = new System.Drawing.Size(101, 17); this.checkBoxTCP.TabIndex = 14; this.checkBoxTCP.Text = "IRC (Not twitch)"; this.checkBoxTCP.UseVisualStyleBackColor = true; // // buttonStartTCP // this.buttonStartTCP.Location = new System.Drawing.Point(6, 35); this.buttonStartTCP.Name = "buttonStartTCP"; this.buttonStartTCP.Size = new System.Drawing.Size(88, 74); this.buttonStartTCP.TabIndex = 16; this.buttonStartTCP.Text = "Start Tcp"; this.buttonStartTCP.UseVisualStyleBackColor = true; this.buttonStartTCP.Click += new System.EventHandler(this.buttonStartTCP_Click); // // checkBoxHs // this.checkBoxHs.AutoSize = true; this.checkBoxHs.Location = new System.Drawing.Point(6, 115); this.checkBoxHs.Name = "checkBoxHs"; this.checkBoxHs.Size = new System.Drawing.Size(56, 17); this.checkBoxHs.TabIndex = 17; this.checkBoxHs.Text = "HS off"; this.checkBoxHs.UseVisualStyleBackColor = true; // // buttonTest1 // this.buttonTest1.Location = new System.Drawing.Point(194, 35); this.buttonTest1.Name = "buttonTest1"; this.buttonTest1.Size = new System.Drawing.Size(92, 36); this.buttonTest1.TabIndex = 18; this.buttonTest1.Text = "Test 1"; this.buttonTest1.UseVisualStyleBackColor = true; this.buttonTest1.Click += new System.EventHandler(this.buttonTest_Click); // // buttonTest2 // this.buttonTest2.Location = new System.Drawing.Point(292, 35); this.buttonTest2.Name = "buttonTest2"; this.buttonTest2.Size = new System.Drawing.Size(92, 36); this.buttonTest2.TabIndex = 19; this.buttonTest2.Text = "Test 2"; this.buttonTest2.UseVisualStyleBackColor = true; this.buttonTest2.Click += new System.EventHandler(this.buttonTest_Click); // // buttonTest3 // this.buttonTest3.Location = new System.Drawing.Point(194, 77); this.buttonTest3.Name = "buttonTest3"; this.buttonTest3.Size = new System.Drawing.Size(92, 36); this.buttonTest3.TabIndex = 20; this.buttonTest3.Text = "Test 3"; this.buttonTest3.UseVisualStyleBackColor = true; this.buttonTest3.Click += new System.EventHandler(this.buttonTest_Click); // // buttonTest4 // this.buttonTest4.Location = new System.Drawing.Point(292, 77); this.buttonTest4.Name = "buttonTest4"; this.buttonTest4.Size = new System.Drawing.Size(92, 36); this.buttonTest4.TabIndex = 21; this.buttonTest4.Text = "Test 4"; this.buttonTest4.UseVisualStyleBackColor = true; this.buttonTest4.Click += new System.EventHandler(this.buttonTest_Click); // // buttonTest5 // this.buttonTest5.Location = new System.Drawing.Point(194, 119); this.buttonTest5.Name = "buttonTest5"; this.buttonTest5.Size = new System.Drawing.Size(92, 36); this.buttonTest5.TabIndex = 22; this.buttonTest5.Text = "Test 5"; this.buttonTest5.UseVisualStyleBackColor = true; this.buttonTest5.Click += new System.EventHandler(this.buttonTest_Click); // // buttonTest6 // this.buttonTest6.Location = new System.Drawing.Point(292, 119); this.buttonTest6.Name = "buttonTest6"; this.buttonTest6.Size = new System.Drawing.Size(92, 36); this.buttonTest6.TabIndex = 23; this.buttonTest6.Text = "Test 6"; this.buttonTest6.UseVisualStyleBackColor = true; this.buttonTest6.Click += new System.EventHandler(this.buttonTest_Click); // // buttonTest7 // this.buttonTest7.Location = new System.Drawing.Point(194, 161); this.buttonTest7.Name = "buttonTest7"; this.buttonTest7.Size = new System.Drawing.Size(92, 36); this.buttonTest7.TabIndex = 24; this.buttonTest7.Text = "Test 7"; this.buttonTest7.UseVisualStyleBackColor = true; this.buttonTest7.Click += new System.EventHandler(this.buttonTest_Click); // // buttonTest8 // this.buttonTest8.Location = new System.Drawing.Point(292, 161); this.buttonTest8.Name = "buttonTest8"; this.buttonTest8.Size = new System.Drawing.Size(92, 36); this.buttonTest8.TabIndex = 25; this.buttonTest8.Text = "Test 8"; this.buttonTest8.UseVisualStyleBackColor = true; this.buttonTest8.Click += new System.EventHandler(this.buttonTest_Click); // // tabControlMain // this.tabControlMain.Controls.Add(this.tabPageControl); this.tabControlMain.Controls.Add(this.tabPageUI); this.tabControlMain.Controls.Add(this.tabPage1); this.tabControlMain.Controls.Add(this.tabPage2); this.tabControlMain.Location = new System.Drawing.Point(0, 0); this.tabControlMain.Name = "tabControlMain"; this.tabControlMain.SelectedIndex = 0; this.tabControlMain.Size = new System.Drawing.Size(1270, 597); this.tabControlMain.TabIndex = 26; // // tabPageControl // this.tabPageControl.Controls.Add(this.buttonProcessIRC); this.tabPageControl.Controls.Add(this.checkBoxDeletePower); this.tabPageControl.Controls.Add(this.buttonStartTCP); this.tabPageControl.Controls.Add(this.buttonTest8); this.tabPageControl.Controls.Add(this.ButtonConfig); this.tabPageControl.Controls.Add(this.buttonTest7); this.tabPageControl.Controls.Add(this.ButtonStart); this.tabPageControl.Controls.Add(this.buttonTest6); this.tabPageControl.Controls.Add(this.checkBoxTCP); this.tabPageControl.Controls.Add(this.buttonTest5); this.tabPageControl.Controls.Add(this.checkBoxHs); this.tabPageControl.Controls.Add(this.buttonTest4); this.tabPageControl.Controls.Add(this.buttonTest1); this.tabPageControl.Controls.Add(this.buttonTest3); this.tabPageControl.Controls.Add(this.buttonTest2); this.tabPageControl.Location = new System.Drawing.Point(4, 22); this.tabPageControl.Name = "tabPageControl"; this.tabPageControl.Padding = new System.Windows.Forms.Padding(3); this.tabPageControl.Size = new System.Drawing.Size(1262, 571); this.tabPageControl.TabIndex = 0; this.tabPageControl.Text = "Control"; this.tabPageControl.UseVisualStyleBackColor = true; // // buttonProcessIRC // this.buttonProcessIRC.Location = new System.Drawing.Point(6, 6); this.buttonProcessIRC.Name = "buttonProcessIRC"; this.buttonProcessIRC.Size = new System.Drawing.Size(88, 23); this.buttonProcessIRC.TabIndex = 27; this.buttonProcessIRC.Text = "Start Process"; this.buttonProcessIRC.UseVisualStyleBackColor = true; this.buttonProcessIRC.Click += new System.EventHandler(this.buttonProcessIRC_Click); // // checkBoxDeletePower // this.checkBoxDeletePower.AutoSize = true; this.checkBoxDeletePower.Location = new System.Drawing.Point(6, 161); this.checkBoxDeletePower.Name = "checkBoxDeletePower"; this.checkBoxDeletePower.Size = new System.Drawing.Size(135, 17); this.checkBoxDeletePower.TabIndex = 26; this.checkBoxDeletePower.Text = "Don\'t Delete Power.log"; this.checkBoxDeletePower.UseVisualStyleBackColor = true; // // tabPageUI // this.tabPageUI.Controls.Add(this.labelCOpponentGraveyard); this.tabPageUI.Controls.Add(this.listViewOpponentGraveyard); this.tabPageUI.Controls.Add(this.listViewUserGraveyard); this.tabPageUI.Controls.Add(this.labelCOpponentBoard); this.tabPageUI.Controls.Add(this.labelCUserBoard); this.tabPageUI.Controls.Add(this.labelCOpponentHand); this.tabPageUI.Controls.Add(this.labelCUserGraveyard); this.tabPageUI.Controls.Add(this.labelCUserHand); this.tabPageUI.Controls.Add(this.listViewOpponentBoard); this.tabPageUI.Controls.Add(this.listViewUserBoard); this.tabPageUI.Controls.Add(this.listViewOpponentHand); this.tabPageUI.Controls.Add(this.listViewUserHand); this.tabPageUI.Location = new System.Drawing.Point(4, 22); this.tabPageUI.Name = "tabPageUI"; this.tabPageUI.Padding = new System.Windows.Forms.Padding(3); this.tabPageUI.Size = new System.Drawing.Size(1262, 571); this.tabPageUI.TabIndex = 1; this.tabPageUI.Text = "UI"; this.tabPageUI.UseVisualStyleBackColor = true; // // labelCOpponentGraveyard // this.labelCOpponentGraveyard.AutoSize = true; this.labelCOpponentGraveyard.Location = new System.Drawing.Point(701, 199); this.labelCOpponentGraveyard.Name = "labelCOpponentGraveyard"; this.labelCOpponentGraveyard.Size = new System.Drawing.Size(106, 13); this.labelCOpponentGraveyard.TabIndex = 10; this.labelCOpponentGraveyard.Text = "Opponent Graveyard"; // // listViewOpponentGraveyard // this.listViewOpponentGraveyard.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader25, this.columnHeader26, this.columnHeader27, this.columnHeader28, this.columnHeader29, this.columnHeader30 }); this.listViewOpponentGraveyard.GridLines = true; this.listViewOpponentGraveyard.Location = new System.Drawing.Point(684, 215); this.listViewOpponentGraveyard.Name = "listViewOpponentGraveyard"; this.listViewOpponentGraveyard.Size = new System.Drawing.Size(332, 165); this.listViewOpponentGraveyard.Sorting = System.Windows.Forms.SortOrder.Ascending; this.listViewOpponentGraveyard.TabIndex = 9; this.listViewOpponentGraveyard.UseCompatibleStateImageBehavior = false; this.listViewOpponentGraveyard.View = System.Windows.Forms.View.Details; // // columnHeader25 // this.columnHeader25.Text = "Id"; this.columnHeader25.Width = 26; // // columnHeader26 // this.columnHeader26.Text = "Name"; this.columnHeader26.Width = 108; // // columnHeader27 // this.columnHeader27.DisplayIndex = 5; this.columnHeader27.Text = "Type"; this.columnHeader27.Width = 66; // // columnHeader28 // this.columnHeader28.DisplayIndex = 2; this.columnHeader28.Text = "Health"; this.columnHeader28.Width = 44; // // columnHeader29 // this.columnHeader29.DisplayIndex = 3; this.columnHeader29.Text = "Attack"; this.columnHeader29.Width = 45; // // columnHeader30 // this.columnHeader30.DisplayIndex = 4; this.columnHeader30.Text = "Mana"; this.columnHeader30.Width = 39; // // listViewUserGraveyard // this.listViewUserGraveyard.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader19, this.columnHeader20, this.columnHeader21, this.columnHeader22, this.columnHeader23, this.columnHeader24 }); this.listViewUserGraveyard.GridLines = true; this.listViewUserGraveyard.Location = new System.Drawing.Point(684, 20); this.listViewUserGraveyard.Name = "listViewUserGraveyard"; this.listViewUserGraveyard.Size = new System.Drawing.Size(332, 165); this.listViewUserGraveyard.Sorting = System.Windows.Forms.SortOrder.Ascending; this.listViewUserGraveyard.TabIndex = 8; this.listViewUserGraveyard.UseCompatibleStateImageBehavior = false; this.listViewUserGraveyard.View = System.Windows.Forms.View.Details; // // columnHeader19 // this.columnHeader19.Text = "Id"; this.columnHeader19.Width = 26; // // columnHeader20 // this.columnHeader20.Text = "Name"; this.columnHeader20.Width = 108; // // columnHeader21 // this.columnHeader21.DisplayIndex = 5; this.columnHeader21.Text = "Type"; this.columnHeader21.Width = 66; // // columnHeader22 // this.columnHeader22.DisplayIndex = 2; this.columnHeader22.Text = "Health"; this.columnHeader22.Width = 44; // // columnHeader23 // this.columnHeader23.DisplayIndex = 3; this.columnHeader23.Text = "Attack"; this.columnHeader23.Width = 45; // // columnHeader24 // this.columnHeader24.DisplayIndex = 4; this.columnHeader24.Text = "Mana"; this.columnHeader24.Width = 39; // // labelCOpponentBoard // this.labelCOpponentBoard.AutoSize = true; this.labelCOpponentBoard.Location = new System.Drawing.Point(374, 199); this.labelCOpponentBoard.Name = "labelCOpponentBoard"; this.labelCOpponentBoard.Size = new System.Drawing.Size(85, 13); this.labelCOpponentBoard.TabIndex = 7; this.labelCOpponentBoard.Text = "Opponent Board"; // // labelCUserBoard // this.labelCUserBoard.AutoSize = true; this.labelCUserBoard.Location = new System.Drawing.Point(26, 199); this.labelCUserBoard.Name = "labelCUserBoard"; this.labelCUserBoard.Size = new System.Drawing.Size(60, 13); this.labelCUserBoard.TabIndex = 6; this.labelCUserBoard.Text = "User Board"; // // labelCOpponentHand // this.labelCOpponentHand.AutoSize = true; this.labelCOpponentHand.Location = new System.Drawing.Point(374, 4); this.labelCOpponentHand.Name = "labelCOpponentHand"; this.labelCOpponentHand.Size = new System.Drawing.Size(83, 13); this.labelCOpponentHand.TabIndex = 5; this.labelCOpponentHand.Text = "Opponent Hand"; // // labelCUserGraveyard // this.labelCUserGraveyard.AutoSize = true; this.labelCUserGraveyard.Location = new System.Drawing.Point(701, 4); this.labelCUserGraveyard.Name = "labelCUserGraveyard"; this.labelCUserGraveyard.Size = new System.Drawing.Size(81, 13); this.labelCUserGraveyard.TabIndex = 5; this.labelCUserGraveyard.Text = "User Graveyard"; // // labelCUserHand // this.labelCUserHand.AutoSize = true; this.labelCUserHand.Location = new System.Drawing.Point(26, 4); this.labelCUserHand.Name = "labelCUserHand"; this.labelCUserHand.Size = new System.Drawing.Size(58, 13); this.labelCUserHand.TabIndex = 4; this.labelCUserHand.Text = "User Hand"; // // listViewOpponentBoard // this.listViewOpponentBoard.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader13, this.columnHeader14, this.columnHeader15, this.columnHeader16, this.columnHeader17, this.columnHeader18 }); this.listViewOpponentBoard.GridLines = true; this.listViewOpponentBoard.Location = new System.Drawing.Point(346, 215); this.listViewOpponentBoard.Name = "listViewOpponentBoard"; this.listViewOpponentBoard.Size = new System.Drawing.Size(332, 165); this.listViewOpponentBoard.Sorting = System.Windows.Forms.SortOrder.Ascending; this.listViewOpponentBoard.TabIndex = 3; this.listViewOpponentBoard.UseCompatibleStateImageBehavior = false; this.listViewOpponentBoard.View = System.Windows.Forms.View.Details; // // columnHeader13 // this.columnHeader13.Text = "Id"; this.columnHeader13.Width = 26; // // columnHeader14 // this.columnHeader14.Text = "Name"; this.columnHeader14.Width = 108; // // columnHeader15 // this.columnHeader15.DisplayIndex = 5; this.columnHeader15.Text = "Type"; this.columnHeader15.Width = 66; // // columnHeader16 // this.columnHeader16.DisplayIndex = 2; this.columnHeader16.Text = "Health"; this.columnHeader16.Width = 44; // // columnHeader17 // this.columnHeader17.DisplayIndex = 3; this.columnHeader17.Text = "Attack"; this.columnHeader17.Width = 45; // // columnHeader18 // this.columnHeader18.DisplayIndex = 4; this.columnHeader18.Text = "Mana"; this.columnHeader18.Width = 39; // // listViewUserBoard // this.listViewUserBoard.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader7, this.columnHeader8, this.columnHeader9, this.columnHeader10, this.columnHeader11, this.columnHeader12 }); this.listViewUserBoard.GridLines = true; this.listViewUserBoard.Location = new System.Drawing.Point(8, 215); this.listViewUserBoard.Name = "listViewUserBoard"; this.listViewUserBoard.Size = new System.Drawing.Size(332, 165); this.listViewUserBoard.Sorting = System.Windows.Forms.SortOrder.Ascending; this.listViewUserBoard.TabIndex = 2; this.listViewUserBoard.UseCompatibleStateImageBehavior = false; this.listViewUserBoard.View = System.Windows.Forms.View.Details; // // columnHeader7 // this.columnHeader7.Text = "Id"; this.columnHeader7.Width = 26; // // columnHeader8 // this.columnHeader8.Text = "Name"; this.columnHeader8.Width = 108; // // columnHeader9 // this.columnHeader9.DisplayIndex = 5; this.columnHeader9.Text = "Type"; this.columnHeader9.Width = 66; // // columnHeader10 // this.columnHeader10.DisplayIndex = 2; this.columnHeader10.Text = "Health"; this.columnHeader10.Width = 44; // // columnHeader11 // this.columnHeader11.DisplayIndex = 3; this.columnHeader11.Text = "Attack"; this.columnHeader11.Width = 45; // // columnHeader12 // this.columnHeader12.DisplayIndex = 4; this.columnHeader12.Text = "Mana"; this.columnHeader12.Width = 39; // // listViewOpponentHand // this.listViewOpponentHand.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4, this.columnHeader5, this.columnHeader6 }); this.listViewOpponentHand.GridLines = true; this.listViewOpponentHand.Location = new System.Drawing.Point(346, 20); this.listViewOpponentHand.Name = "listViewOpponentHand"; this.listViewOpponentHand.Size = new System.Drawing.Size(332, 165); this.listViewOpponentHand.Sorting = System.Windows.Forms.SortOrder.Ascending; this.listViewOpponentHand.TabIndex = 1; this.listViewOpponentHand.UseCompatibleStateImageBehavior = false; this.listViewOpponentHand.View = System.Windows.Forms.View.Details; // // columnHeader1 // this.columnHeader1.Text = "Id"; this.columnHeader1.Width = 26; // // columnHeader2 // this.columnHeader2.Text = "Name"; this.columnHeader2.Width = 108; // // columnHeader3 // this.columnHeader3.DisplayIndex = 5; this.columnHeader3.Text = "Type"; this.columnHeader3.Width = 66; // // columnHeader4 // this.columnHeader4.DisplayIndex = 2; this.columnHeader4.Text = "Health"; this.columnHeader4.Width = 44; // // columnHeader5 // this.columnHeader5.DisplayIndex = 3; this.columnHeader5.Text = "Attack"; this.columnHeader5.Width = 45; // // columnHeader6 // this.columnHeader6.DisplayIndex = 4; this.columnHeader6.Text = "Mana"; this.columnHeader6.Width = 39; // // listViewUserHand // this.listViewUserHand.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeaderId, this.columnHeaderName, this.columnHeaderType, this.columnHeaderHealth, this.columnHeaderAttack, this.columnHeaderMana }); this.listViewUserHand.GridLines = true; this.listViewUserHand.Location = new System.Drawing.Point(8, 20); this.listViewUserHand.Name = "listViewUserHand"; this.listViewUserHand.Size = new System.Drawing.Size(332, 165); this.listViewUserHand.Sorting = System.Windows.Forms.SortOrder.Ascending; this.listViewUserHand.TabIndex = 0; this.listViewUserHand.UseCompatibleStateImageBehavior = false; this.listViewUserHand.View = System.Windows.Forms.View.Details; // // columnHeaderId // this.columnHeaderId.Text = "Id"; this.columnHeaderId.Width = 26; // // columnHeaderName // this.columnHeaderName.Text = "Name"; this.columnHeaderName.Width = 108; // // columnHeaderType // this.columnHeaderType.Text = "Type"; this.columnHeaderType.Width = 66; // // columnHeaderHealth // this.columnHeaderHealth.Text = "Health"; this.columnHeaderHealth.Width = 44; // // columnHeaderAttack // this.columnHeaderAttack.Text = "Attack"; this.columnHeaderAttack.Width = 45; // // columnHeaderMana // this.columnHeaderMana.Text = "Mana"; this.columnHeaderMana.Width = 39; // // tabPage1 // this.tabPage1.Controls.Add(this.buttonActions); this.tabPage1.Controls.Add(this.listViewActions); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(1262, 571); this.tabPage1.TabIndex = 2; this.tabPage1.Text = "Actions"; this.tabPage1.UseVisualStyleBackColor = true; // // buttonActions // this.buttonActions.Location = new System.Drawing.Point(610, 6); this.buttonActions.Name = "buttonActions"; this.buttonActions.Size = new System.Drawing.Size(88, 74); this.buttonActions.TabIndex = 17; this.buttonActions.Text = "Actions"; this.buttonActions.UseVisualStyleBackColor = true; this.buttonActions.Click += new System.EventHandler(this.buttonActions_Click); // // listViewActions // this.listViewActions.BackColor = System.Drawing.Color.Sienna; this.listViewActions.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader31 }); this.listViewActions.FullRowSelect = true; this.listViewActions.GridLines = true; this.listViewActions.HideSelection = false; this.listViewActions.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2, listViewItem3, listViewItem4, listViewItem5 }); this.listViewActions.Location = new System.Drawing.Point(8, 6); this.listViewActions.MultiSelect = false; this.listViewActions.Name = "listViewActions"; this.listViewActions.Size = new System.Drawing.Size(596, 555); this.listViewActions.Sorting = System.Windows.Forms.SortOrder.Ascending; this.listViewActions.TabIndex = 1; this.listViewActions.UseCompatibleStateImageBehavior = false; this.listViewActions.View = System.Windows.Forms.View.Details; // // columnHeader31 // this.columnHeader31.Width = 590; // // tabPage2 // this.tabPage2.Controls.Add(this.listView1); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(1262, 571); this.tabPage2.TabIndex = 3; this.tabPage2.Text = "Commands"; this.tabPage2.UseVisualStyleBackColor = true; // // listView1 // this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader32 }); this.listView1.GridLines = true; this.listView1.Location = new System.Drawing.Point(6, 6); this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(332, 165); this.listView1.Sorting = System.Windows.Forms.SortOrder.Ascending; this.listView1.TabIndex = 1; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; // // columnHeader32 // this.columnHeader32.Text = "Command"; this.columnHeader32.Width = 328; // // THS // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1269, 595); this.Controls.Add(this.tabControlMain); this.Name = "THS"; this.Text = "THS"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.THS_FormClosed); this.Load += new System.EventHandler(this.Form1_Load); this.tabControlMain.ResumeLayout(false); this.tabPageControl.ResumeLayout(false); this.tabPageControl.PerformLayout(); this.tabPageUI.ResumeLayout(false); this.tabPageUI.PerformLayout(); this.tabPage1.ResumeLayout(false); this.tabPage2.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); }
//========================================================================================= private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(IntellisenseForm)); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("FROM", 2); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("SELECT", 1); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("WHERE", 0); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem("UNION", 3); this.imageList = new System.Windows.Forms.ImageList(this.components); this.listItems = new SA.CodeView.IntelliSense.IntelliSenseListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.SuspendLayout(); // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, "db.bmp"); this.imageList.Images.SetKeyName(1, "schema.bmp"); this.imageList.Images.SetKeyName(2, "table.bmp"); this.imageList.Images.SetKeyName(3, "column.bmp"); // // listItems // this.listItems.Alignment = System.Windows.Forms.ListViewAlignment.Left; this.listItems.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.listItems.BorderStyle = System.Windows.Forms.BorderStyle.None; this.listItems.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1 }); this.listItems.FullRowSelect = true; this.listItems.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.listItems.HideSelection = false; this.listItems.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2, listViewItem3, listViewItem4 }); this.listItems.Location = new System.Drawing.Point(0, 0); this.listItems.Margin = new System.Windows.Forms.Padding(2); this.listItems.MultiSelect = false; this.listItems.Name = "listItems"; this.listItems.OwnerDraw = true; this.listItems.Size = new System.Drawing.Size(246, 181); this.listItems.SmallImageList = this.imageList; this.listItems.TabIndex = 6; this.listItems.UseCompatibleStateImageBehavior = false; this.listItems.View = System.Windows.Forms.View.Details; // // columnHeader1 // this.columnHeader1.Width = 115; // // IntellisenseForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.Silver; this.ClientSize = new System.Drawing.Size(246, 181); this.ControlBox = false; this.Controls.Add(this.listItems); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "IntellisenseForm"; this.ShowIcon = false; this.ShowInTaskbar = false; this.ResumeLayout(false); }
/// <summary> /// New implementation of Remove method hides Remove method defined on base class /// and causes an event to be sourced informing the parent about item Removals. /// </summary> /// <param name="index"></param> public new void RemoveAt(int index) { System.Windows.Forms.ListViewItem Item = this[index]; base.RemoveAt(index); _Owner.OnItemRemovedAt(index, Item); }
private void lvStock_ItemClick(System.Windows.Forms.ListViewItem Item) { this.lblData.Text = "Remove one unit of '" + lvStock.FocusedItem.Text + "' and create " + lvStock.FocusedItem.SubItems[4].Text + " units of '" + lvStock.FocusedItem.SubItems[2].Text + "'."; this.lblData.Tag = lvStock.FocusedItem.Name; }
/// <summary> /// デザイナ サポートに必要なメソッドです。このメソッドの内容を /// コード エディタで変更しないでください。 /// </summary> private void InitializeComponent() { System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] { "Rail", "TODO" }, -1, System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)))); this.label1 = new System.Windows.Forms.Label(); this.contextMenu = new System.Windows.Forms.ContextMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem_Graph = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.liquidAsset = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.debts = new System.Windows.Forms.Label(); this.detailView = new System.Windows.Forms.ListView(); this.colCategory = new System.Windows.Forms.ColumnHeader(); this.colSales = new System.Windows.Forms.ColumnHeader(); this.colCost = new System.Windows.Forms.ColumnHeader(); this.colBalance = new System.Windows.Forms.ColumnHeader(); this.tabControl = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.fontDialog = new System.Windows.Forms.FontDialog(); this.tabControl.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.ContextMenu = this.contextMenu; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 26); this.label1.TabIndex = 0; this.label1.Text = "Funds:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // contextMenu // this.contextMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem2, this.menuItem_Graph, this.menuItem4, this.menuItem3 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.Text = "Change &Font..."; this.menuItem1.Click += new System.EventHandler(this.onChangeFont); // // menuItem2 // this.menuItem2.Index = 1; this.menuItem2.Text = "&Edit Displayed Items..."; this.menuItem2.Click += new System.EventHandler(this.onCustomizeGenres); // // menuItem_Graph // this.menuItem_Graph.Index = 2; this.menuItem_Graph.Text = "Display &Graph"; // // menuItem4 // this.menuItem4.Index = 3; this.menuItem4.Text = "-"; // // menuItem3 // this.menuItem3.Index = 4; this.menuItem3.Text = "&Close"; // // liquidAsset // this.liquidAsset.ContextMenu = this.contextMenu; this.liquidAsset.Location = new System.Drawing.Point(56, 0); this.liquidAsset.Name = "liquidAsset"; this.liquidAsset.Size = new System.Drawing.Size(112, 26); this.liquidAsset.TabIndex = 1; this.liquidAsset.Text = "100,000,000"; this.liquidAsset.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.ContextMenu = this.contextMenu; this.label2.Location = new System.Drawing.Point(168, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(56, 26); this.label2.TabIndex = 2; this.label2.Text = "Loans:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // debts // this.debts.ContextMenu = this.contextMenu; this.debts.Location = new System.Drawing.Point(224, 0); this.debts.Name = "debts"; this.debts.Size = new System.Drawing.Size(112, 26); this.debts.TabIndex = 3; this.debts.Text = "100,000,000"; this.debts.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // detailView // this.detailView.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.detailView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.colCategory, this.colSales, this.colCost, this.colBalance }); this.detailView.ContextMenu = this.contextMenu; this.detailView.FullRowSelect = true; this.detailView.GridLines = true; this.detailView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.detailView.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1 }); this.detailView.Location = new System.Drawing.Point(0, 23); this.detailView.MultiSelect = false; this.detailView.Name = "detailView"; this.detailView.Size = new System.Drawing.Size(338, 79); this.detailView.TabIndex = 4; this.detailView.UseCompatibleStateImageBehavior = false; this.detailView.View = System.Windows.Forms.View.Details; // // colCategory // this.colCategory.Text = "Category"; this.colCategory.Width = 80; // // colSales // this.colSales.Text = "Sales"; this.colSales.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.colSales.Width = 84; // // colCost // this.colCost.Text = "Cost"; this.colCost.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.colCost.Width = 84; // // colBalance // this.colBalance.Text = "Balance"; this.colBalance.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.colBalance.Width = 84; // // tabControl // this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tabControl.ContextMenu = this.contextMenu; this.tabControl.Controls.Add(this.tabPage1); this.tabControl.Controls.Add(this.tabPage2); this.tabControl.Controls.Add(this.tabPage3); this.tabControl.HotTrack = true; this.tabControl.Location = new System.Drawing.Point(0, 102); this.tabControl.Name = "tabControl"; this.tabControl.SelectedIndex = 0; this.tabControl.Size = new System.Drawing.Size(322, 26); this.tabControl.TabIndex = 5; this.tabControl.SelectedIndexChanged += new System.EventHandler(this.onSelectorChanged); // // tabPage1 // this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(314, 0); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Today"; // // tabPage2 // this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(314, 0); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "This month"; // // tabPage3 // this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new System.Drawing.Size(314, 0); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "This year"; // // AccountSummaryWindow // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(340, 126); this.Controls.Add(this.tabControl); this.Controls.Add(this.detailView); this.Controls.Add(this.debts); this.Controls.Add(this.label2); this.Controls.Add(this.liquidAsset); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.MinimumSize = new System.Drawing.Size(348, 52); this.Name = "AccountSummaryWindow"; this.ShowInTaskbar = false; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show; this.Text = "Sales Report"; this.tabControl.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] { "Zoom" }, -1, System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)))); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new string[] { "Shift+LeftMouseDrag", "Zoom into Selection." }, -1); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(new string[] { "Shift+Alt+LeftMouseDrag", "Zoom into proportional selection." }, -1); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem(new string[] { "Shift+LeftClick", "Zoom in around point." }, -1); System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem(new string[] { "Shift+UpArrow", "Zoom in around middle of plot area." }, -1); System.Windows.Forms.ListViewItem listViewItem6 = new System.Windows.Forms.ListViewItem(new string[] { "Shift+DownArrow", "Zoom out around middle of plot area." }, -1); System.Windows.Forms.ListViewItem listViewItem7 = new System.Windows.Forms.ListViewItem(new string[] { "Shift+MouseWheel", "Zoom in/Zoom out." }, -1); System.Windows.Forms.ListViewItem listViewItem8 = new System.Windows.Forms.ListViewItem(new string[] { "Shift+RightClick", "Undo." }, -1); System.Windows.Forms.ListViewItem listViewItem9 = new System.Windows.Forms.ListViewItem(new string[] { "Shift+Backspace", "Reset." }, -1); System.Windows.Forms.ListViewItem listViewItem10 = new System.Windows.Forms.ListViewItem(new string[] { "Pan" }, -1, System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)))); System.Windows.Forms.ListViewItem listViewItem11 = new System.Windows.Forms.ListViewItem(new string[] { "Ctrl+LeftMouseDrag", "Pan." }, -1); System.Windows.Forms.ListViewItem listViewItem12 = new System.Windows.Forms.ListViewItem(new string[] { "Ctrl+LeftArrow", "Pan left." }, -1); System.Windows.Forms.ListViewItem listViewItem13 = new System.Windows.Forms.ListViewItem(new string[] { "Ctrl+RightArrow", "Pan right." }, -1); System.Windows.Forms.ListViewItem listViewItem14 = new System.Windows.Forms.ListViewItem(new string[] { "Ctrl+UpArrow", "Pan up." }, -1); System.Windows.Forms.ListViewItem listViewItem15 = new System.Windows.Forms.ListViewItem(new string[] { "Ctrl+DownArrow", "Pan down." }, -1); System.Windows.Forms.ListViewItem listViewItem16 = new System.Windows.Forms.ListViewItem(new string[] { "Ctrl+RightClick", "Undo." }, -1); System.Windows.Forms.ListViewItem listViewItem17 = new System.Windows.Forms.ListViewItem(new string[] { "Ctrl+Backspace", "Reset." }, -1); this.keysListView = new System.Windows.Forms.ListView(); this.keys = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.action = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.SuspendLayout(); // // keysListView // this.keysListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.keys, this.action }); this.keysListView.Dock = System.Windows.Forms.DockStyle.Fill; this.keysListView.FullRowSelect = true; this.keysListView.GridLines = true; this.keysListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.keysListView.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2, listViewItem3, listViewItem4, listViewItem5, listViewItem6, listViewItem7, listViewItem8, listViewItem9, listViewItem10, listViewItem11, listViewItem12, listViewItem13, listViewItem14, listViewItem15, listViewItem16, listViewItem17 }); this.keysListView.Location = new System.Drawing.Point(0, 0); this.keysListView.Name = "keysListView"; this.keysListView.Scrollable = false; this.keysListView.Size = new System.Drawing.Size(402, 315); this.keysListView.TabIndex = 1; this.keysListView.UseCompatibleStateImageBehavior = false; this.keysListView.View = System.Windows.Forms.View.Details; // // keys // this.keys.Text = "Key Combination"; this.keys.Width = 141; // // action // this.action.Text = "Action"; this.action.Width = 251; // // AboutDlg // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.ClientSize = new System.Drawing.Size(402, 315); this.Controls.Add(this.keysListView); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "AboutDlg"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Graph Keyboard Help"; 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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] { "bla bla", "bla 2 item" }, -1); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("bla 2"); this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.butClose = new System.Windows.Forms.Button(); this.textBox1 = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.listView1 = new System.Windows.Forms.ListView(); this.Start = new System.Windows.Forms.ColumnHeader(); this.S**t = new System.Windows.Forms.ColumnHeader(); this.Info = new System.Windows.Forms.ColumnHeader(); this.label3 = new System.Windows.Forms.Label(); this.textBox2 = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.SuspendLayout(); // // notifyIcon1 // this.notifyIcon1.ContextMenu = this.contextMenu1; this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon"))); this.notifyIcon1.Text = "Oles Tidsregistrerings Assistent"; this.notifyIcon1.Visible = true; // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1 }); this.contextMenu1.Popup += new System.EventHandler(this.contextMenu1_Popup); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.Text = "Close"; this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click); // // butClose // this.butClose.Location = new System.Drawing.Point(416, 168); this.butClose.Name = "butClose"; this.butClose.TabIndex = 3; this.butClose.Text = "Luk"; this.butClose.Click += new System.EventHandler(this.butClose_Click); // // textBox1 // this.textBox1.AcceptsReturn = true; this.textBox1.Enabled = false; this.textBox1.Location = new System.Drawing.Point(240, 40); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(248, 112); this.textBox1.TabIndex = 2; this.textBox1.Text = ""; this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged); // // label1 // this.label1.Location = new System.Drawing.Point(240, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(32, 16); this.label1.TabIndex = 2; this.label1.Text = "Notat"; // // label2 // this.label2.Location = new System.Drawing.Point(8, 24); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(200, 16); this.label2.TabIndex = 4; this.label2.Text = "Periode"; // // listView1 // this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.Start, this.S**t, this.Info }); this.listView1.FullRowSelect = true; this.listView1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.listView1.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2 }); this.listView1.Location = new System.Drawing.Point(8, 40); this.listView1.MultiSelect = false; this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(224, 112); this.listView1.TabIndex = 0; this.listView1.View = System.Windows.Forms.View.Details; this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged); // // Start // this.Start.Text = "Start"; this.Start.Width = 43; // // S**t // this.S**t.Text = "S**t"; this.S**t.Width = 41; // // Info // this.Info.Text = "Info"; this.Info.Width = 135; // // label3 // this.label3.Location = new System.Drawing.Point(328, 22); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(32, 16); this.label3.TabIndex = 6; this.label3.Text = "Info"; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(352, 16); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(136, 20); this.textBox2.TabIndex = 1; this.textBox2.Text = ""; this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged); // // button1 // this.button1.Location = new System.Drawing.Point(288, 168); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(120, 23); this.button1.TabIndex = 4; this.button1.Text = "Hent tekst fra forrige"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Location = new System.Drawing.Point(208, 168); this.button2.Name = "button2"; this.button2.TabIndex = 5; this.button2.Text = "Vis dag"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(496, 198); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Controls.Add(this.textBox2); this.Controls.Add(this.label3); this.Controls.Add(this.listView1); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.textBox1); this.Controls.Add(this.butClose); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "Form1"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Oles tidsregistrerings assistent"; this.TopMost = true; this.WindowState = System.Windows.Forms.FormWindowState.Minimized; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); }
private void m_txtArea_m_evtSelectItem(object sender, System.Windows.Forms.ListViewItem lviSelected) { ((clsCtl_InPatientQuery)this.objController).m_txtAreaSelectItem(lviSelected); }
/// <summary> /// デザイナ サポートに必要なメソッドです。このメソッドの内容を /// コード エディタで変更しないでください。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new System.Windows.Forms.ListViewItem.ListViewSubItem[] { new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "test", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, new System.Drawing.Font("MS UI Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(128)))) }, 0); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(PluginListDialog)); this.panel1 = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.list = new System.Windows.Forms.ListView(); this.titleColumn = new System.Windows.Forms.ColumnHeader(); this.authorColumn = new System.Windows.Forms.ColumnHeader(); this.linkColumn = new System.Windows.Forms.ColumnHeader(); this.images = new System.Windows.Forms.ImageList(this.components); this.panel1.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] { this.button1 }); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 235); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(424, 40); this.panel1.TabIndex = 0; // // button1 // this.button1.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.button1.DialogResult = System.Windows.Forms.DialogResult.OK; this.button1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button1.Location = new System.Drawing.Point(328, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(88, 24); this.button1.TabIndex = 0; this.button1.Text = "&OK"; // // list // this.list.AllowColumnReorder = true; this.list.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.titleColumn, this.authorColumn, this.linkColumn }); this.list.Dock = System.Windows.Forms.DockStyle.Fill; this.list.FullRowSelect = true; listViewItem1.StateImageIndex = 0; this.list.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1 }); this.list.Name = "list"; this.list.Size = new System.Drawing.Size(424, 235); this.list.SmallImageList = this.images; this.list.TabIndex = 1; this.list.View = System.Windows.Forms.View.Details; // // titleColumn // this.titleColumn.Text = "Name"; //! this.titleColumn.Text = "名前"; this.titleColumn.Width = 141; // // authorColumn // this.authorColumn.Text = "Creator"; //! this.authorColumn.Text = "製作者"; // // linkColumn // this.linkColumn.Text = "Contact address"; //! this.linkColumn.Text = "連絡先"; this.linkColumn.Width = 207; // // images // this.images.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; this.images.ImageSize = new System.Drawing.Size(16, 16); this.images.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("images.ImageStream"))); this.images.TransparentColor = System.Drawing.Color.Transparent; // // PluginListDialog // this.AutoScaleBaseSize = new System.Drawing.Size(5, 12); this.ClientSize = new System.Drawing.Size(424, 275); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.list, this.panel1 }); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "PluginListDialog"; this.Text = "Installed Plugins"; //! this.Text = "インストールされているプラグイン"; this.Load += new System.EventHandler(this.PluginListDialog_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] { "罗斌", "计算机应用", "高等教育自学考试" }, -1); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); this.listView1 = new System.Windows.Forms.ListView(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.imageList2 = new System.Windows.Forms.ImageList(this.components); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.button5 = new System.Windows.Forms.Button(); this.SuspendLayout(); // // listView1 // this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3 }); this.listView1.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1 }); this.listView1.LargeImageList = this.imageList1; this.listView1.Location = new System.Drawing.Point(8, 8); this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(392, 152); this.listView1.SmallImageList = this.imageList2; this.listView1.TabIndex = 0; this.listView1.View = System.Windows.Forms.View.Details; // // button1 // this.button1.Location = new System.Drawing.Point(8, 168); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(80, 23); this.button1.TabIndex = 1; this.button1.Text = "大图标显示"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Location = new System.Drawing.Point(88, 168); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(80, 23); this.button2.TabIndex = 2; this.button2.Text = "小图标显示"; this.button2.Click += new System.EventHandler(this.button2_Click); // // button3 // this.button3.Location = new System.Drawing.Point(168, 168); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(88, 23); this.button3.TabIndex = 3; this.button3.Text = "详细资料显示"; this.button3.Click += new System.EventHandler(this.button3_Click); // // button4 // this.button4.Location = new System.Drawing.Point(256, 168); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(64, 23); this.button4.TabIndex = 4; this.button4.Text = "增加新项"; this.button4.Click += new System.EventHandler(this.button4_Click); // // imageList1 // this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // imageList2 // this.imageList2.ImageSize = new System.Drawing.Size(16, 16); this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream"))); this.imageList2.TransparentColor = System.Drawing.Color.Transparent; // // columnHeader1 // this.columnHeader1.Text = " 姓名"; this.columnHeader1.Width = 87; // // columnHeader2 // this.columnHeader2.Text = "学历及专业"; this.columnHeader2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.columnHeader2.Width = 120; // // columnHeader3 // this.columnHeader3.Text = "毕业院校"; this.columnHeader3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.columnHeader3.Width = 180; // // button5 // this.button5.Location = new System.Drawing.Point(320, 168); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(80, 23); this.button5.TabIndex = 5; this.button5.Text = "删除选择项"; this.button5.Click += new System.EventHandler(this.button5_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(408, 198); this.Controls.Add(this.button5); this.Controls.Add(this.button4); this.Controls.Add(this.button3); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Controls.Add(this.listView1); this.MaximizeBox = false; this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "演示列表视图控件"; this.Load += new System.EventHandler(this.Form1_Load); 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.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] { "ListViewItem", "ListViewSubItem1", "ListViewSubItem2" }, 0); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ListProjectsForm)); this.ProjectsListView = new System.Windows.Forms.ListView(); this.ProjectNameColumnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.SourceConnectionStringColumnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.DestinationConnectionStringColumnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.IconsImageList = new System.Windows.Forms.ImageList(this.components); this.ActionsContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.OpenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.RenameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.DeleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); this.ActionsContextMenuStrip.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.SuspendLayout(); // // ProjectsListView // this.ProjectsListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.ProjectNameColumnHeader, this.SourceConnectionStringColumnHeader, this.DestinationConnectionStringColumnHeader }); this.ProjectsListView.Dock = System.Windows.Forms.DockStyle.Fill; this.ProjectsListView.FullRowSelect = true; this.ProjectsListView.GridLines = true; this.ProjectsListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.ProjectsListView.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1 }); this.ProjectsListView.LabelWrap = false; this.ProjectsListView.Location = new System.Drawing.Point(0, 0); this.ProjectsListView.MultiSelect = false; this.ProjectsListView.Name = "ProjectsListView"; this.ProjectsListView.Size = new System.Drawing.Size(860, 304); this.ProjectsListView.SmallImageList = this.IconsImageList; this.ProjectsListView.TabIndex = 5; this.ProjectsListView.UseCompatibleStateImageBehavior = false; this.ProjectsListView.View = System.Windows.Forms.View.Details; this.ProjectsListView.AfterLabelEdit += new System.Windows.Forms.LabelEditEventHandler(this.ProjectsListView_AfterLabelEdit); this.ProjectsListView.SelectedIndexChanged += new System.EventHandler(this.ProjectsListView_SelectedIndexChanged); this.ProjectsListView.DoubleClick += new System.EventHandler(this.ProjectsListView_DoubleClick); // // ProjectNameColumnHeader // this.ProjectNameColumnHeader.Text = "Icon"; this.ProjectNameColumnHeader.Width = 100; // // SourceConnectionStringColumnHeader // this.SourceConnectionStringColumnHeader.Text = "Connection"; this.SourceConnectionStringColumnHeader.Width = 150; // // DestinationConnectionStringColumnHeader // this.DestinationConnectionStringColumnHeader.Width = 150; // // IconsImageList // this.IconsImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("IconsImageList.ImageStream"))); this.IconsImageList.TransparentColor = System.Drawing.Color.Transparent; this.IconsImageList.Images.SetKeyName(0, "database_yellow.png"); // // ActionsContextMenuStrip // this.ActionsContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.OpenToolStripMenuItem, this.RenameToolStripMenuItem, this.DeleteToolStripMenuItem }); this.ActionsContextMenuStrip.Name = "ActionsContextMenuStrip"; this.ActionsContextMenuStrip.Size = new System.Drawing.Size(118, 70); // // OpenToolStripMenuItem // this.OpenToolStripMenuItem.Name = "OpenToolStripMenuItem"; this.OpenToolStripMenuItem.Size = new System.Drawing.Size(117, 22); this.OpenToolStripMenuItem.Text = "&Open"; this.OpenToolStripMenuItem.Click += new System.EventHandler(this.mnuItemOpen_Click); // // RenameToolStripMenuItem // this.RenameToolStripMenuItem.Name = "RenameToolStripMenuItem"; this.RenameToolStripMenuItem.Size = new System.Drawing.Size(117, 22); this.RenameToolStripMenuItem.Text = "&Rename"; this.RenameToolStripMenuItem.Click += new System.EventHandler(this.mnuItemRename_Click); // // DeleteToolStripMenuItem // this.DeleteToolStripMenuItem.Name = "DeleteToolStripMenuItem"; this.DeleteToolStripMenuItem.Size = new System.Drawing.Size(117, 22); this.DeleteToolStripMenuItem.Text = "&Delete"; this.DeleteToolStripMenuItem.Click += new System.EventHandler(this.mnuItemDelete_Click); // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripStatusLabel1 }); this.statusStrip1.Location = new System.Drawing.Point(0, 282); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(860, 22); this.statusStrip1.TabIndex = 6; this.statusStrip1.Text = "statusStrip1"; // // toolStripStatusLabel1 // this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Size = new System.Drawing.Size(214, 17); this.toolStripStatusLabel1.Text = "Right-click on project for more actions."; // // ListProjectsForm // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(860, 304); this.ContextMenuStrip = this.ActionsContextMenuStrip; this.Controls.Add(this.statusStrip1); this.Controls.Add(this.ProjectsListView); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.KeyPreview = true; this.MinimizeBox = false; this.Name = "ListProjectsForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "OpenDBDiff projects"; this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ListProjectsForm_KeyDown); this.ActionsContextMenuStrip.ResumeLayout(false); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DestinationView)); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("chartControl2"); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("chartControl3"); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("chart4"); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem("chart11"); System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem("chartControl1 (current)"); this.label2 = new System.Windows.Forms.Label(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.label4 = new System.Windows.Forms.Label(); this.lblDestination = new System.Windows.Forms.Label(); this.imageListCharts = new System.Windows.Forms.ImageList(this.components); this.label1 = new System.Windows.Forms.Label(); this.lvCharts = new System.Windows.Forms.ListView(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.lbSeriesList = new Genetibase.MathX.NugenCCalc.Design.SeriesListBox(); this.label5 = new System.Windows.Forms.Label(); this.tbNewSeriesName = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.rbCreareNewSeries = new System.Windows.Forms.RadioButton(); this.rbUseExistSeries = new System.Windows.Forms.RadioButton(); this.chkAutoRefresh = new System.Windows.Forms.CheckBox(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label2.Font = new System.Drawing.Font("Tahoma", 21.75F); this.label2.ForeColor = System.Drawing.SystemColors.HighlightText; this.label2.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.label2.ImageIndex = 0; this.label2.ImageList = this.imageList; this.label2.Location = new System.Drawing.Point(288, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(192, 32); this.label2.TabIndex = 18; this.label2.Text = "Destination"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, ""); // // label4 // this.label4.FlatStyle = System.Windows.Forms.FlatStyle.System; this.label4.Location = new System.Drawing.Point(0, 56); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(128, 16); this.label4.TabIndex = 22; this.label4.Text = "Available chart on form:"; // // lblDestination // this.lblDestination.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblDestination.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.lblDestination.ImageList = this.imageListCharts; this.lblDestination.Location = new System.Drawing.Point(224, 88); this.lblDestination.Name = "lblDestination"; this.lblDestination.Size = new System.Drawing.Size(256, 24); this.lblDestination.TabIndex = 21; this.lblDestination.Text = "No seleceted chart"; this.lblDestination.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // imageListCharts // this.imageListCharts.ColorDepth = System.Windows.Forms.ColorDepth.Depth16Bit; this.imageListCharts.ImageSize = new System.Drawing.Size(16, 16); this.imageListCharts.TransparentColor = System.Drawing.Color.Transparent; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.label1.Location = new System.Drawing.Point(224, 72); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(128, 16); this.label1.TabIndex = 20; this.label1.Text = "Current destination chart:"; // // lvCharts // this.lvCharts.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.lvCharts.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2, listViewItem3, listViewItem4, listViewItem5 }); this.lvCharts.LargeImageList = this.imageListCharts; this.lvCharts.Location = new System.Drawing.Point(0, 72); this.lvCharts.Name = "lvCharts"; this.lvCharts.Size = new System.Drawing.Size(216, 320); this.lvCharts.SmallImageList = this.imageListCharts; this.lvCharts.TabIndex = 19; this.lvCharts.UseCompatibleStateImageBehavior = false; this.lvCharts.View = System.Windows.Forms.View.List; this.lvCharts.DoubleClick += new System.EventHandler(this.lvCharts_DoubleClick); // // 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.Location = new System.Drawing.Point(0, 40); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(480, 8); this.groupBox1.TabIndex = 17; this.groupBox1.TabStop = false; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox2.Controls.Add(this.lbSeriesList); this.groupBox2.Controls.Add(this.label5); this.groupBox2.Controls.Add(this.tbNewSeriesName); this.groupBox2.Controls.Add(this.label3); this.groupBox2.Controls.Add(this.rbCreareNewSeries); this.groupBox2.Controls.Add(this.rbUseExistSeries); this.groupBox2.Controls.Add(this.chkAutoRefresh); this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox2.Location = new System.Drawing.Point(224, 120); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(256, 272); this.groupBox2.TabIndex = 23; this.groupBox2.TabStop = false; this.groupBox2.Text = "Destination properties"; this.groupBox2.Enter += new System.EventHandler(this.groupBox2_Enter); // // lbSeriesList // this.lbSeriesList.BackColor = System.Drawing.Color.AliceBlue; this.lbSeriesList.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable; this.lbSeriesList.Location = new System.Drawing.Point(24, 96); this.lbSeriesList.Name = "lbSeriesList"; this.lbSeriesList.Size = new System.Drawing.Size(224, 88); this.lbSeriesList.TabIndex = 7; // // label5 // this.label5.Enabled = false; this.label5.Location = new System.Drawing.Point(24, 208); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(112, 16); this.label5.TabIndex = 6; this.label5.Text = "New series name"; // // tbNewSeriesName // this.tbNewSeriesName.Enabled = false; this.tbNewSeriesName.Location = new System.Drawing.Point(24, 224); this.tbNewSeriesName.Name = "tbNewSeriesName"; this.tbNewSeriesName.Size = new System.Drawing.Size(224, 21); this.tbNewSeriesName.TabIndex = 5; this.tbNewSeriesName.Text = "New Series Name"; // // label3 // this.label3.Enabled = false; this.label3.Location = new System.Drawing.Point(24, 80); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(96, 16); this.label3.TabIndex = 4; this.label3.Text = "Series name"; // // rbCreareNewSeries // this.rbCreareNewSeries.Checked = true; this.rbCreareNewSeries.Location = new System.Drawing.Point(8, 184); this.rbCreareNewSeries.Name = "rbCreareNewSeries"; this.rbCreareNewSeries.Size = new System.Drawing.Size(120, 24); this.rbCreareNewSeries.TabIndex = 2; this.rbCreareNewSeries.TabStop = true; this.rbCreareNewSeries.Text = "Create new series"; this.rbCreareNewSeries.CheckedChanged += new System.EventHandler(this.rbCreareNewSeries_CheckedChanged); // // rbUseExistSeries // this.rbUseExistSeries.Location = new System.Drawing.Point(8, 56); this.rbUseExistSeries.Name = "rbUseExistSeries"; this.rbUseExistSeries.Size = new System.Drawing.Size(104, 24); this.rbUseExistSeries.TabIndex = 1; this.rbUseExistSeries.Text = "Use exist"; this.rbUseExistSeries.CheckedChanged += new System.EventHandler(this.rbUseExistSeries_CheckedChanged); // // chkAutoRefresh // this.chkAutoRefresh.FlatStyle = System.Windows.Forms.FlatStyle.System; this.chkAutoRefresh.Location = new System.Drawing.Point(8, 24); this.chkAutoRefresh.Name = "chkAutoRefresh"; this.chkAutoRefresh.Size = new System.Drawing.Size(128, 24); this.chkAutoRefresh.TabIndex = 0; this.chkAutoRefresh.Text = "Automatic mode"; this.chkAutoRefresh.CheckedChanged += new System.EventHandler(this.chkAutoRefresh_CheckedChanged); // // DestinationView // this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupBox2); this.Controls.Add(this.label4); this.Controls.Add(this.lblDestination); this.Controls.Add(this.label1); this.Controls.Add(this.lvCharts); this.Controls.Add(this.label2); this.Name = "DestinationView"; this.Size = new System.Drawing.Size(488, 400); this.Load += new System.EventHandler(this.DestinationView_Load); this.groupBox2.ResumeLayout(false); this.groupBox2.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.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() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("asdfadsa"); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("rewqrewq"); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("vbcbxvxc"); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem("gfdsgfsd"); System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem("ytreyre"); System.Windows.Forms.ListViewItem listViewItem6 = new System.Windows.Forms.ListViewItem("xvcbxvcx"); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VixenApplication)); this.contextMenuStripNewSequence = new System.Windows.Forms.ContextMenuStrip(this.components); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.menuStripMain = new System.Windows.Forms.MenuStrip(); this.vixenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.logsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewInstalledModulesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.profilesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.systemConfigurationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.setupDisplayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.setupPreviewsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.executionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.startToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.stopToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.label2 = new System.Windows.Forms.Label(); this.buttonOpenSequence = new System.Windows.Forms.Button(); this.buttonNewSequence = new System.Windows.Forms.Button(); this.groupBoxSequences = new System.Windows.Forms.GroupBox(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.listViewRecentSequences = new System.Windows.Forms.ListView(); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.contextMenuStripRecent = new System.Windows.Forms.ContextMenuStrip(this.components); this.toolStripItemClearSequences = new System.Windows.Forms.ToolStripMenuItem(); this.labelVersion = new System.Windows.Forms.Label(); this.groupBoxSystemConfig = new System.Windows.Forms.GroupBox(); this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel(); this.buttonSetupDisplay = new System.Windows.Forms.Button(); this.buttonSetupOutputPreviews = new System.Windows.Forms.Button(); this.labelDebugVersion = new System.Windows.Forms.Label(); this.toolStripStatusLabelExecutionLight = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabelExecutionState = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel_memory = new System.Windows.Forms.ToolStripStatusLabel(); this.statusStrip = new System.Windows.Forms.StatusStrip(); this.toolStripStatusUpdates = new System.Windows.Forms.ToolStripStatusLabel(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.progressBar = new Common.Controls.TextProgressBar(); this.menuStripMain.SuspendLayout(); this.groupBoxSequences.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.contextMenuStripRecent.SuspendLayout(); this.groupBoxSystemConfig.SuspendLayout(); this.flowLayoutPanel2.SuspendLayout(); this.statusStrip.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // contextMenuStripNewSequence // this.contextMenuStripNewSequence.ImageScalingSize = new System.Drawing.Size(24, 24); this.contextMenuStripNewSequence.Name = "contextMenuStripNewSequence"; this.contextMenuStripNewSequence.ShowImageMargin = false; this.contextMenuStripNewSequence.Size = new System.Drawing.Size(36, 4); // // openFileDialog // this.openFileDialog.Multiselect = true; // // menuStripMain // this.menuStripMain.BackColor = System.Drawing.Color.Transparent; this.menuStripMain.ImageScalingSize = new System.Drawing.Size(24, 24); this.menuStripMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.vixenToolStripMenuItem }); this.menuStripMain.Location = new System.Drawing.Point(0, 0); this.menuStripMain.Name = "menuStripMain"; this.menuStripMain.Padding = new System.Windows.Forms.Padding(9, 3, 0, 3); this.menuStripMain.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; this.menuStripMain.Size = new System.Drawing.Size(459, 25); this.menuStripMain.TabIndex = 2; this.menuStripMain.Text = "menuStrip1"; // // vixenToolStripMenuItem // this.vixenToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.logsToolStripMenuItem, this.viewInstalledModulesToolStripMenuItem, this.profilesToolStripMenuItem, this.systemConfigurationToolStripMenuItem, this.executionToolStripMenuItem, this.toolStripSeparator1, this.exitToolStripMenuItem }); this.vixenToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.vixenToolStripMenuItem.Name = "vixenToolStripMenuItem"; this.vixenToolStripMenuItem.Size = new System.Drawing.Size(57, 19); this.vixenToolStripMenuItem.Text = "System"; // // logsToolStripMenuItem // this.logsToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.logsToolStripMenuItem.Name = "logsToolStripMenuItem"; this.logsToolStripMenuItem.Size = new System.Drawing.Size(195, 22); this.logsToolStripMenuItem.Text = "Logs"; // // viewInstalledModulesToolStripMenuItem // this.viewInstalledModulesToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.viewInstalledModulesToolStripMenuItem.Name = "viewInstalledModulesToolStripMenuItem"; this.viewInstalledModulesToolStripMenuItem.Size = new System.Drawing.Size(195, 22); this.viewInstalledModulesToolStripMenuItem.Text = "View Installed Modules"; this.viewInstalledModulesToolStripMenuItem.Click += new System.EventHandler(this.viewInstalledModulesToolStripMenuItem_Click); // // profilesToolStripMenuItem // this.profilesToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.profilesToolStripMenuItem.Name = "profilesToolStripMenuItem"; this.profilesToolStripMenuItem.Size = new System.Drawing.Size(195, 22); this.profilesToolStripMenuItem.Text = "Profiles..."; this.profilesToolStripMenuItem.Click += new System.EventHandler(this.profilesToolStripMenuItem_Click); // // systemConfigurationToolStripMenuItem // this.systemConfigurationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.setupDisplayToolStripMenuItem, this.setupPreviewsToolStripMenuItem }); this.systemConfigurationToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.systemConfigurationToolStripMenuItem.Name = "systemConfigurationToolStripMenuItem"; this.systemConfigurationToolStripMenuItem.Size = new System.Drawing.Size(195, 22); this.systemConfigurationToolStripMenuItem.Text = "System Configuration"; // // setupDisplayToolStripMenuItem // this.setupDisplayToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.setupDisplayToolStripMenuItem.Name = "setupDisplayToolStripMenuItem"; this.setupDisplayToolStripMenuItem.Size = new System.Drawing.Size(153, 22); this.setupDisplayToolStripMenuItem.Text = "Setup Display"; this.setupDisplayToolStripMenuItem.Click += new System.EventHandler(this.setupDisplayToolStripMenuItem_Click); // // setupPreviewsToolStripMenuItem // this.setupPreviewsToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.setupPreviewsToolStripMenuItem.Name = "setupPreviewsToolStripMenuItem"; this.setupPreviewsToolStripMenuItem.Size = new System.Drawing.Size(153, 22); this.setupPreviewsToolStripMenuItem.Text = "Setup Previews"; this.setupPreviewsToolStripMenuItem.Click += new System.EventHandler(this.setupPreviewsToolStripMenuItem_Click); // // executionToolStripMenuItem // this.executionToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.startToolStripMenuItem, this.stopToolStripMenuItem }); this.executionToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.executionToolStripMenuItem.Name = "executionToolStripMenuItem"; this.executionToolStripMenuItem.Size = new System.Drawing.Size(195, 22); this.executionToolStripMenuItem.Text = "Execution Engine"; // // startToolStripMenuItem // this.startToolStripMenuItem.Name = "startToolStripMenuItem"; this.startToolStripMenuItem.Size = new System.Drawing.Size(98, 22); this.startToolStripMenuItem.Text = "Start"; this.startToolStripMenuItem.Click += new System.EventHandler(this.startToolStripMenuItem_Click); // // stopToolStripMenuItem // this.stopToolStripMenuItem.Name = "stopToolStripMenuItem"; this.stopToolStripMenuItem.Size = new System.Drawing.Size(98, 22); this.stopToolStripMenuItem.Text = "Stop"; this.stopToolStripMenuItem.Click += new System.EventHandler(this.stopToolStripMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.ForeColor = System.Drawing.SystemColors.ControlText; this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(192, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(195, 22); this.exitToolStripMenuItem.Text = "Shutdown and E&xit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // label2 // this.label2.AutoSize = true; this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.label2.Location = new System.Drawing.Point(4, 80); this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(105, 15); this.label2.TabIndex = 8; this.label2.Text = "Recent Sequences:"; // // buttonOpenSequence // this.buttonOpenSequence.AutoSize = true; this.buttonOpenSequence.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.buttonOpenSequence.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); this.buttonOpenSequence.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonOpenSequence.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.buttonOpenSequence.Location = new System.Drawing.Point(4, 45); this.buttonOpenSequence.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.buttonOpenSequence.Name = "buttonOpenSequence"; this.buttonOpenSequence.Size = new System.Drawing.Size(180, 30); this.buttonOpenSequence.TabIndex = 2; this.buttonOpenSequence.Text = "Open Sequence..."; this.buttonOpenSequence.UseVisualStyleBackColor = true; this.buttonOpenSequence.Click += new System.EventHandler(this.buttonOpenSequence_Click); this.buttonOpenSequence.MouseLeave += new System.EventHandler(this.buttonBackground_MouseLeave); this.buttonOpenSequence.MouseHover += new System.EventHandler(this.buttonBackground_MouseHover); // // buttonNewSequence // this.buttonNewSequence.AutoSize = true; this.buttonNewSequence.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.buttonNewSequence.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); this.buttonNewSequence.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonNewSequence.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.buttonNewSequence.Location = new System.Drawing.Point(4, 5); this.buttonNewSequence.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.buttonNewSequence.Name = "buttonNewSequence"; this.buttonNewSequence.Size = new System.Drawing.Size(180, 30); this.buttonNewSequence.TabIndex = 1; this.buttonNewSequence.Text = "New Sequence..."; this.buttonNewSequence.UseVisualStyleBackColor = true; this.buttonNewSequence.Click += new System.EventHandler(this.buttonNewSequence_Click); this.buttonNewSequence.MouseLeave += new System.EventHandler(this.buttonBackground_MouseLeave); this.buttonNewSequence.MouseHover += new System.EventHandler(this.buttonBackground_MouseHover); // // groupBoxSequences // this.groupBoxSequences.AutoSize = true; this.groupBoxSequences.Controls.Add(this.flowLayoutPanel1); this.groupBoxSequences.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.groupBoxSequences.Location = new System.Drawing.Point(13, 205); this.groupBoxSequences.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.groupBoxSequences.Name = "groupBoxSequences"; this.groupBoxSequences.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); this.groupBoxSequences.Size = new System.Drawing.Size(203, 271); this.groupBoxSequences.TabIndex = 0; this.groupBoxSequences.TabStop = false; this.groupBoxSequences.Text = "Sequences"; this.groupBoxSequences.Paint += new System.Windows.Forms.PaintEventHandler(this.groupBoxes_Paint); // // flowLayoutPanel1 // this.flowLayoutPanel1.AutoSize = true; this.flowLayoutPanel1.Controls.Add(this.buttonNewSequence); this.flowLayoutPanel1.Controls.Add(this.buttonOpenSequence); this.flowLayoutPanel1.Controls.Add(this.label2); this.flowLayoutPanel1.Controls.Add(this.listViewRecentSequences); this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; this.flowLayoutPanel1.Location = new System.Drawing.Point(4, 21); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(195, 245); this.flowLayoutPanel1.TabIndex = 18; // // listViewRecentSequences // this.listViewRecentSequences.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); this.listViewRecentSequences.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1 }); this.listViewRecentSequences.ContextMenuStrip = this.contextMenuStripRecent; this.listViewRecentSequences.Dock = System.Windows.Forms.DockStyle.Fill; this.listViewRecentSequences.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.listViewRecentSequences.FullRowSelect = true; this.listViewRecentSequences.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.listViewRecentSequences.HideSelection = false; this.listViewRecentSequences.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2, listViewItem3, listViewItem4, listViewItem5, listViewItem6 }); this.listViewRecentSequences.Location = new System.Drawing.Point(4, 100); this.listViewRecentSequences.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.listViewRecentSequences.MultiSelect = false; this.listViewRecentSequences.Name = "listViewRecentSequences"; this.listViewRecentSequences.Size = new System.Drawing.Size(180, 130); this.listViewRecentSequences.TabIndex = 0; this.listViewRecentSequences.UseCompatibleStateImageBehavior = false; this.listViewRecentSequences.View = System.Windows.Forms.View.Details; this.listViewRecentSequences.DoubleClick += new System.EventHandler(this.listViewRecentSequences_DoubleClick); // // columnHeader1 // this.columnHeader1.Width = 150; // // contextMenuStripRecent // this.contextMenuStripRecent.ImageScalingSize = new System.Drawing.Size(20, 20); this.contextMenuStripRecent.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripItemClearSequences }); this.contextMenuStripRecent.Name = "contextMenuStripRecent"; this.contextMenuStripRecent.Size = new System.Drawing.Size(200, 26); // // toolStripItemClearSequences // this.toolStripItemClearSequences.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripItemClearSequences.Name = "toolStripItemClearSequences"; this.toolStripItemClearSequences.Size = new System.Drawing.Size(199, 22); this.toolStripItemClearSequences.Text = "Clear Recent Sequences"; this.toolStripItemClearSequences.ToolTipText = "Clears the Recent Sequence list"; // // labelVersion // this.labelVersion.AutoSize = true; this.labelVersion.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.labelVersion.Location = new System.Drawing.Point(319, 137); this.labelVersion.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.labelVersion.Name = "labelVersion"; this.labelVersion.Size = new System.Drawing.Size(39, 15); this.labelVersion.TabIndex = 1; this.labelVersion.Text = "[0.0.0]"; // // groupBoxSystemConfig // this.groupBoxSystemConfig.AutoSize = true; this.groupBoxSystemConfig.Controls.Add(this.flowLayoutPanel2); this.groupBoxSystemConfig.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.groupBoxSystemConfig.Location = new System.Drawing.Point(235, 205); this.groupBoxSystemConfig.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.groupBoxSystemConfig.Name = "groupBoxSystemConfig"; this.groupBoxSystemConfig.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); this.groupBoxSystemConfig.Size = new System.Drawing.Size(205, 116); this.groupBoxSystemConfig.TabIndex = 1; this.groupBoxSystemConfig.TabStop = false; this.groupBoxSystemConfig.Text = "System Configuration"; this.groupBoxSystemConfig.Paint += new System.Windows.Forms.PaintEventHandler(this.groupBoxes_Paint); // // flowLayoutPanel2 // this.flowLayoutPanel2.AutoSize = true; this.flowLayoutPanel2.Controls.Add(this.buttonSetupDisplay); this.flowLayoutPanel2.Controls.Add(this.buttonSetupOutputPreviews); this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel2.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; this.flowLayoutPanel2.Location = new System.Drawing.Point(4, 21); this.flowLayoutPanel2.Name = "flowLayoutPanel2"; this.flowLayoutPanel2.Size = new System.Drawing.Size(197, 90); this.flowLayoutPanel2.TabIndex = 18; // // buttonSetupDisplay // this.buttonSetupDisplay.AutoSize = true; this.buttonSetupDisplay.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.buttonSetupDisplay.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); this.buttonSetupDisplay.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonSetupDisplay.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.buttonSetupDisplay.Location = new System.Drawing.Point(4, 5); this.buttonSetupDisplay.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.buttonSetupDisplay.Name = "buttonSetupDisplay"; this.buttonSetupDisplay.Size = new System.Drawing.Size(180, 30); this.buttonSetupDisplay.TabIndex = 3; this.buttonSetupDisplay.Text = "Setup Display"; this.buttonSetupDisplay.UseVisualStyleBackColor = true; this.buttonSetupDisplay.Click += new System.EventHandler(this.buttonSetupDisplay_Click); this.buttonSetupDisplay.MouseLeave += new System.EventHandler(this.buttonBackground_MouseLeave); this.buttonSetupDisplay.MouseHover += new System.EventHandler(this.buttonBackground_MouseHover); // // buttonSetupOutputPreviews // this.buttonSetupOutputPreviews.AutoSize = true; this.buttonSetupOutputPreviews.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.buttonSetupOutputPreviews.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); this.buttonSetupOutputPreviews.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonSetupOutputPreviews.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.buttonSetupOutputPreviews.Location = new System.Drawing.Point(4, 45); this.buttonSetupOutputPreviews.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.buttonSetupOutputPreviews.Name = "buttonSetupOutputPreviews"; this.buttonSetupOutputPreviews.Size = new System.Drawing.Size(180, 30); this.buttonSetupOutputPreviews.TabIndex = 4; this.buttonSetupOutputPreviews.Text = "Setup Previews"; this.buttonSetupOutputPreviews.UseVisualStyleBackColor = true; this.buttonSetupOutputPreviews.Click += new System.EventHandler(this.buttonSetupOutputPreviews_Click); this.buttonSetupOutputPreviews.MouseLeave += new System.EventHandler(this.buttonBackground_MouseLeave); this.buttonSetupOutputPreviews.MouseHover += new System.EventHandler(this.buttonBackground_MouseHover); // // labelDebugVersion // this.labelDebugVersion.AutoSize = true; this.labelDebugVersion.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.labelDebugVersion.Location = new System.Drawing.Point(319, 166); this.labelDebugVersion.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.labelDebugVersion.Name = "labelDebugVersion"; this.labelDebugVersion.Size = new System.Drawing.Size(39, 15); this.labelDebugVersion.TabIndex = 16; this.labelDebugVersion.Text = "[0.0.0]"; // // toolStripStatusLabelExecutionLight // this.toolStripStatusLabelExecutionLight.AutoSize = false; this.toolStripStatusLabelExecutionLight.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.toolStripStatusLabelExecutionLight.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.toolStripStatusLabelExecutionLight.Name = "toolStripStatusLabelExecutionLight"; this.toolStripStatusLabelExecutionLight.Size = new System.Drawing.Size(22, 22); // // toolStripStatusLabel1 // this.toolStripStatusLabel1.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Size = new System.Drawing.Size(13, 22); this.toolStripStatusLabel1.Text = " "; // // toolStripStatusLabelExecutionState // this.toolStripStatusLabelExecutionState.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right; this.toolStripStatusLabelExecutionState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.toolStripStatusLabelExecutionState.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.toolStripStatusLabelExecutionState.Name = "toolStripStatusLabelExecutionState"; this.toolStripStatusLabelExecutionState.Size = new System.Drawing.Size(120, 22); this.toolStripStatusLabelExecutionState.Text = "Execution: Unknown"; // // toolStripStatusLabel_memory // this.toolStripStatusLabel_memory.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripStatusLabel_memory.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.toolStripStatusLabel_memory.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.toolStripStatusLabel_memory.Name = "toolStripStatusLabel_memory"; this.toolStripStatusLabel_memory.Size = new System.Drawing.Size(231, 22); this.toolStripStatusLabel_memory.Spring = true; this.toolStripStatusLabel_memory.Text = "Resource Usage"; this.toolStripStatusLabel_memory.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // statusStrip // this.statusStrip.AutoSize = false; this.statusStrip.GripMargin = new System.Windows.Forms.Padding(0); this.statusStrip.ImageScalingSize = new System.Drawing.Size(24, 24); this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripStatusLabelExecutionLight, this.toolStripStatusLabel1, this.toolStripStatusLabelExecutionState, this.toolStripStatusUpdates, this.toolStripStatusLabel_memory }); this.statusStrip.Location = new System.Drawing.Point(0, 515); this.statusStrip.Name = "statusStrip"; this.statusStrip.Padding = new System.Windows.Forms.Padding(2, 0, 21, 0); this.statusStrip.Size = new System.Drawing.Size(459, 24); this.statusStrip.SizingGrip = false; this.statusStrip.TabIndex = 13; this.statusStrip.Text = "statusStrip"; // // toolStripStatusUpdates // this.toolStripStatusUpdates.Name = "toolStripStatusUpdates"; this.toolStripStatusUpdates.Size = new System.Drawing.Size(50, 19); this.toolStripStatusUpdates.Text = "Updates"; // // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(13, 30); this.pictureBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(427, 165); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureBox1.TabIndex = 14; this.pictureBox1.TabStop = false; // // progressBar // this.progressBar.CustomText = ""; this.progressBar.Location = new System.Drawing.Point(12, 484); this.progressBar.Name = "progressBar"; this.progressBar.ProgressColor = System.Drawing.Color.Lime; this.progressBar.Size = new System.Drawing.Size(428, 23); this.progressBar.TabIndex = 17; this.progressBar.TextColor = System.Drawing.Color.Black; this.progressBar.TextFont = new System.Drawing.Font("Segoe UI", 9F); this.progressBar.VisualMode = Common.Controls.ProgressBarDisplayMode.CustomText; // // VixenApplication // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.AutoSize = true; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68))))); this.ClientSize = new System.Drawing.Size(459, 539); this.Controls.Add(this.progressBar); this.Controls.Add(this.groupBoxSequences); this.Controls.Add(this.labelDebugVersion); this.Controls.Add(this.statusStrip); this.Controls.Add(this.labelVersion); this.Controls.Add(this.groupBoxSystemConfig); this.Controls.Add(this.menuStripMain); this.Controls.Add(this.pictureBox1); this.DoubleBuffered = true; this.MainMenuStrip = this.menuStripMain; this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.MaximizeBox = false; this.MinimumSize = new System.Drawing.Size(472, 524); this.Name = "VixenApplication"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Vixen Administration"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.VixenApp_FormClosing); this.Load += new System.EventHandler(this.VixenApplication_Load); this.Shown += new System.EventHandler(this.VixenApplication_Shown); this.Paint += new System.Windows.Forms.PaintEventHandler(this.VixenApplication_Paint); this.menuStripMain.ResumeLayout(false); this.menuStripMain.PerformLayout(); this.groupBoxSequences.ResumeLayout(false); this.groupBoxSequences.PerformLayout(); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel1.PerformLayout(); this.contextMenuStripRecent.ResumeLayout(false); this.groupBoxSystemConfig.ResumeLayout(false); this.groupBoxSystemConfig.PerformLayout(); this.flowLayoutPanel2.ResumeLayout(false); this.flowLayoutPanel2.PerformLayout(); this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] { "00", "", "", "" }, -1); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new string[] { "10", "", "", "" }, -1); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(new string[] { "20", "", "", "" }, -1); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem(new string[] { "30", "", "", "" }, -1); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.btnFVSCycleClear2 = new System.Windows.Forms.Button(); this.btnFVSCycleClearAll = new System.Windows.Forms.Button(); this.btnFVSCycleEdit = new System.Windows.Forms.Button(); this.lstRx = new System.Windows.Forms.ListView(); this.colYr = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colRx = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colDesc = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.grpboxFVSCycle = new System.Windows.Forms.GroupBox(); this.cmbRx = new System.Windows.Forms.ComboBox(); this.btnFVSCycleCancel = new System.Windows.Forms.Button(); this.btnFVSCycleOk = new System.Windows.Forms.Button(); this.chkFVSCycleSkip = new System.Windows.Forms.CheckBox(); this.btnFVSCycleClear = new System.Windows.Forms.Button(); this.btnFVSCycleSelectRx = new System.Windows.Forms.Button(); this.txtRxDesc = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.grpboxFVSCycleLength = new System.Windows.Forms.GroupBox(); this.rdo5YearCycle = new System.Windows.Forms.RadioButton(); this.rdo10YearCycle = new System.Windows.Forms.RadioButton(); this.cmbRxPackageId = new System.Windows.Forms.ComboBox(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.btnEditKCPFile = new System.Windows.Forms.Button(); this.txtKcpFile = new System.Windows.Forms.TextBox(); this.btnLoadKCPFile = new System.Windows.Forms.Button(); this.txtPackageDesc = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.groupBox1.SuspendLayout(); this.panel1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.grpboxFVSCycle.SuspendLayout(); this.grpboxFVSCycleLength.SuspendLayout(); this.groupBox5.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.panel1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(752, 536); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; // // panel1 // this.panel1.AutoScroll = true; this.panel1.Controls.Add(this.groupBox2); this.panel1.Controls.Add(this.cmbRxPackageId); this.panel1.Controls.Add(this.groupBox5); this.panel1.Controls.Add(this.txtPackageDesc); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(3, 16); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(746, 517); this.panel1.TabIndex = 0; // // groupBox2 // this.groupBox2.Controls.Add(this.btnFVSCycleClear2); this.groupBox2.Controls.Add(this.btnFVSCycleClearAll); this.groupBox2.Controls.Add(this.btnFVSCycleEdit); this.groupBox2.Controls.Add(this.lstRx); this.groupBox2.Controls.Add(this.grpboxFVSCycle); this.groupBox2.Controls.Add(this.grpboxFVSCycleLength); this.groupBox2.Location = new System.Drawing.Point(16, 112); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(720, 256); this.groupBox2.TabIndex = 31; this.groupBox2.TabStop = false; this.groupBox2.Enter += new System.EventHandler(this.groupBox2_Enter); // // btnFVSCycleClear2 // this.btnFVSCycleClear2.Location = new System.Drawing.Point(184, 224); this.btnFVSCycleClear2.Name = "btnFVSCycleClear2"; this.btnFVSCycleClear2.Size = new System.Drawing.Size(64, 25); this.btnFVSCycleClear2.TabIndex = 33; this.btnFVSCycleClear2.Text = "Clear"; this.btnFVSCycleClear2.Click += new System.EventHandler(this.btnFVSCycleClear2_Click); // // btnFVSCycleClearAll // this.btnFVSCycleClearAll.Location = new System.Drawing.Point(248, 224); this.btnFVSCycleClearAll.Name = "btnFVSCycleClearAll"; this.btnFVSCycleClearAll.Size = new System.Drawing.Size(64, 25); this.btnFVSCycleClearAll.TabIndex = 32; this.btnFVSCycleClearAll.Text = "Clear All"; this.btnFVSCycleClearAll.Click += new System.EventHandler(this.btnFVSCycleClearAll_Click); // // btnFVSCycleEdit // this.btnFVSCycleEdit.Enabled = false; this.btnFVSCycleEdit.Location = new System.Drawing.Point(16, 224); this.btnFVSCycleEdit.Name = "btnFVSCycleEdit"; this.btnFVSCycleEdit.Size = new System.Drawing.Size(64, 25); this.btnFVSCycleEdit.TabIndex = 31; this.btnFVSCycleEdit.Text = "Edit"; this.btnFVSCycleEdit.Click += new System.EventHandler(this.btnFVSCycleEdit_Click); // // lstRx // this.lstRx.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.colYr, this.colRx, this.colDesc }); this.lstRx.FullRowSelect = true; this.lstRx.GridLines = true; this.lstRx.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.lstRx.HideSelection = false; this.lstRx.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2, listViewItem3, listViewItem4 }); this.lstRx.Location = new System.Drawing.Point(16, 64); this.lstRx.MultiSelect = false; this.lstRx.Name = "lstRx"; this.lstRx.Size = new System.Drawing.Size(312, 152); this.lstRx.TabIndex = 21; this.lstRx.UseCompatibleStateImageBehavior = false; this.lstRx.View = System.Windows.Forms.View.Details; this.lstRx.SelectedIndexChanged += new System.EventHandler(this.lstRx_SelectedIndexChanged); // // colYr // this.colYr.Text = "Year"; this.colYr.Width = 40; // // colRx // this.colRx.Text = "Treatment"; this.colRx.Width = 69; // // colDesc // this.colDesc.Text = "Description"; this.colDesc.Width = 200; // // grpboxFVSCycle // this.grpboxFVSCycle.Controls.Add(this.cmbRx); this.grpboxFVSCycle.Controls.Add(this.btnFVSCycleCancel); this.grpboxFVSCycle.Controls.Add(this.btnFVSCycleOk); this.grpboxFVSCycle.Controls.Add(this.chkFVSCycleSkip); this.grpboxFVSCycle.Controls.Add(this.btnFVSCycleClear); this.grpboxFVSCycle.Controls.Add(this.btnFVSCycleSelectRx); this.grpboxFVSCycle.Controls.Add(this.txtRxDesc); this.grpboxFVSCycle.Controls.Add(this.label4); this.grpboxFVSCycle.Controls.Add(this.label3); this.grpboxFVSCycle.Enabled = false; this.grpboxFVSCycle.Location = new System.Drawing.Point(336, 16); this.grpboxFVSCycle.Name = "grpboxFVSCycle"; this.grpboxFVSCycle.Size = new System.Drawing.Size(368, 200); this.grpboxFVSCycle.TabIndex = 20; this.grpboxFVSCycle.TabStop = false; this.grpboxFVSCycle.Text = "Simulation Year"; // // cmbRx // this.cmbRx.Location = new System.Drawing.Point(56, 48); this.cmbRx.Name = "cmbRx"; this.cmbRx.Size = new System.Drawing.Size(64, 21); this.cmbRx.TabIndex = 21; this.cmbRx.TextChanged += new System.EventHandler(this.cmbRx_TextChanged); // // btnFVSCycleCancel // this.btnFVSCycleCancel.Location = new System.Drawing.Point(72, 168); this.btnFVSCycleCancel.Name = "btnFVSCycleCancel"; this.btnFVSCycleCancel.Size = new System.Drawing.Size(64, 25); this.btnFVSCycleCancel.TabIndex = 20; this.btnFVSCycleCancel.Text = "Cancel"; this.btnFVSCycleCancel.Click += new System.EventHandler(this.btnFVSCycleCancel_Click); // // btnFVSCycleOk // this.btnFVSCycleOk.Location = new System.Drawing.Point(8, 168); this.btnFVSCycleOk.Name = "btnFVSCycleOk"; this.btnFVSCycleOk.Size = new System.Drawing.Size(64, 25); this.btnFVSCycleOk.TabIndex = 19; this.btnFVSCycleOk.Text = "OK"; this.btnFVSCycleOk.Click += new System.EventHandler(this.btnFVSCycleOk_Click); // // chkFVSCycleSkip // this.chkFVSCycleSkip.Checked = true; this.chkFVSCycleSkip.CheckState = System.Windows.Forms.CheckState.Checked; this.chkFVSCycleSkip.Location = new System.Drawing.Point(8, 16); this.chkFVSCycleSkip.Name = "chkFVSCycleSkip"; this.chkFVSCycleSkip.Size = new System.Drawing.Size(104, 16); this.chkFVSCycleSkip.TabIndex = 18; this.chkFVSCycleSkip.Text = "Skip Treatment"; this.chkFVSCycleSkip.CheckedChanged += new System.EventHandler(this.chkFVSCycleSkip_CheckedChanged); // // btnFVSCycleClear // this.btnFVSCycleClear.Location = new System.Drawing.Point(16, 104); this.btnFVSCycleClear.Name = "btnFVSCycleClear"; this.btnFVSCycleClear.Size = new System.Drawing.Size(104, 25); this.btnFVSCycleClear.TabIndex = 11; this.btnFVSCycleClear.Text = "Clear"; // // btnFVSCycleSelectRx // this.btnFVSCycleSelectRx.Location = new System.Drawing.Point(16, 80); this.btnFVSCycleSelectRx.Name = "btnFVSCycleSelectRx"; this.btnFVSCycleSelectRx.Size = new System.Drawing.Size(104, 25); this.btnFVSCycleSelectRx.TabIndex = 10; this.btnFVSCycleSelectRx.Text = "Select Treatment"; this.btnFVSCycleSelectRx.Click += new System.EventHandler(this.btnFVSCycleSelectRx_Click); // // txtRxDesc // this.txtRxDesc.Enabled = false; this.txtRxDesc.Location = new System.Drawing.Point(201, 48); this.txtRxDesc.Multiline = true; this.txtRxDesc.Name = "txtRxDesc"; this.txtRxDesc.Size = new System.Drawing.Size(152, 136); this.txtRxDesc.TabIndex = 9; // // label4 // this.label4.Location = new System.Drawing.Point(137, 48); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(72, 16); this.label4.TabIndex = 8; this.label4.Text = "Description:"; // // label3 // this.label3.Location = new System.Drawing.Point(8, 48); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(40, 16); this.label3.TabIndex = 6; this.label3.Text = "Rx ID:"; // // grpboxFVSCycleLength // this.grpboxFVSCycleLength.Controls.Add(this.rdo5YearCycle); this.grpboxFVSCycleLength.Controls.Add(this.rdo10YearCycle); this.grpboxFVSCycleLength.Location = new System.Drawing.Point(16, 16); this.grpboxFVSCycleLength.Name = "grpboxFVSCycleLength"; this.grpboxFVSCycleLength.Size = new System.Drawing.Size(312, 40); this.grpboxFVSCycleLength.TabIndex = 30; this.grpboxFVSCycleLength.TabStop = false; this.grpboxFVSCycleLength.Text = "FVS Cycle Length"; // // rdo5YearCycle // this.rdo5YearCycle.Location = new System.Drawing.Point(16, 18); this.rdo5YearCycle.Name = "rdo5YearCycle"; this.rdo5YearCycle.Size = new System.Drawing.Size(96, 16); this.rdo5YearCycle.TabIndex = 29; this.rdo5YearCycle.Text = "5 Year Cycles"; this.rdo5YearCycle.CheckedChanged += new System.EventHandler(this.rdo5YearCycle_CheckedChanged); // // rdo10YearCycle // this.rdo10YearCycle.Checked = true; this.rdo10YearCycle.Location = new System.Drawing.Point(136, 18); this.rdo10YearCycle.Name = "rdo10YearCycle"; this.rdo10YearCycle.Size = new System.Drawing.Size(104, 16); this.rdo10YearCycle.TabIndex = 28; this.rdo10YearCycle.TabStop = true; this.rdo10YearCycle.Text = "10 Year Cycles"; this.rdo10YearCycle.CheckedChanged += new System.EventHandler(this.rdo10YearCycle_CheckedChanged); // // cmbRxPackageId // this.cmbRxPackageId.Location = new System.Drawing.Point(88, 24); this.cmbRxPackageId.Name = "cmbRxPackageId"; this.cmbRxPackageId.Size = new System.Drawing.Size(96, 21); this.cmbRxPackageId.TabIndex = 27; this.cmbRxPackageId.SelectedIndexChanged += new System.EventHandler(this.cmbRxPackageId_SelectedIndexChanged); // // groupBox5 // this.groupBox5.Controls.Add(this.btnEditKCPFile); this.groupBox5.Controls.Add(this.txtKcpFile); this.groupBox5.Controls.Add(this.btnLoadKCPFile); this.groupBox5.Location = new System.Drawing.Point(8, 384); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(736, 128); this.groupBox5.TabIndex = 26; this.groupBox5.TabStop = false; this.groupBox5.Text = "KCP File"; // // btnEditKCPFile // this.btnEditKCPFile.Location = new System.Drawing.Point(8, 88); this.btnEditKCPFile.Name = "btnEditKCPFile"; this.btnEditKCPFile.Size = new System.Drawing.Size(720, 32); this.btnEditKCPFile.TabIndex = 4; this.btnEditKCPFile.Text = "Open KCP File to View/Edit Contents"; this.btnEditKCPFile.Click += new System.EventHandler(this.btnEditKCPFile_Click); // // txtKcpFile // this.txtKcpFile.Location = new System.Drawing.Point(8, 16); this.txtKcpFile.Name = "txtKcpFile"; this.txtKcpFile.Size = new System.Drawing.Size(720, 20); this.txtKcpFile.TabIndex = 2; // // btnLoadKCPFile // this.btnLoadKCPFile.Location = new System.Drawing.Point(8, 48); this.btnLoadKCPFile.Name = "btnLoadKCPFile"; this.btnLoadKCPFile.Size = new System.Drawing.Size(720, 32); this.btnLoadKCPFile.TabIndex = 1; this.btnLoadKCPFile.Text = "Assign KCP File"; this.btnLoadKCPFile.Click += new System.EventHandler(this.btnLoadKCPFile_Click); // // txtPackageDesc // this.txtPackageDesc.Location = new System.Drawing.Point(284, 16); this.txtPackageDesc.Multiline = true; this.txtPackageDesc.Name = "txtPackageDesc"; this.txtPackageDesc.Size = new System.Drawing.Size(440, 88); this.txtPackageDesc.TabIndex = 19; this.txtPackageDesc.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPackageDesc_KeyPress); // // label2 // this.label2.Location = new System.Drawing.Point(212, 11); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(72, 16); this.label2.TabIndex = 18; this.label2.Text = "Description:"; // // label1 // this.label1.Location = new System.Drawing.Point(16, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(72, 16); this.label1.TabIndex = 16; this.label1.Text = "Package ID:"; // // uc_rx_package_edit // this.Controls.Add(this.groupBox1); this.Name = "uc_rx_package_edit"; this.Size = new System.Drawing.Size(752, 536); this.groupBox1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.grpboxFVSCycle.ResumeLayout(false); this.grpboxFVSCycle.PerformLayout(); this.grpboxFVSCycleLength.ResumeLayout(false); this.groupBox5.ResumeLayout(false); this.groupBox5.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() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmChessMain)); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] { "A1 - B5", "- Pawn Moves" }, 0, System.Drawing.Color.Empty, System.Drawing.Color.MintCream, null); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new string[] { "B3 - G6", "- Bishop Captures Bishop" }, 10, System.Drawing.Color.Empty, System.Drawing.Color.Wheat, null); this.sbarGameStatus = new System.Windows.Forms.StatusBar(); this.statusMessage = new System.Windows.Forms.StatusBarPanel(); this.statusTurn = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.mnuRoot = new System.Windows.Forms.MainMenu(this.components); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.mnuFileExit = new System.Windows.Forms.MenuItem(); this.mnuGame = new System.Windows.Forms.MenuItem(); this.mnuGameNew = new System.Windows.Forms.MenuItem(); this.mnuGamePause = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.mnuHelpAbout = new System.Windows.Forms.MenuItem(); this.menuItem6 = new System.Windows.Forms.MenuItem(); this.mnuDebugShowSquareThreatInfo = new System.Windows.Forms.MenuItem(); this.lvwMoves = new System.Windows.Forms.ListView(); this.moveNumber = new System.Windows.Forms.ColumnHeader(); this.Move = new System.Windows.Forms.ColumnHeader(); this.imageList16 = new System.Windows.Forms.ImageList(this.components); this.pnlInformation = new System.Windows.Forms.Panel(); this.button2 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.gbxDifficulty = new System.Windows.Forms.GroupBox(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.tbrDifficulty = new System.Windows.Forms.TrackBar(); this.button3 = new System.Windows.Forms.Button(); this.UIChessBoard = new Chess.ctlUIChessBoard(); ((System.ComponentModel.ISupportInitialize)(this.statusMessage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusTurn)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.pnlInformation.SuspendLayout(); this.gbxDifficulty.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbrDifficulty)).BeginInit(); this.SuspendLayout(); // // sbarGameStatus // this.sbarGameStatus.Location = new System.Drawing.Point(0, 565); this.sbarGameStatus.Name = "sbarGameStatus"; this.sbarGameStatus.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusMessage, this.statusTurn, this.statusBarPanel3 }); this.sbarGameStatus.ShowPanels = true; this.sbarGameStatus.Size = new System.Drawing.Size(794, 22); this.sbarGameStatus.TabIndex = 0; this.sbarGameStatus.Text = "gamestatus"; // // statusMessage // this.statusMessage.Icon = ((System.Drawing.Icon)(resources.GetObject("statusMessage.Icon"))); this.statusMessage.Name = "statusMessage"; this.statusMessage.Text = "Ready."; this.statusMessage.Width = 300; // // statusTurn // this.statusTurn.Icon = ((System.Drawing.Icon)(resources.GetObject("statusTurn.Icon"))); this.statusTurn.Name = "statusTurn"; this.statusTurn.Text = "12/18/45"; // // statusBarPanel3 // this.statusBarPanel3.Icon = ((System.Drawing.Icon)(resources.GetObject("statusBarPanel3.Icon"))); this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Text = "time Remaing"; this.statusBarPanel3.Width = 300; // // mnuRoot // this.mnuRoot.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.mnuGame, this.menuItem4, this.menuItem6 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuFileExit }); this.menuItem1.Text = "File"; // // mnuFileExit // this.mnuFileExit.Index = 0; this.mnuFileExit.Text = "Exit"; // // mnuGame // this.mnuGame.Index = 1; this.mnuGame.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuGameNew, this.mnuGamePause }); this.mnuGame.Text = "Game"; // // mnuGameNew // this.mnuGameNew.Index = 0; this.mnuGameNew.Text = "New Game"; this.mnuGameNew.Click += new System.EventHandler(this.mnuGameNew_Click); // // mnuGamePause // this.mnuGamePause.Index = 1; this.mnuGamePause.Text = "Pause Game"; this.mnuGamePause.Click += new System.EventHandler(this.mnuGamePause_Click); // // menuItem4 // this.menuItem4.Index = 2; this.menuItem4.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuHelpAbout }); this.menuItem4.Text = "Help"; // // mnuHelpAbout // this.mnuHelpAbout.Index = 0; this.mnuHelpAbout.Text = "About"; this.mnuHelpAbout.Click += new System.EventHandler(this.mnuHelpAbout_Click); // // menuItem6 // this.menuItem6.Index = 3; this.menuItem6.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuDebugShowSquareThreatInfo }); this.menuItem6.Text = "Debug"; // // mnuDebugShowSquareThreatInfo // this.mnuDebugShowSquareThreatInfo.Index = 0; this.mnuDebugShowSquareThreatInfo.Text = "Show Square Threat State Info"; this.mnuDebugShowSquareThreatInfo.Click += new System.EventHandler(this.mnuDebugShowSquareThreatInfo_Click); // // lvwMoves // this.lvwMoves.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.moveNumber, this.Move }); this.lvwMoves.FullRowSelect = true; this.lvwMoves.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.lvwMoves.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2 }); this.lvwMoves.Location = new System.Drawing.Point(8, 8); this.lvwMoves.Name = "lvwMoves"; this.lvwMoves.Size = new System.Drawing.Size(240, 128); this.lvwMoves.SmallImageList = this.imageList16; this.lvwMoves.TabIndex = 2; this.lvwMoves.UseCompatibleStateImageBehavior = false; this.lvwMoves.View = System.Windows.Forms.View.Details; // // moveNumber // this.moveNumber.Text = "#"; this.moveNumber.Width = 65; // // Move // this.Move.Width = 150; // // imageList16 // this.imageList16.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList16.ImageStream"))); this.imageList16.TransparentColor = System.Drawing.Color.Transparent; this.imageList16.Images.SetKeyName(0, ""); this.imageList16.Images.SetKeyName(1, ""); this.imageList16.Images.SetKeyName(2, ""); this.imageList16.Images.SetKeyName(3, ""); this.imageList16.Images.SetKeyName(4, ""); this.imageList16.Images.SetKeyName(5, ""); this.imageList16.Images.SetKeyName(6, ""); this.imageList16.Images.SetKeyName(7, ""); this.imageList16.Images.SetKeyName(8, ""); this.imageList16.Images.SetKeyName(9, ""); this.imageList16.Images.SetKeyName(10, ""); this.imageList16.Images.SetKeyName(11, ""); this.imageList16.Images.SetKeyName(12, ""); // // pnlInformation // this.pnlInformation.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.pnlInformation.Controls.Add(this.button3); this.pnlInformation.Controls.Add(this.button2); this.pnlInformation.Controls.Add(this.button1); this.pnlInformation.Controls.Add(this.gbxDifficulty); this.pnlInformation.Controls.Add(this.lvwMoves); this.pnlInformation.Location = new System.Drawing.Point(528, 32); this.pnlInformation.Name = "pnlInformation"; this.pnlInformation.Size = new System.Drawing.Size(256, 512); this.pnlInformation.TabIndex = 3; // // button2 // this.button2.Location = new System.Drawing.Point(8, 346); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(88, 64); this.button2.TabIndex = 6; this.button2.Text = "button2"; this.button2.Click += new System.EventHandler(this.button2_Click); // // button1 // this.button1.Location = new System.Drawing.Point(8, 461); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(240, 43); this.button1.TabIndex = 5; this.button1.Text = "Load Position"; this.button1.Click += new System.EventHandler(this.button1_Click); // // gbxDifficulty // this.gbxDifficulty.Controls.Add(this.label3); this.gbxDifficulty.Controls.Add(this.label2); this.gbxDifficulty.Controls.Add(this.label1); this.gbxDifficulty.Controls.Add(this.tbrDifficulty); this.gbxDifficulty.Font = new System.Drawing.Font("Comic Sans MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gbxDifficulty.Location = new System.Drawing.Point(8, 136); this.gbxDifficulty.Name = "gbxDifficulty"; this.gbxDifficulty.Size = new System.Drawing.Size(240, 72); this.gbxDifficulty.TabIndex = 4; this.gbxDifficulty.TabStop = false; this.gbxDifficulty.Text = "Game Difficulty"; // // label3 // this.label3.Font = new System.Drawing.Font("Comic Sans MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(192, 48); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(40, 16); this.label3.TabIndex = 6; this.label3.Text = "Hard"; // // label2 // this.label2.Font = new System.Drawing.Font("Comic Sans MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(96, 48); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(56, 16); this.label2.TabIndex = 5; this.label2.Text = "Medium"; // // label1 // this.label1.Font = new System.Drawing.Font("Comic Sans MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(16, 48); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(32, 16); this.label1.TabIndex = 4; this.label1.Text = "Easy"; // // tbrDifficulty // this.tbrDifficulty.AutoSize = false; this.tbrDifficulty.Location = new System.Drawing.Point(8, 16); this.tbrDifficulty.Maximum = 20; this.tbrDifficulty.Name = "tbrDifficulty"; this.tbrDifficulty.Size = new System.Drawing.Size(224, 32); this.tbrDifficulty.TabIndex = 3; // // button3 // this.button3.Location = new System.Drawing.Point(8, 214); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(240, 126); this.button3.TabIndex = 7; this.button3.Text = "Debug AI"; this.button3.Click += new System.EventHandler(this.button3_Click); // // UIChessBoard // this.UIChessBoard.BackColor = System.Drawing.Color.White; this.UIChessBoard.Location = new System.Drawing.Point(8, 32); this.UIChessBoard.Name = "UIChessBoard"; this.UIChessBoard.Size = new System.Drawing.Size(513, 513); this.UIChessBoard.TabIndex = 1; // // frmChessMain // this.AutoScaleBaseSize = new System.Drawing.Size(6, 16); this.ClientSize = new System.Drawing.Size(794, 587); this.Controls.Add(this.pnlInformation); this.Controls.Add(this.UIChessBoard); this.Controls.Add(this.sbarGameStatus); this.Font = new System.Drawing.Font("Comic Sans MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.Menu = this.mnuRoot; this.MinimumSize = new System.Drawing.Size(800, 640); this.Name = "frmChessMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Euclid"; this.Load += new System.EventHandler(this.frmChessMain_Load); ((System.ComponentModel.ISupportInitialize)(this.statusMessage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusTurn)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.pnlInformation.ResumeLayout(false); this.gbxDifficulty.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tbrDifficulty)).EndInit(); 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 doSearch() { string sql = null; string lString = null; System.Windows.Forms.ListViewItem listItem = null; lString = Strings.Trim(txtSearch.Text); lString = Strings.Replace(lString, " ", " "); lString = Strings.Replace(lString, " ", " "); lString = Strings.Replace(lString, " ", " "); lString = Strings.Replace(lString, " ", " "); lString = Strings.Replace(lString, " ", " "); lString = Strings.Replace(lString, " ", " "); if (string.IsNullOrEmpty(lString)) { } else { lString = " AND (StockItem.StockItem_Name LIKE '%" + Strings.Replace(lString, " ", "%' AND StockItem.StockItem_Name LIKE '%") + "%')"; } lString = " WHERE StockBreak.StockBreak_Disabled=0 AND WarehouseStockItemLnk.WarehouseStockItemLnk_WarehouseID=2 AND WarehouseStockItemLnk_1.WarehouseStockItemLnk_WarehouseID=2 " + lString; gRS = modRecordSet.getRS(ref "SELECT StockBreak.StockBreak_Quantity, StockBreak.StockBreak_ParentID, StockItem.StockItem_Name, WarehouseStockItemLnk.WarehouseStockItemLnk_Quantity, StockBreak.StockBreak_ChildID, StockItemChild.StockItem_Name AS StockItemChild_Name, WarehouseStockItemLnk_1.WarehouseStockItemLnk_Quantity AS WarehouseStockItemLnkChild_Quantity FROM WarehouseStockItemLnk AS WarehouseStockItemLnk_1 INNER JOIN (WarehouseStockItemLnk INNER JOIN ((StockBreak INNER JOIN StockItem ON StockBreak.StockBreak_ParentID = StockItem.StockItemID) INNER JOIN StockItem AS StockItemChild ON StockBreak.StockBreak_ChildID = StockItemChild.StockItemID) ON WarehouseStockItemLnk.WarehouseStockItemLnk_StockItemID = StockItem.StockItemID) ON WarehouseStockItemLnk_1.WarehouseStockItemLnk_StockItemID = StockItemChild.StockItemID " + lString + " ORDER BY StockItem.StockItem_Name"); lvStock.Items.Clear(); while (!(gRS.EOF)) { listItem = lvStock.Items.Add(gRS.Fields("StockBreak_ParentID").Value + "_" + gRS.Fields("StockBreak_ChildID").Value, gRS.Fields("StockItem_Name").Value, ""); if (listItem.SubItems.Count > 0) { listItem.SubItems[0].Text = gRS.Fields("WarehouseStockItemLnk_Quantity").Value; } else { listItem.SubItems.Insert(0, new System.Windows.Forms.ListViewItem.ListViewSubItem(null, gRS.Fields("WarehouseStockItemLnk_Quantity").Value)); } if (listItem.SubItems.Count > 1) { listItem.SubItems[1].Text = gRS.Fields("StockItemChild_Name").Value; } else { listItem.SubItems.Insert(1, new System.Windows.Forms.ListViewItem.ListViewSubItem(null, gRS.Fields("StockItemChild_Name").Value)); } if (listItem.SubItems.Count > 2) { listItem.SubItems[2].Text = gRS.Fields("WarehouseStockItemLnkChild_Quantity").Value; } else { listItem.SubItems.Insert(2, new System.Windows.Forms.ListViewItem.ListViewSubItem(null, gRS.Fields("WarehouseStockItemLnkChild_Quantity").Value)); } if (listItem.SubItems.Count > 3) { listItem.SubItems[3].Text = gRS.Fields("StockBreak_Quantity").Value; } else { listItem.SubItems.Insert(3, new System.Windows.Forms.ListViewItem.ListViewSubItem(null, gRS.Fields("StockBreak_Quantity").Value)); } gRS.moveNext(); } if (lvStock.FocusedItem == null) { this.lblData.Text = ""; picMove.Visible = false; } else { //UPGRADE_ISSUE: MSComctlLib.ListView event lvStock.ItemClick was not upgraded. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="ABD9AF39-7E24-4AFF-AD8D-3675C1AA3054"' lvStock_ItemClick(lvStock.FocusedItem); picMove.Visible = true; } }
/// <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.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem(); System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem(); System.Windows.Forms.ListViewItem listViewItem6 = new System.Windows.Forms.ListViewItem(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); System.Windows.Forms.ListViewItem listViewItem7 = new System.Windows.Forms.ListViewItem(); System.Windows.Forms.ListViewItem listViewItem8 = new System.Windows.Forms.ListViewItem(); System.Windows.Forms.ListViewItem listViewItem9 = new System.Windows.Forms.ListViewItem(); System.Windows.Forms.ListViewItem listViewItem10 = new System.Windows.Forms.ListViewItem(); System.Windows.Forms.ListViewItem listViewItem11 = new System.Windows.Forms.ListViewItem(); System.Windows.Forms.ListViewItem listViewItem12 = new System.Windows.Forms.ListViewItem(); System.Windows.Forms.ListViewItem listViewItem13 = new System.Windows.Forms.ListViewItem(); System.Windows.Forms.ListViewItem listViewItem14 = new System.Windows.Forms.ListViewItem(); System.Windows.Forms.ListViewItem listViewItem15 = new System.Windows.Forms.ListViewItem(); System.Windows.Forms.ListViewItem listViewItem16 = new System.Windows.Forms.ListViewItem(); this.listViewProds = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.imageListProd = new System.Windows.Forms.ImageList(); this.contextMenuProds = new System.Windows.Forms.ContextMenu(); this.menuItemEnterProdId = new System.Windows.Forms.MenuItem(); this.menuItem25 = new System.Windows.Forms.MenuItem(); this.menuItemSetup = new System.Windows.Forms.MenuItem(); this.menuItemRefresh = new System.Windows.Forms.MenuItem(); this.listViewRegs = new System.Windows.Forms.ListView(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); this.contextMenuRegs = new System.Windows.Forms.ContextMenu(); this.menuItemAddDef = new System.Windows.Forms.MenuItem(); this.menuItemEditReg = new System.Windows.Forms.MenuItem(); this.menuItemEditDef = new System.Windows.Forms.MenuItem(); this.menuItemEditCont = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItemDelReg = new System.Windows.Forms.MenuItem(); this.menuItemRegsEnterDefId = new System.Windows.Forms.MenuItem(); this.menuItem27 = new System.Windows.Forms.MenuItem(); this.menuItemRegInfo = new System.Windows.Forms.MenuItem(); this.menuItemFinish = new System.Windows.Forms.MenuItem(); this.menuItemAccChanges = new System.Windows.Forms.MenuItem(); this.menuItemRejChanges = new System.Windows.Forms.MenuItem(); this.listViewDefs = new System.Windows.Forms.ListView(); this.columnHeader5 = new System.Windows.Forms.ColumnHeader(); this.columnHeader6 = new System.Windows.Forms.ColumnHeader(); this.contextMenuDefs = new System.Windows.Forms.ContextMenu(); this.menuItemDefsEnterDefId = new System.Windows.Forms.MenuItem(); this.menuItemDefsCancel = new System.Windows.Forms.MenuItem(); this.listViewConts = new System.Windows.Forms.ListView(); this.columnHeader7 = new System.Windows.Forms.ColumnHeader(); this.columnHeader8 = new System.Windows.Forms.ColumnHeader(); this.contextMenuConts = new System.Windows.Forms.ContextMenu(); this.menuItemEnterContId = new System.Windows.Forms.MenuItem(); this.menuItemContsCancel = new System.Windows.Forms.MenuItem(); this.buttonContextMenu = new System.Windows.Forms.Button(); this.timerAutoConnection = new System.Windows.Forms.Timer(); this.SuspendLayout(); // // listViewProds // this.listViewProds.Activation = System.Windows.Forms.ItemActivation.OneClick; this.listViewProds.Columns.Add(this.columnHeader1); this.listViewProds.Columns.Add(this.columnHeader2); this.listViewProds.FullRowSelect = true; this.listViewProds.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; listViewItem1.BackColor = System.Drawing.Color.GhostWhite; listViewItem1.ForeColor = System.Drawing.Color.DarkBlue; listViewItem1.ImageIndex = 0; listViewItem1.Text = "999999999999"; listViewItem1.SubItems.Add("20:00|24.04|Л1"); listViewItem2.BackColor = System.Drawing.Color.GhostWhite; listViewItem2.ForeColor = System.Drawing.Color.DarkBlue; listViewItem2.ImageIndex = 1; listViewItem2.Text = "999999999999"; listViewItem2.SubItems.Add("Дефект111111"); listViewItem3.BackColor = System.Drawing.Color.GhostWhite; listViewItem3.ForeColor = System.Drawing.Color.DarkBlue; listViewItem3.ImageIndex = 4; listViewItem3.Text = "999999999999"; listViewItem3.SubItems.Add("Иванов И. И."); listViewItem4.BackColor = System.Drawing.Color.LightGray; listViewItem4.ForeColor = System.Drawing.Color.DarkGreen; listViewItem4.ImageIndex = 0; listViewItem4.Text = "999999999999"; listViewItem4.SubItems.Add("20:05|24.04|Л1"); listViewItem5.BackColor = System.Drawing.Color.LightGray; listViewItem5.ForeColor = System.Drawing.Color.DarkGreen; listViewItem5.ImageIndex = 2; listViewItem5.Text = "999999999999"; listViewItem5.SubItems.Add("Дефект222222"); listViewItem6.BackColor = System.Drawing.Color.LightGray; listViewItem6.ForeColor = System.Drawing.Color.DarkGreen; listViewItem6.ImageIndex = 4; listViewItem6.Text = "999999999999"; listViewItem6.SubItems.Add("Иванов И. И."); this.listViewProds.Items.Add(listViewItem1); this.listViewProds.Items.Add(listViewItem2); this.listViewProds.Items.Add(listViewItem3); this.listViewProds.Items.Add(listViewItem4); this.listViewProds.Items.Add(listViewItem5); this.listViewProds.Items.Add(listViewItem6); this.listViewProds.Location = new System.Drawing.Point(0, 15); this.listViewProds.Name = "listViewProds"; this.listViewProds.Size = new System.Drawing.Size(238, 254); this.listViewProds.SmallImageList = this.imageListProd; this.listViewProds.TabIndex = 0; this.listViewProds.View = System.Windows.Forms.View.Details; this.listViewProds.Visible = false; this.listViewProds.ItemActivate += new System.EventHandler(this.menuItemSelectProd_Click); // // columnHeader1 // this.columnHeader1.Text = "Код"; this.columnHeader1.Width = 110; // // columnHeader2 // this.columnHeader2.Text = "Значение"; this.columnHeader2.Width = 125; this.imageListProd.Images.Clear(); this.imageListProd.Images.Add(((System.Drawing.Image)(resources.GetObject("resource")))); this.imageListProd.Images.Add(((System.Drawing.Image)(resources.GetObject("resource1")))); this.imageListProd.Images.Add(((System.Drawing.Image)(resources.GetObject("resource2")))); this.imageListProd.Images.Add(((System.Drawing.Image)(resources.GetObject("resource3")))); this.imageListProd.Images.Add(((System.Drawing.Image)(resources.GetObject("resource4")))); // // contextMenuProds // this.contextMenuProds.MenuItems.Add(this.menuItemEnterProdId); this.contextMenuProds.MenuItems.Add(this.menuItem25); this.contextMenuProds.MenuItems.Add(this.menuItemSetup); this.contextMenuProds.MenuItems.Add(this.menuItemRefresh); // // menuItemEnterProdId // this.menuItemEnterProdId.Text = "Ручной ввод"; this.menuItemEnterProdId.Click += new System.EventHandler(this.menuItemEnterProdId_Click); // // menuItem25 // this.menuItem25.Text = "-"; // // menuItemSetup // this.menuItemSetup.Text = "Настройки"; this.menuItemSetup.Click += new System.EventHandler(this.menuItemSetup_Click); // // menuItemRefresh // this.menuItemRefresh.Text = "Обновить"; // // listViewRegs // this.listViewRegs.Activation = System.Windows.Forms.ItemActivation.OneClick; this.listViewRegs.Columns.Add(this.columnHeader3); this.listViewRegs.Columns.Add(this.columnHeader4); this.listViewRegs.FullRowSelect = true; this.listViewRegs.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; listViewItem7.ForeColor = System.Drawing.Color.DarkGreen; listViewItem7.Text = "12:00"; listViewItem7.SubItems.Add("123456789012 (Дефект 11111)"); listViewItem8.ForeColor = System.Drawing.Color.DarkGreen; listViewItem8.Text = "25/04"; listViewItem8.SubItems.Add("123456789012 (Иванов И. И.)"); listViewItem9.ForeColor = System.Drawing.Color.DarkBlue; listViewItem9.Text = "22:00"; listViewItem9.SubItems.Add("123456789012 (Дефект 2222)"); listViewItem10.ForeColor = System.Drawing.Color.DarkBlue; listViewItem10.Text = "25/04"; listViewItem10.SubItems.Add("123456789012 (Иванов И. И.)"); this.listViewRegs.Items.Add(listViewItem7); this.listViewRegs.Items.Add(listViewItem8); this.listViewRegs.Items.Add(listViewItem9); this.listViewRegs.Items.Add(listViewItem10); this.listViewRegs.Location = new System.Drawing.Point(0, 15); this.listViewRegs.Name = "listViewRegs"; this.listViewRegs.Size = new System.Drawing.Size(238, 254); this.listViewRegs.TabIndex = 1; this.listViewRegs.View = System.Windows.Forms.View.Details; this.listViewRegs.Visible = false; // // columnHeader3 // this.columnHeader3.Text = "Дата/Время"; this.columnHeader3.Width = 42; // // columnHeader4 // this.columnHeader4.Text = "Дефект/Контроллер"; this.columnHeader4.Width = 193; // // contextMenuRegs // this.contextMenuRegs.MenuItems.Add(this.menuItemAddDef); this.contextMenuRegs.MenuItems.Add(this.menuItemEditReg); this.contextMenuRegs.MenuItems.Add(this.menuItemRegsEnterDefId); this.contextMenuRegs.MenuItems.Add(this.menuItem27); this.contextMenuRegs.MenuItems.Add(this.menuItemRegInfo); this.contextMenuRegs.MenuItems.Add(this.menuItemFinish); // // menuItemAddDef // this.menuItemAddDef.Text = "Добавить"; this.menuItemAddDef.Click += new System.EventHandler(this.menuItemAddDef_Click); // // menuItemEditReg // this.menuItemEditReg.MenuItems.Add(this.menuItemEditDef); this.menuItemEditReg.MenuItems.Add(this.menuItemEditCont); this.menuItemEditReg.MenuItems.Add(this.menuItem1); this.menuItemEditReg.MenuItems.Add(this.menuItemDelReg); this.menuItemEditReg.Text = "Правка"; // // menuItemEditDef // this.menuItemEditDef.Text = "Дефект"; this.menuItemEditDef.Click += new System.EventHandler(this.menuItemEditDef_Click); // // menuItemEditCont // this.menuItemEditCont.Text = "Контроллер"; this.menuItemEditCont.Click += new System.EventHandler(this.menuItemEditCont_Click); // // menuItem1 // this.menuItem1.Text = "-"; // // menuItemDelReg // this.menuItemDelReg.Text = "Удалить"; this.menuItemDelReg.Click += new System.EventHandler(this.menuItemDelReg_Click); // // menuItemRegsEnterDefId // this.menuItemRegsEnterDefId.Text = "Ручной ввод"; this.menuItemRegsEnterDefId.Click += new System.EventHandler(this.menuItemRegsEnterDefId_Click); // // menuItem27 // this.menuItem27.Text = "-"; // // menuItemRegInfo // this.menuItemRegInfo.Text = "Информация"; this.menuItemRegInfo.Click += new System.EventHandler(this.menuItemRegInfo_Click); // // menuItemFinish // this.menuItemFinish.MenuItems.Add(this.menuItemAccChanges); this.menuItemFinish.MenuItems.Add(this.menuItemRejChanges); this.menuItemFinish.Text = "Завершить"; // // menuItemAccChanges // this.menuItemAccChanges.Text = "Сохранить"; this.menuItemAccChanges.Click += new System.EventHandler(this.menuItemAccChanges_Click); // // menuItemRejChanges // this.menuItemRejChanges.Text = "Не сохранять"; this.menuItemRejChanges.Click += new System.EventHandler(this.menuItemRejChanges_Click); // // listViewDefs // this.listViewDefs.Activation = System.Windows.Forms.ItemActivation.OneClick; this.listViewDefs.Columns.Add(this.columnHeader5); this.listViewDefs.Columns.Add(this.columnHeader6); this.listViewDefs.FullRowSelect = true; this.listViewDefs.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; listViewItem11.ForeColor = System.Drawing.Color.DarkGreen; listViewItem11.Text = "123456789012"; listViewItem11.SubItems.Add("Дефект 11111111"); listViewItem12.ForeColor = System.Drawing.Color.DarkBlue; listViewItem12.Text = "123456789012"; listViewItem12.SubItems.Add("Дефект 22222222"); listViewItem13.ForeColor = System.Drawing.Color.DarkGreen; listViewItem13.Text = "123456789012"; listViewItem13.SubItems.Add("Дефект 33333333"); this.listViewDefs.Items.Add(listViewItem11); this.listViewDefs.Items.Add(listViewItem12); this.listViewDefs.Items.Add(listViewItem13); this.listViewDefs.Location = new System.Drawing.Point(0, 15); this.listViewDefs.Name = "listViewDefs"; this.listViewDefs.Size = new System.Drawing.Size(238, 254); this.listViewDefs.TabIndex = 2; this.listViewDefs.View = System.Windows.Forms.View.Details; this.listViewDefs.Visible = false; this.listViewDefs.ItemActivate += new System.EventHandler(this.menuItemSelectDef_Click); // // columnHeader5 // this.columnHeader5.Text = "Код"; this.columnHeader5.Width = 100; // // columnHeader6 // this.columnHeader6.Text = "Дефект"; this.columnHeader6.Width = 135; // // contextMenuDefs // this.contextMenuDefs.MenuItems.Add(this.menuItemDefsEnterDefId); this.contextMenuDefs.MenuItems.Add(this.menuItemDefsCancel); // // menuItemDefsEnterDefId // this.menuItemDefsEnterDefId.Text = "Ручной ввод"; this.menuItemDefsEnterDefId.Click += new System.EventHandler(this.menuItemDefsEnterDefId_Click); // // menuItemDefsCancel // this.menuItemDefsCancel.Text = "Отмена"; this.menuItemDefsCancel.Click += new System.EventHandler(this.menuItemDefsCancel_Click); // // listViewConts // this.listViewConts.Activation = System.Windows.Forms.ItemActivation.OneClick; this.listViewConts.Columns.Add(this.columnHeader7); this.listViewConts.Columns.Add(this.columnHeader8); this.listViewConts.FullRowSelect = true; this.listViewConts.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; listViewItem14.ForeColor = System.Drawing.Color.DarkGreen; listViewItem14.Text = "123456789012"; listViewItem14.SubItems.Add("Иванов И. И."); listViewItem15.ForeColor = System.Drawing.Color.DarkBlue; listViewItem15.Text = "123456789012"; listViewItem15.SubItems.Add("Петров П. П."); listViewItem16.ForeColor = System.Drawing.Color.DarkGreen; listViewItem16.Text = "123456789012"; listViewItem16.SubItems.Add("Сидоров П. П."); this.listViewConts.Items.Add(listViewItem14); this.listViewConts.Items.Add(listViewItem15); this.listViewConts.Items.Add(listViewItem16); this.listViewConts.Location = new System.Drawing.Point(0, 15); this.listViewConts.Name = "listViewConts"; this.listViewConts.Size = new System.Drawing.Size(238, 254); this.listViewConts.TabIndex = 3; this.listViewConts.View = System.Windows.Forms.View.Details; this.listViewConts.Visible = false; this.listViewConts.ItemActivate += new System.EventHandler(this.menuItemSelectCont_Click); // // columnHeader7 // this.columnHeader7.Text = "Код"; this.columnHeader7.Width = 100; // // columnHeader8 // this.columnHeader8.Text = "Контроллер"; this.columnHeader8.Width = 135; // // contextMenuConts // this.contextMenuConts.MenuItems.Add(this.menuItemEnterContId); this.contextMenuConts.MenuItems.Add(this.menuItemContsCancel); // // menuItemEnterContId // this.menuItemEnterContId.Text = "Ручной ввод"; this.menuItemEnterContId.Click += new System.EventHandler(this.menuItemEnterContId_Click); // // menuItemContsCancel // this.menuItemContsCancel.Text = "Отмена"; this.menuItemContsCancel.Click += new System.EventHandler(this.menuItemContsCancel_Click); // // buttonContextMenu // this.buttonContextMenu.BackColor = System.Drawing.Color.DarkSlateBlue; this.buttonContextMenu.Location = new System.Drawing.Point(0, -1); this.buttonContextMenu.Name = "buttonContextMenu"; this.buttonContextMenu.Size = new System.Drawing.Size(238, 16); this.buttonContextMenu.TabIndex = 4; this.buttonContextMenu.Click += new System.EventHandler(this.buttonContextMenu_Click); // // timerAutoConnection // this.timerAutoConnection.Interval = 15000; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.AutoScroll = true; this.ClientSize = new System.Drawing.Size(238, 269); this.Controls.Add(this.buttonContextMenu); this.Controls.Add(this.listViewProds); this.Controls.Add(this.listViewConts); this.Controls.Add(this.listViewDefs); this.Controls.Add(this.listViewRegs); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "MainForm"; this.Text = "ICS REWORKS: offline"; this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); 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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PackageManager)); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(resources.GetString("lstRecipes.Items"), ((System.Int32)(resources.GetObject("lstRecipes.Items1")))); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(resources.GetString("lstRecipes.Items2"), ((System.Int32)(resources.GetObject("lstRecipes.Items3")))); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(resources.GetString("lstRecipes.Items4"), ((System.Int32)(resources.GetObject("lstRecipes.Items5")))); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem(resources.GetString("lstRecipes.Items6"), ((System.Int32)(resources.GetObject("lstRecipes.Items7")))); System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem(resources.GetString("lstRecipes.Items8"), ((System.Int32)(resources.GetObject("lstRecipes.Items9")))); System.Windows.Forms.ListViewItem listViewItem6 = new System.Windows.Forms.ListViewItem(resources.GetString("lstRecipes.Items10"), ((System.Int32)(resources.GetObject("lstRecipes.Items11")))); System.Windows.Forms.ListViewItem listViewItem7 = new System.Windows.Forms.ListViewItem(resources.GetString("lstRecipes.Items12"), ((System.Int32)(resources.GetObject("lstRecipes.Items13")))); this.imgImages = new System.Windows.Forms.ImageList(this.components); this.executeButton = new System.Windows.Forms.Button(); this.label6 = new System.Windows.Forms.Label(); this.closeButton = new System.Windows.Forms.Button(); this.PackagesButton = new System.Windows.Forms.Button(); this.splitter = new System.Windows.Forms.SplitContainer(); this.lstRecipes = new System.Windows.Forms.ListView(); this.Reference = new System.Windows.Forms.ColumnHeader(resources.GetString("lstRecipes.Columns")); this.AppliesTo = new System.Windows.Forms.ColumnHeader(resources.GetString("lstRecipes.Columns1")); this.Package = new System.Windows.Forms.ColumnHeader(resources.GetString("lstRecipes.Columns2")); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.txtDescription = new System.Windows.Forms.TextBox(); this.splitter.Panel1.SuspendLayout(); this.splitter.Panel2.SuspendLayout(); this.splitter.SuspendLayout(); this.groupBox4.SuspendLayout(); this.SuspendLayout(); // // imgImages // this.imgImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgImages.ImageStream"))); this.imgImages.Images.SetKeyName(0, "IBoundAssetReference.bmp"); this.imgImages.Images.SetKeyName(1, "IUnboundAssetReference.bmp"); this.imgImages.Images.SetKeyName(2, "ProjectItemReference.bmp"); this.imgImages.Images.SetKeyName(3, "ProjectReference.bmp"); this.imgImages.Images.SetKeyName(4, "SolutionReference.bmp"); this.imgImages.Images.SetKeyName(5, "BoundTemplateReference.bmp"); this.imgImages.Images.SetKeyName(6, "UnboundTemplateReference.bmp"); // // executeButton // resources.ApplyResources(this.executeButton, "executeButton"); this.executeButton.Name = "executeButton"; this.executeButton.Click += new System.EventHandler(this.OnExecuteRecipe); // // label6 // resources.ApplyResources(this.label6, "label6"); this.label6.Name = "label6"; // // closeButton // resources.ApplyResources(this.closeButton, "closeButton"); this.closeButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.closeButton.Name = "closeButton"; this.closeButton.Click += new System.EventHandler(this.OnCloseButtonClick); // // PackagesButton // resources.ApplyResources(this.PackagesButton, "PackagesButton"); this.PackagesButton.Name = "PackagesButton"; this.PackagesButton.Click += new System.EventHandler(this.OnEnableDisablePackages); // // splitter // resources.ApplyResources(this.splitter, "splitter"); this.splitter.Name = "splitter"; this.splitter.TabStop = false; // // splitter.Panel1 // this.splitter.Panel1.Controls.Add(this.lstRecipes); // // splitter.Panel2 // this.splitter.Panel2.Controls.Add(this.groupBox4); // // lstRecipes // this.lstRecipes.AllowColumnReorder = true; this.lstRecipes.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.Reference, this.AppliesTo, this.Package }); resources.ApplyResources(this.lstRecipes, "lstRecipes"); this.lstRecipes.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2, listViewItem3, listViewItem4, listViewItem5, listViewItem6, listViewItem7 }); this.lstRecipes.MultiSelect = false; this.lstRecipes.Name = "lstRecipes"; this.lstRecipes.SmallImageList = this.imgImages; this.lstRecipes.Sorting = System.Windows.Forms.SortOrder.None; this.lstRecipes.View = System.Windows.Forms.View.Details; this.lstRecipes.SelectedIndexChanged += new System.EventHandler(this.lstRecipes_SelectedIndexChanged); this.lstRecipes.DoubleClick += new System.EventHandler(this.lstRecipes_DoubleClick); this.lstRecipes.KeyDown += new System.Windows.Forms.KeyEventHandler(this.lstRecipes_KeyDown); this.lstRecipes.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lstRecipes_MouseDown); // // Reference // resources.ApplyResources(this.Reference, "Reference"); // // AppliesTo // resources.ApplyResources(this.AppliesTo, "AppliesTo"); // // Package // resources.ApplyResources(this.Package, "Package"); // // groupBox4 // this.groupBox4.Controls.Add(this.txtDescription); resources.ApplyResources(this.groupBox4, "groupBox4"); this.groupBox4.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox4.Name = "groupBox4"; this.groupBox4.TabStop = false; // // txtDescription // resources.ApplyResources(this.txtDescription, "txtDescription"); this.txtDescription.BackColor = System.Drawing.SystemColors.ControlLight; this.txtDescription.BorderStyle = System.Windows.Forms.BorderStyle.None; this.txtDescription.Name = "txtDescription"; this.txtDescription.ReadOnly = true; this.txtDescription.TabStop = true; // // PackageManager // this.AcceptButton = this.executeButton; this.BackColor = System.Drawing.SystemColors.ControlLight; this.CancelButton = this.closeButton; resources.ApplyResources(this, "$this"); this.Controls.Add(this.splitter); this.Controls.Add(this.label6); this.Controls.Add(this.executeButton); this.Controls.Add(this.closeButton); this.Controls.Add(this.PackagesButton); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "PackageManager"; this.ShowIcon = false; this.ShowInTaskbar = false; this.splitter.Panel1.ResumeLayout(false); this.splitter.Panel2.ResumeLayout(false); this.splitter.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.ResumeLayout(false); }
public void loadvalues(bool p_bScenarioCopy) { int x; ProcessorScenarioTools oTools = new ProcessorScenarioTools(); //Reset m_oProcessorScenarioItem_Collection so we don't get duplicates when we loadAll down below m_oProcessorScenarioItem_Collection = new ProcessorScenarioItem_Collection(); lvProcessorScenario.Items.Clear(); System.Windows.Forms.ListViewItem entryListItem = null; this.m_oLvAlternateColors.InitializeRowCollection(); this.m_oLvAlternateColors.ReferenceAlternateBackgroundColor = frmMain.g_oGridViewAlternateRowBackgroundColor; this.m_oLvAlternateColors.ReferenceAlternateForegroundColor = frmMain.g_oGridViewRowForegroundColor; this.m_oLvAlternateColors.ReferenceBackgroundColor = frmMain.g_oGridViewRowBackgroundColor; this.m_oLvAlternateColors.ReferenceForegroundColor = frmMain.g_oGridViewRowForegroundColor; this.m_oLvAlternateColors.ReferenceSelectedRowBackgroundColor = frmMain.g_oGridViewSelectedRowBackgroundColor; this.m_oLvAlternateColors.ReferenceListView = this.lvProcessorScenario; this.m_oLvAlternateColors.CustomFullRowSelect = true; if (frmMain.g_oGridViewFont != null) { this.lvProcessorScenario.Font = frmMain.g_oGridViewFont; } ado_data_access oAdo = new ado_data_access(); string strProcessorScenario = ""; string strFullDetailsYN = "N"; if (p_bScenarioCopy == false) { string[] strScenarioArray = null; if (!ReferenceOptimizerScenarioForm.m_bProcessorUsingSqlite) { strScenarioArray = loadScenarioArray(oAdo); } else { strScenarioArray = loadScenarioArraySqlite(); } if (strScenarioArray == null) { return; } for (x = 0; x <= strScenarioArray.Length - 1; x++) { // //LOAD PROJECT DATATASOURCES INFO // m_oQueries.m_oFvs.LoadDatasource = true; m_oQueries.m_oFIAPlot.LoadDatasource = true; m_oQueries.m_oProcessor.LoadDatasource = true; m_oQueries.m_oReference.LoadDatasource = true; m_oQueries.LoadDatasources(true, ReferenceOptimizerScenarioForm.m_bProcessorUsingSqlite, "processor", strScenarioArray[x]); if (!ReferenceOptimizerScenarioForm.m_bProcessorUsingSqlite) { m_oQueries.m_oDataSource.CreateScenarioRuleDefinitionTableLinks( m_oQueries.m_strTempDbFile, frmMain.g_oFrmMain.frmProject.uc_project1.txtRootDirectory.Text.Trim(), "P"); oTools.LoadAll(m_oQueries.m_strTempDbFile, m_oQueries, strScenarioArray[x], m_oProcessorScenarioItem_Collection); } else { oTools.LoadAllSqlite(m_oQueries, strScenarioArray[x], m_oProcessorScenarioItem_Collection); } } } else { foreach (ProcessorScenarioItem psItem in ReferenceOptimizerScenarioForm.m_oOptimizerScenarioItem.m_oProcessorScenarioItem_Collection) { m_oProcessorScenarioItem_Collection.Add(psItem); if (psItem.Selected == true) { strProcessorScenario = psItem.ScenarioId; strFullDetailsYN = psItem.DisplayFullDetailsYN; } } } for (x = 0; x <= m_oProcessorScenarioItem_Collection.Count - 1; x++) { entryListItem = lvProcessorScenario.Items.Add(" "); entryListItem.UseItemStyleForSubItems = false; this.m_oLvAlternateColors.AddRow(); this.m_oLvAlternateColors.AddColumns(x, lvProcessorScenario.Columns.Count); entryListItem.SubItems.Add(m_oProcessorScenarioItem_Collection.Item(x).ScenarioId); entryListItem.SubItems.Add(m_oProcessorScenarioItem_Collection.Item(x).Description); } this.m_oLvAlternateColors.ListView(); if (p_bScenarioCopy == false) { string strScenarioMDB = frmMain.g_oFrmMain.frmProject.uc_project1.txtRootDirectory.Text.Trim() + "\\" + Tables.OptimizerScenarioRuleDefinitions.DefaultScenarioTableDbFile; string strConn = oAdo.getMDBConnString(strScenarioMDB, "", ""); oAdo.OpenConnection(strConn); if (oAdo.TableExist(oAdo.m_OleDbConnection, Tables.OptimizerScenarioRuleDefinitions.DefaultScenarioProcessorScenarioSelectTableName)) { oAdo.m_strSQL = "SELECT * FROM " + Tables.OptimizerScenarioRuleDefinitions.DefaultScenarioProcessorScenarioSelectTableName + " " + "WHERE TRIM(UCASE(scenario_id)) = '" + ReferenceOptimizerScenarioForm.uc_scenario1.txtScenarioId.Text.Trim().ToUpper() + "';"; oAdo.SqlQueryReader(oAdo.m_OleDbConnection, oAdo.m_strSQL); if (oAdo.m_OleDbDataReader.HasRows) { while (oAdo.m_OleDbDataReader.Read()) { if (oAdo.m_OleDbDataReader["processor_scenario_id"] != System.DBNull.Value && oAdo.m_OleDbDataReader["processor_scenario_id"].ToString().Trim().Length > 0) { strProcessorScenario = oAdo.m_OleDbDataReader["processor_scenario_id"].ToString().Trim(); } if (oAdo.m_OleDbDataReader["FullDetailsYN"] != System.DBNull.Value && oAdo.m_OleDbDataReader["FullDetailsYN"].ToString().Trim().Length > 0) { strFullDetailsYN = oAdo.m_OleDbDataReader["FullDetailsYN"].ToString().Trim(); } } } oAdo.m_OleDbDataReader.Close(); oAdo.CloseConnection(oAdo.m_OleDbConnection); } else { frmMain.g_oTables.m_oOptimizerScenarioRuleDef.CreateScenarioProcessorScenarioSelectTable(oAdo, oAdo.m_OleDbConnection, Tables.OptimizerScenarioRuleDefinitions.DefaultScenarioProcessorScenarioSelectTableName); } } if (lvProcessorScenario.Items.Count > 0) { for (x = 0; x <= lvProcessorScenario.Items.Count - 1; x++) { if (lvProcessorScenario.Items[x].SubItems[COL_SCENARIOID].Text.Trim().ToUpper() == strProcessorScenario.ToUpper()) { lvProcessorScenario.Items[x].Checked = true; for (int y = 0; y <= ReferenceOptimizerScenarioForm.uc_scenario_processor_scenario_select1.m_oProcessorScenarioItem_Collection.Count - 1; y++) { if (lvProcessorScenario.Items[x].SubItems[COL_SCENARIOID].Text.Trim().ToUpper() == ReferenceOptimizerScenarioForm.uc_scenario_processor_scenario_select1.m_oProcessorScenarioItem_Collection.Item(y).ScenarioId.Trim().ToUpper()) { ReferenceOptimizerScenarioForm.uc_scenario_cond_filter1.strLowSlope = ReferenceOptimizerScenarioForm.uc_scenario_processor_scenario_select1.m_oProcessorScenarioItem_Collection.Item(y).m_oHarvestMethod.SteepSlopePercent; ReferenceOptimizerScenarioForm.uc_scenario_cond_filter1.strSteepSlope = ReferenceOptimizerScenarioForm.uc_scenario_processor_scenario_select1.m_oProcessorScenarioItem_Collection.Item(y).m_oHarvestMethod.SteepSlopePercent; } } break; } } if (x <= lvProcessorScenario.Items.Count - 1) { lvProcessorScenario.Items[0].Selected = true; } } if (strFullDetailsYN == "Y") { chkFullDetails.Checked = true; } else { chkFullDetails.Checked = false; } }