12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538 |
- using PaintDotNet.Annotation.Enum;
- using PaintDotNet.Base.SettingModel;
- using PaintDotNet.Base.CommTool;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.IO;
- using System.Linq;
- using System.Resources;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace PaintDotNet.Measuring
- {
- partial class MeasureListSetDialog : Form
- {
- #region 控件
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- #region Windows Form Designer generated code
- private void InitializeLanguageText()
- {
- System.Windows.Forms.TreeNode treeNode345 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawLine.Text"));
- System.Windows.Forms.TreeNode treeNode346 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureLength.Text"));
- System.Windows.Forms.TreeNode treeNode347 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureHLine.Text"));
- System.Windows.Forms.TreeNode treeNode348 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureVLine.Text"));
- System.Windows.Forms.TreeNode treeNode3488 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureDistanceLine.Text"));
- System.Windows.Forms.TreeNode treeNode349 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.LengthMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode345,
- treeNode346,
- treeNode347,
- treeNode348,
- treeNode3488});
- System.Windows.Forms.TreeNode treeNode350 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulLine.Text"));
- System.Windows.Forms.TreeNode treeNode351 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulHVLine.Text"));
- System.Windows.Forms.TreeNode treeNode352 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text"));
- System.Windows.Forms.TreeNode treeNode353 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulVLine.Text"));
- System.Windows.Forms.TreeNode treeNode354 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode350,
- treeNode351,
- treeNode352,
- treeNode353});
- System.Windows.Forms.TreeNode treeNode355 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureBrokenLine.Text"));
- System.Windows.Forms.TreeNode treeNode356 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureTraceCurve.Text"));
- System.Windows.Forms.TreeNode treeNode357 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawCurve.Text"));
- System.Windows.Forms.TreeNode treeNode358 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.CurveLength.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode355,
- treeNode356,
- treeNode357});
- System.Windows.Forms.TreeNode treeNode359 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePLine.Text"));
- System.Windows.Forms.TreeNode treeNode360 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulPLine.Text"));
- System.Windows.Forms.TreeNode treeNode361 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureHMulPLine.Text"));
- System.Windows.Forms.TreeNode treeNode362 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureVMulPLine.Text"));
- System.Windows.Forms.TreeNode treeNode3591 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointHLine.Text"));
- System.Windows.Forms.TreeNode treeNode363 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.PointPerpendicular.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode359,
- treeNode360,
- treeNode361,
- treeNode362,
- treeNode3591});
- System.Windows.Forms.TreeNode treeNode364 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode365 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode366 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureHMulParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode367 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureVMulParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode368 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.ParallelLines.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode364,
- treeNode365,
- treeNode366,
- treeNode367});
- System.Windows.Forms.TreeNode treeNode369 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawClosedCurve.Text"));
- System.Windows.Forms.TreeNode treeNode370 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawPolygon.Text"));
- System.Windows.Forms.TreeNode treeNode371 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawRectangle.Text"));
- System.Windows.Forms.TreeNode treeNode372 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureRandRectangle.Text"));
- System.Windows.Forms.TreeNode treeNode373 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureSquare.Text"));
- System.Windows.Forms.TreeNode treeNode374 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureRandSquare.Text"));
- System.Windows.Forms.TreeNode treeNode375 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureTracePolygon.Text"));
- System.Windows.Forms.TreeNode treeNode376 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.PolygonMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode369,
- treeNode370,
- treeNode371,
- treeNode372,
- treeNode373,
- treeNode374,
- treeNode375});
- System.Windows.Forms.TreeNode treeNode377 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureCircle.Text"));
- System.Windows.Forms.TreeNode treeNode378 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureInnerCircle.Text"));
- System.Windows.Forms.TreeNode treeNode379 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureOuterCircle.Text"));
- System.Windows.Forms.TreeNode treeNode380 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureDiameterCircle.Text"));
- System.Windows.Forms.TreeNode treeNode381 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointEdgeSize.Text"));
- System.Windows.Forms.TreeNode treeNode382 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointCenterSize.Text"));
- System.Windows.Forms.TreeNode treeNode3811 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointArcSize.Text"));
- System.Windows.Forms.TreeNode treeNode383 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.CircularMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode377,
- treeNode378,
- treeNode379,
- treeNode380,
- treeNode381,
- treeNode382,
- treeNode3811});
- System.Windows.Forms.TreeNode treeNode384 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureThreePointAngle.Text"));
- System.Windows.Forms.TreeNode treeNode385 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureFourPointAngle.Text"));
- System.Windows.Forms.TreeNode treeNode386 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureThreePointArc.Text"));
- System.Windows.Forms.TreeNode treeNode387 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.AngleMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode384,
- treeNode385,
- treeNode386});
- System.Windows.Forms.TreeNode treeNode3821 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureCenterCenterSize.Text"));
- System.Windows.Forms.TreeNode treeNode3822 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureTwoLineVLDistance.Text"));
- System.Windows.Forms.TreeNode treeNode3831 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.RegistrationMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode3821,
- treeNode3822});
- System.Windows.Forms.TreeNode treeNode388 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawLine.Text"));
- System.Windows.Forms.TreeNode treeNode389 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureLength.Text"));
- System.Windows.Forms.TreeNode treeNode390 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureHLine.Text"));
- System.Windows.Forms.TreeNode treeNode391 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureVLine.Text"));
- System.Windows.Forms.TreeNode treeNode3911 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureDistanceLine.Text"));
- System.Windows.Forms.TreeNode treeNode392 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.LengthMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode388,
- treeNode389,
- treeNode390,
- treeNode391,
- treeNode3911});
- System.Windows.Forms.TreeNode treeNode393 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulLine.Text"));
- System.Windows.Forms.TreeNode treeNode394 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulHVLine.Text"));
- System.Windows.Forms.TreeNode treeNode395 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text"));
- System.Windows.Forms.TreeNode treeNode396 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulVLine.Text"));
- System.Windows.Forms.TreeNode treeNode397 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode393,
- treeNode394,
- treeNode395,
- treeNode396});
- System.Windows.Forms.TreeNode treeNode398 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureBrokenLine.Text"));
- System.Windows.Forms.TreeNode treeNode399 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureTraceCurve.Text"));
- System.Windows.Forms.TreeNode treeNode400 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawCurve.Text"));
- System.Windows.Forms.TreeNode treeNode401 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.CurveLength.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode398,
- treeNode399,
- treeNode400});
- System.Windows.Forms.TreeNode treeNode402 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePLine.Text"));
- System.Windows.Forms.TreeNode treeNode403 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulPLine.Text"));
- System.Windows.Forms.TreeNode treeNode404 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureHMulPLine.Text"));
- System.Windows.Forms.TreeNode treeNode405 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureVMulPLine.Text"));
- System.Windows.Forms.TreeNode treeNode4021 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointHLine.Text"));
- System.Windows.Forms.TreeNode treeNode406 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.PointPerpendicular.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode402,
- treeNode403,
- treeNode404,
- treeNode405,
- treeNode4021});
- System.Windows.Forms.TreeNode treeNode407 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode408 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode409 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureHMulParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode410 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureVMulParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode411 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.ParallelLines.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode407,
- treeNode408,
- treeNode409,
- treeNode410});
- System.Windows.Forms.TreeNode treeNode412 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawClosedCurve.Text"));
- System.Windows.Forms.TreeNode treeNode413 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawPolygon.Text"));
- System.Windows.Forms.TreeNode treeNode414 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawRectangle.Text"));
- System.Windows.Forms.TreeNode treeNode415 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureRandRectangle.Text"));
- System.Windows.Forms.TreeNode treeNode416 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureSquare.Text"));
- System.Windows.Forms.TreeNode treeNode417 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureRandSquare.Text"));
- System.Windows.Forms.TreeNode treeNode418 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureTracePolygon.Text"));
- System.Windows.Forms.TreeNode treeNode419 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.PolygonMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode412,
- treeNode413,
- treeNode414,
- treeNode415,
- treeNode416,
- treeNode417,
- treeNode418});
- System.Windows.Forms.TreeNode treeNode420 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureCircle.Text"));
- System.Windows.Forms.TreeNode treeNode421 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureInnerCircle.Text"));
- System.Windows.Forms.TreeNode treeNode422 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureOuterCircle.Text"));
- System.Windows.Forms.TreeNode treeNode423 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureDiameterCircle.Text"));
- System.Windows.Forms.TreeNode treeNode424 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointEdgeSize.Text"));
- System.Windows.Forms.TreeNode treeNode425 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointCenterSize.Text"));
- System.Windows.Forms.TreeNode treeNode4241 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointArcSize.Text"));
- System.Windows.Forms.TreeNode treeNode426 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.CircularMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode420,
- treeNode421,
- treeNode422,
- treeNode423,
- treeNode424,
- treeNode425,
- treeNode4241});
- System.Windows.Forms.TreeNode treeNode427 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureThreePointAngle.Text"));
- System.Windows.Forms.TreeNode treeNode428 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureFourPointAngle.Text"));
- System.Windows.Forms.TreeNode treeNode429 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureThreePointArc.Text"));
- System.Windows.Forms.TreeNode treeNode430 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.AngleMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode427,
- treeNode428,
- treeNode429});
- System.Windows.Forms.TreeNode treeNode4251 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureCenterCenterSize.Text"));
- System.Windows.Forms.TreeNode treeNode4252 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureTwoLineVLDistance.Text"));
- System.Windows.Forms.TreeNode treeNode4261 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.RegistrationMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode4251,
- treeNode4252});
- System.Windows.Forms.TreeNode treeNode431 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawLine.Text"));
- System.Windows.Forms.TreeNode treeNode432 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureLength.Text"));
- System.Windows.Forms.TreeNode treeNode433 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureHLine.Text"));
- System.Windows.Forms.TreeNode treeNode434 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureVLine.Text"));
- System.Windows.Forms.TreeNode treeNode4344 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureDistanceLine.Text"));
- System.Windows.Forms.TreeNode treeNode435 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.LengthMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode431,
- treeNode432,
- treeNode433,
- treeNode434,
- treeNode4344});
- System.Windows.Forms.TreeNode treeNode436 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulLine.Text"));
- System.Windows.Forms.TreeNode treeNode437 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulHVLine.Text"));
- System.Windows.Forms.TreeNode treeNode438 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text"));
- System.Windows.Forms.TreeNode treeNode439 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulVLine.Text"));
- System.Windows.Forms.TreeNode treeNode440 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode436,
- treeNode437,
- treeNode438,
- treeNode439});
- System.Windows.Forms.TreeNode treeNode441 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureBrokenLine.Text"));
- System.Windows.Forms.TreeNode treeNode442 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureTraceCurve.Text"));
- System.Windows.Forms.TreeNode treeNode443 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawCurve.Text"));
- System.Windows.Forms.TreeNode treeNode444 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.CurveLength.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode441,
- treeNode442,
- treeNode443});
- System.Windows.Forms.TreeNode treeNode445 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePLine.Text"));
- System.Windows.Forms.TreeNode treeNode446 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulPLine.Text"));
- System.Windows.Forms.TreeNode treeNode447 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureHMulPLine.Text"));
- System.Windows.Forms.TreeNode treeNode448 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureVMulPLine.Text"));
- System.Windows.Forms.TreeNode treeNode4451 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointHLine.Text"));
- System.Windows.Forms.TreeNode treeNode449 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.PointPerpendicular.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode445,
- treeNode446,
- treeNode447,
- treeNode448,
- treeNode4451});
- System.Windows.Forms.TreeNode treeNode450 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode451 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode452 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureHMulParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode453 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureVMulParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode454 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.ParallelLines.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode450,
- treeNode451,
- treeNode452,
- treeNode453});
- System.Windows.Forms.TreeNode treeNode455 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawClosedCurve.Text"));
- System.Windows.Forms.TreeNode treeNode456 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawPolygon.Text"));
- System.Windows.Forms.TreeNode treeNode457 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawRectangle.Text"));
- System.Windows.Forms.TreeNode treeNode458 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureRandRectangle.Text"));
- System.Windows.Forms.TreeNode treeNode459 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureSquare.Text"));
- System.Windows.Forms.TreeNode treeNode460 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureRandSquare.Text"));
- System.Windows.Forms.TreeNode treeNode461 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureTracePolygon.Text"));
- System.Windows.Forms.TreeNode treeNode462 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.PolygonMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode455,
- treeNode456,
- treeNode457,
- treeNode458,
- treeNode459,
- treeNode460,
- treeNode461});
- System.Windows.Forms.TreeNode treeNode463 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureCircle.Text"));
- System.Windows.Forms.TreeNode treeNode464 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureInnerCircle.Text"));
- System.Windows.Forms.TreeNode treeNode465 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureOuterCircle.Text"));
- System.Windows.Forms.TreeNode treeNode466 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureDiameterCircle.Text"));
- System.Windows.Forms.TreeNode treeNode467 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointEdgeSize.Text"));
- System.Windows.Forms.TreeNode treeNode468 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointCenterSize.Text"));
- System.Windows.Forms.TreeNode treeNode4671 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointArcSize.Text"));
- System.Windows.Forms.TreeNode treeNode469 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.CircularMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode463,
- treeNode464,
- treeNode465,
- treeNode466,
- treeNode467,
- treeNode468,
- treeNode4671});
- System.Windows.Forms.TreeNode treeNode470 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureThreePointAngle.Text"));
- System.Windows.Forms.TreeNode treeNode471 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureFourPointAngle.Text"));
- System.Windows.Forms.TreeNode treeNode472 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureThreePointArc.Text"));
- System.Windows.Forms.TreeNode treeNode473 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.AngleMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode470,
- treeNode471,
- treeNode472});
- System.Windows.Forms.TreeNode treeNode4681 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureCenterCenterSize.Text"));
- System.Windows.Forms.TreeNode treeNode4682 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureTwoLineVLDistance.Text"));
- System.Windows.Forms.TreeNode treeNode4691 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.RegistrationMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode4681,
- treeNode4682});
- System.Windows.Forms.TreeNode treeNode474 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawLine.Text"));
- System.Windows.Forms.TreeNode treeNode475 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureLength.Text"));
- System.Windows.Forms.TreeNode treeNode476 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureHLine.Text"));
- System.Windows.Forms.TreeNode treeNode477 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureVLine.Text"));
- System.Windows.Forms.TreeNode treeNode4777 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureDistanceLine.Text"));
- System.Windows.Forms.TreeNode treeNode478 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.LengthMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode474,
- treeNode475,
- treeNode476,
- treeNode477,
- treeNode4777});
- System.Windows.Forms.TreeNode treeNode479 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulLine.Text"));
- System.Windows.Forms.TreeNode treeNode480 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulHVLine.Text"));
- System.Windows.Forms.TreeNode treeNode481 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text"));
- System.Windows.Forms.TreeNode treeNode482 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulVLine.Text"));
- System.Windows.Forms.TreeNode treeNode483 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode479,
- treeNode480,
- treeNode481,
- treeNode482});
- System.Windows.Forms.TreeNode treeNode484 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureBrokenLine.Text"));
- System.Windows.Forms.TreeNode treeNode485 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureTraceCurve.Text"));
- System.Windows.Forms.TreeNode treeNode486 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawCurve.Text"));
- System.Windows.Forms.TreeNode treeNode487 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.CurveLength.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode484,
- treeNode485,
- treeNode486});
- System.Windows.Forms.TreeNode treeNode488 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePLine.Text"));
- System.Windows.Forms.TreeNode treeNode489 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulPLine.Text"));
- System.Windows.Forms.TreeNode treeNode490 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureHMulPLine.Text"));
- System.Windows.Forms.TreeNode treeNode491 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureVMulPLine.Text"));
- System.Windows.Forms.TreeNode treeNode4881 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointHLine.Text"));
- System.Windows.Forms.TreeNode treeNode492 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.PointPerpendicular.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode488,
- treeNode489,
- treeNode490,
- treeNode491,
- treeNode4881});
- System.Windows.Forms.TreeNode treeNode493 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode494 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureMulParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode495 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureHMulParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode496 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureVMulParallelLine.Text"));
- System.Windows.Forms.TreeNode treeNode497 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.ParallelLines.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode493,
- treeNode494,
- treeNode495,
- treeNode496});
- System.Windows.Forms.TreeNode treeNode498 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawClosedCurve.Text"));
- System.Windows.Forms.TreeNode treeNode499 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawPolygon.Text"));
- System.Windows.Forms.TreeNode treeNode500 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.LabelAction.DrawRectangle.Text"));
- System.Windows.Forms.TreeNode treeNode501 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureRandRectangle.Text"));
- System.Windows.Forms.TreeNode treeNode502 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureSquare.Text"));
- System.Windows.Forms.TreeNode treeNode503 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureRandSquare.Text"));
- System.Windows.Forms.TreeNode treeNode504 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureTracePolygon.Text"));
- System.Windows.Forms.TreeNode treeNode505 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.PolygonMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode498,
- treeNode499,
- treeNode500,
- treeNode501,
- treeNode502,
- treeNode503,
- treeNode504});
- System.Windows.Forms.TreeNode treeNode506 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureCircle.Text"));
- System.Windows.Forms.TreeNode treeNode507 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureInnerCircle.Text"));
- System.Windows.Forms.TreeNode treeNode508 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureOuterCircle.Text"));
- System.Windows.Forms.TreeNode treeNode509 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureDiameterCircle.Text"));
- System.Windows.Forms.TreeNode treeNode510 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointEdgeSize.Text"));
- System.Windows.Forms.TreeNode treeNode511 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointCenterSize.Text"));
- System.Windows.Forms.TreeNode treeNode5101 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasurePointArcSize.Text"));
- System.Windows.Forms.TreeNode treeNode512 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.CircularMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode506,
- treeNode507,
- treeNode508,
- treeNode509,
- treeNode510,
- treeNode511,
- treeNode5101});
- System.Windows.Forms.TreeNode treeNode513 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureThreePointAngle.Text"));
- System.Windows.Forms.TreeNode treeNode514 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureFourPointAngle.Text"));
- System.Windows.Forms.TreeNode treeNode515 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureThreePointArc.Text"));
- System.Windows.Forms.TreeNode treeNode516 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.AngleMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode513,
- treeNode514,
- treeNode515});
- System.Windows.Forms.TreeNode treeNode5111 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureCenterCenterSize.Text"));
- System.Windows.Forms.TreeNode treeNode5112 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.MeasureTwoLineVLDistance.Text"));
- System.Windows.Forms.TreeNode treeNode5121 = new System.Windows.Forms.TreeNode(PdnResources.GetString("Menu.MeasureAction.RegistrationMeasurement.Text"), new System.Windows.Forms.TreeNode[] {
- treeNode5111,
- treeNode5112});
- treeNode345.Name = "MeasureLine";
- treeNode345.Text = PdnResources.GetString("Menu.LabelAction.DrawLine.Text");
- treeNode346.Name = "MeasureLength";
- treeNode346.Text = PdnResources.GetString("Menu.MeasureAction.MeasureLength.Text");
- treeNode347.Name = "MeasureHLine";
- treeNode347.Text = PdnResources.GetString("Menu.MeasureAction.MeasureHLine.Text");
- treeNode348.Name = "MeasureVLine";
- treeNode348.Text = PdnResources.GetString("Menu.MeasureAction.MeasureVLine.Text");
- treeNode3488.Name = "MeasureDistanceLine";
- treeNode3488.Text = PdnResources.GetString("Menu.MeasureAction.MeasureDistanceLine.Text");
- treeNode349.Name = PdnResources.GetString("Menu.node.Text") + "0";
- treeNode349.Text = PdnResources.GetString("Menu.MeasureAction.LengthMeasurement.Text");
- treeNode350.Name = "MeasureMulLine";
- treeNode350.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulLine.Text");
- treeNode351.Name = "MeasureMulHVLine";
- treeNode351.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulHVLine.Text");
- treeNode352.Name = "MeasureMulSegment";
- treeNode352.Text = PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text");
- treeNode353.Name = "MeasureMulVLine";
- treeNode353.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulVLine.Text");
- treeNode354.Name = PdnResources.GetString("Menu.node.Text") + "2";
- treeNode354.Text = PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text");
- treeNode355.Name = "MeasureBrokenLine";
- treeNode355.Text = PdnResources.GetString("Menu.MeasureAction.MeasureBrokenLine.Text");
- treeNode356.Name = "MeasureTraceCurve";
- treeNode356.Text = PdnResources.GetString("Menu.MeasureAction.MeasureTraceCurve.Text");
- treeNode357.Name = "MeasureCurveLine";
- treeNode357.Text = PdnResources.GetString("Menu.LabelAction.DrawCurve.Text");
- treeNode358.Name = PdnResources.GetString("Menu.node.Text") + "4";
- treeNode358.Text = PdnResources.GetString("Menu.MeasureAction.CurveLength.Text");
- treeNode359.Name = "MeasurePLine";
- treeNode359.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePLine.Text");
- treeNode3591.Name = "MeasurePointHLine";
- treeNode3591.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointHLine.Text");
- treeNode360.Name = "MeasureMulPLine";
- treeNode360.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulPLine.Text");
- treeNode361.Name = "MeasureHMulPLine";
- treeNode361.Text = PdnResources.GetString("Menu.MeasureAction.MeasureHMulPLine.Text");
- treeNode362.Name = "MeasureVMulPLine";
- treeNode362.Text = PdnResources.GetString("Menu.MeasureAction.MeasureVMulPLine.Text");
- treeNode363.Name = PdnResources.GetString("Menu.node.Text") + "5";
- treeNode363.Text = PdnResources.GetString("Menu.MeasureAction.PointPerpendicular.Text");
- treeNode364.Name = "MeasureParallelLine";
- treeNode364.Text = PdnResources.GetString("Menu.MeasureAction.MeasureParallelLine.Text");
- treeNode365.Name = "MeasureMulParallelLine";
- treeNode365.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulParallelLine.Text");
- treeNode366.Name = "MeasureHMulParallelLine";
- treeNode366.Text = PdnResources.GetString("Menu.MeasureAction.MeasureHMulParallelLine.Text");
- treeNode367.Name = "MeasureVMulParallelLine";
- treeNode367.Text = PdnResources.GetString("Menu.MeasureAction.MeasureVMulParallelLine.Text");
- treeNode368.Name = PdnResources.GetString("Menu.node.Text") + "6";
- treeNode368.Text = PdnResources.GetString("Menu.MeasureAction.ParallelLines.Text");
- treeNode369.Name = "MeasureClosedCurve";
- treeNode369.Text = PdnResources.GetString("Menu.LabelAction.DrawClosedCurve.Text");
- treeNode370.Name = "MeasurePolygon";
- treeNode370.Text = PdnResources.GetString("Menu.LabelAction.DrawPolygon.Text");
- treeNode371.Name = "MeasureRectangle";
- treeNode371.Text = PdnResources.GetString("Menu.LabelAction.DrawRectangle.Text");
- treeNode372.Name = "MeasureRandRectangle";
- treeNode372.Text = PdnResources.GetString("Menu.MeasureAction.MeasureRandRectangle.Text");
- treeNode373.Name = "MeasureSquare";
- treeNode373.Text = PdnResources.GetString("Menu.MeasureAction.MeasureSquare.Text");
- treeNode374.Name = "MeasureRandSquare";
- treeNode374.Text = PdnResources.GetString("Menu.MeasureAction.MeasureRandSquare.Text");
- treeNode375.Name = "MeasureTracePolygon";
- treeNode375.Text = PdnResources.GetString("Menu.MeasureAction.MeasureTracePolygon.Text");
- treeNode376.Name = PdnResources.GetString("Menu.node.Text") + "7";
- treeNode376.Text = PdnResources.GetString("Menu.MeasureAction.PolygonMeasurement.Text");
- treeNode377.Name = "MeasureCircle";
- treeNode377.Text = PdnResources.GetString("Menu.MeasureAction.MeasureCircle.Text");
- treeNode378.Name = "MeasureInnerCircle";
- treeNode378.Text = PdnResources.GetString("Menu.MeasureAction.MeasureInnerCircle.Text");
- treeNode379.Name = "MeasureOuterCircle";
- treeNode379.Text = PdnResources.GetString("Menu.MeasureAction.MeasureOuterCircle.Text");
- treeNode380.Name = "MeasureDiameterCircle";
- treeNode380.Text = PdnResources.GetString("Menu.MeasureAction.MeasureDiameterCircle.Text");
- treeNode381.Name = "MeasurePointEdgeSize";
- treeNode381.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointEdgeSize.Text");
- treeNode3811.Name = "MeasurePointArcSize";
- treeNode3811.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointArcSize.Text");
- treeNode382.Name = "MeasurePointCenterSize";
- treeNode382.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointCenterSize.Text");
- treeNode383.Name = PdnResources.GetString("Menu.node.Text") + "8";
- treeNode383.Text = PdnResources.GetString("Menu.MeasureAction.CircularMeasurement.Text");
- treeNode384.Name = "MeasureThreePointAngle";
- treeNode384.Text = PdnResources.GetString("Menu.MeasureAction.MeasureThreePointAngle.Text");
- treeNode385.Name = "MeasureFourPointAngle";
- treeNode385.Text = PdnResources.GetString("Menu.MeasureAction.MeasureFourPointAngle.Text");
- treeNode386.Name = "MeasureThreePointArc";
- treeNode386.Text = PdnResources.GetString("Menu.MeasureAction.MeasureThreePointArc.Text");
- treeNode387.Name = PdnResources.GetString("Menu.node.Text") + "9";
- treeNode387.Text = PdnResources.GetString("Menu.MeasureAction.AngleMeasurement.Text");
- treeNode3821.Name = "MeasureCenterCenterSize";
- treeNode3821.Text = PdnResources.GetString("Menu.MeasureAction.MeasureCenterCenterSize.Text");
- treeNode3822.Name = "MeasureTwoLineVLDistance";
- treeNode3822.Text = PdnResources.GetString("Menu.MeasureAction.MeasureTwoLineVLDistance.Text");
- treeNode3831.Name = PdnResources.GetString("Menu.node.Text") + "10";
- treeNode3831.Text = PdnResources.GetString("Menu.MeasureAction.RegistrationMeasurement.Text");
- this.treeView4.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
- treeNode349,
- treeNode354,
- treeNode358,
- treeNode363,
- treeNode368,
- treeNode376,
- treeNode383,
- treeNode387,
- treeNode3831});
- treeNode388.Name = "MeasureLine";
- treeNode388.Text = PdnResources.GetString("Menu.LabelAction.DrawLine.Text");
- treeNode389.Name = "MeasureLength";
- treeNode389.Text = PdnResources.GetString("Menu.MeasureAction.MeasureLength.Text");
- treeNode390.Name = "MeasureHLine";
- treeNode390.Text = PdnResources.GetString("Menu.MeasureAction.MeasureHLine.Text");
- treeNode391.Name = "MeasureVLine";
- treeNode391.Text = PdnResources.GetString("Menu.MeasureAction.MeasureVLine.Text");
- treeNode3911.Name = "MeasureDistanceLine";
- treeNode3911.Text = PdnResources.GetString("Menu.MeasureAction.MeasureDistanceLine.Text");
- treeNode392.Name = PdnResources.GetString("Menu.node.Text") + "0";
- treeNode392.Text = PdnResources.GetString("Menu.MeasureAction.LengthMeasurement.Text");
- treeNode393.Name = "MeasureMulLine";
- treeNode393.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulLine.Text");
- treeNode394.Name = "MeasureMulHVLine";
- treeNode394.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulHVLine.Text");
- treeNode395.Name = "MeasureMulSegment";
- treeNode395.Text = PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text");
- treeNode396.Name = "MeasureMulVLine";
- treeNode396.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulVLine.Text");
- treeNode397.Name = PdnResources.GetString("Menu.node.Text") + "2";
- treeNode397.Text = PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text");
- treeNode398.Name = "MeasureBrokenLine";
- treeNode398.Text = PdnResources.GetString("Menu.MeasureAction.MeasureBrokenLine.Text");
- treeNode399.Name = "MeasureTraceCurve";
- treeNode399.Text = PdnResources.GetString("Menu.MeasureAction.MeasureTraceCurve.Text");
- treeNode400.Name = "MeasureCurveLine";
- treeNode400.Text = PdnResources.GetString("Menu.LabelAction.DrawCurve.Text");
- treeNode401.Name = PdnResources.GetString("Menu.node.Text") + "4";
- treeNode401.Text = PdnResources.GetString("Menu.MeasureAction.CurveLength.Text");
- treeNode402.Name = "MeasurePLine";
- treeNode402.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePLine.Text");
- treeNode4021.Name = "MeasurePointHLine";
- treeNode4021.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointHLine.Text");
- treeNode403.Name = "MeasureMulPLine";
- treeNode403.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulPLine.Text");
- treeNode404.Name = "MeasureHMulPLine";
- treeNode404.Text = PdnResources.GetString("Menu.MeasureAction.MeasureHMulPLine.Text");
- treeNode405.Name = "MeasureVMulPLine";
- treeNode405.Text = PdnResources.GetString("Menu.MeasureAction.MeasureVMulPLine.Text");
- treeNode406.Name = PdnResources.GetString("Menu.node.Text") + "5";
- treeNode406.Text = PdnResources.GetString("Menu.MeasureAction.PointPerpendicular.Text");
- treeNode407.Name = "MeasureParallelLine";
- treeNode407.Text = PdnResources.GetString("Menu.MeasureAction.MeasureParallelLine.Text");
- treeNode408.Name = "MeasureMulParallelLine";
- treeNode408.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulParallelLine.Text");
- treeNode409.Name = "MeasureHMulParallelLine";
- treeNode409.Text = PdnResources.GetString("Menu.MeasureAction.MeasureHMulParallelLine.Text");
- treeNode410.Name = "MeasureVMulParallelLine";
- treeNode410.Text = PdnResources.GetString("Menu.MeasureAction.MeasureVMulParallelLine.Text");
- treeNode411.Name = PdnResources.GetString("Menu.node.Text") + "6";
- treeNode411.Text = PdnResources.GetString("Menu.MeasureAction.ParallelLines.Text");
- treeNode412.Name = "MeasureClosedCurve";
- treeNode412.Text = PdnResources.GetString("Menu.LabelAction.DrawClosedCurve.Text");
- treeNode413.Name = "MeasurePolygon";
- treeNode413.Text = PdnResources.GetString("Menu.LabelAction.DrawPolygon.Text");
- treeNode414.Name = "MeasureRectangle";
- treeNode414.Text = PdnResources.GetString("Menu.LabelAction.DrawRectangle.Text");
- treeNode415.Name = "MeasureRandRectangle";
- treeNode415.Text = PdnResources.GetString("Menu.MeasureAction.MeasureRandRectangle.Text");
- treeNode416.Name = "MeasureSquare";
- treeNode416.Text = PdnResources.GetString("Menu.MeasureAction.MeasureSquare.Text");
- treeNode417.Name = "MeasureRandSquare";
- treeNode417.Text = PdnResources.GetString("Menu.MeasureAction.MeasureRandSquare.Text");
- treeNode418.Name = "MeasureTracePolygon";
- treeNode418.Text = PdnResources.GetString("Menu.MeasureAction.MeasureTracePolygon.Text");
- treeNode419.Name = PdnResources.GetString("Menu.node.Text") + "7";
- treeNode419.Text = PdnResources.GetString("Menu.MeasureAction.PolygonMeasurement.Text");
- treeNode420.Name = "MeasureCircle";
- treeNode420.Text = PdnResources.GetString("Menu.MeasureAction.MeasureCircle.Text");
- treeNode421.Name = "MeasureInnerCircle";
- treeNode421.Text = PdnResources.GetString("Menu.MeasureAction.MeasureInnerCircle.Text");
- treeNode422.Name = "MeasureOuterCircle";
- treeNode422.Text = PdnResources.GetString("Menu.MeasureAction.MeasureOuterCircle.Text");
- treeNode423.Name = "MeasureDiameterCircle";
- treeNode423.Text = PdnResources.GetString("Menu.MeasureAction.MeasureDiameterCircle.Text");
- treeNode424.Name = "MeasurePointEdgeSize";
- treeNode424.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointEdgeSize.Text");
- treeNode4241.Name = "MeasurePointArcSize";
- treeNode4241.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointArcSize.Text");
- treeNode425.Name = "MeasurePointCenterSize";
- treeNode425.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointCenterSize.Text");
- treeNode426.Name = PdnResources.GetString("Menu.node.Text") + "8";
- treeNode426.Text = PdnResources.GetString("Menu.MeasureAction.CircularMeasurement.Text");
- treeNode427.Name = "MeasureThreePointAngle";
- treeNode427.Text = PdnResources.GetString("Menu.MeasureAction.MeasureThreePointAngle.Text");
- treeNode428.Name = "MeasureFourPointAngle";
- treeNode428.Text = PdnResources.GetString("Menu.MeasureAction.MeasureFourPointAngle.Text");
- treeNode429.Name = "MeasureThreePointArc";
- treeNode429.Text = PdnResources.GetString("Menu.MeasureAction.MeasureThreePointArc.Text");
- treeNode430.Name = PdnResources.GetString("Menu.node.Text") + "9";
- treeNode430.Text = PdnResources.GetString("Menu.MeasureAction.AngleMeasurement.Text");
- treeNode4251.Name = "MeasureCenterCenterSize";
- treeNode4251.Text = PdnResources.GetString("Menu.MeasureAction.MeasureCenterCenterSize.Text");
- treeNode4252.Name = "MeasureTwoLineVLDistance";
- treeNode4252.Text = PdnResources.GetString("Menu.MeasureAction.MeasureTwoLineVLDistance.Text");
- treeNode4261.Name = PdnResources.GetString("Menu.node.Text") + "10";
- treeNode4261.Text = PdnResources.GetString("Menu.MeasureAction.RegistrationMeasurement.Text");
- this.treeView3.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
- treeNode392,
- treeNode397,
- treeNode401,
- treeNode406,
- treeNode411,
- treeNode419,
- treeNode426,
- treeNode430,
- treeNode4261});
- treeNode431.Name = "MeasureLine";
- treeNode431.Text = PdnResources.GetString("Menu.LabelAction.DrawLine.Text");
- treeNode432.Name = "MeasureLength";
- treeNode432.Text = PdnResources.GetString("Menu.MeasureAction.MeasureLength.Text");
- treeNode433.Name = "MeasureHLine";
- treeNode433.Text = PdnResources.GetString("Menu.MeasureAction.MeasureHLine.Text");
- treeNode434.Name = "MeasureVLine";
- treeNode434.Text = PdnResources.GetString("Menu.MeasureAction.MeasureVLine.Text");
- treeNode4344.Name = "MeasureDistanceLine";
- treeNode4344.Text = PdnResources.GetString("Menu.MeasureAction.MeasureDistanceLine.Text");
- treeNode435.Name = PdnResources.GetString("Menu.node.Text") + "0";
- treeNode435.Text = PdnResources.GetString("Menu.MeasureAction.LengthMeasurement.Text");
- treeNode436.Name = "MeasureMulLine";
- treeNode436.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulLine.Text");
- treeNode437.Name = "MeasureMulHVLine";
- treeNode437.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulHVLine.Text");
- treeNode438.Name = "MeasureMulSegment";
- treeNode438.Text = PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text");
- treeNode439.Name = "MeasureMulVLine";
- treeNode439.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulVLine.Text");
- treeNode440.Name = PdnResources.GetString("Menu.node.Text") + "2";
- treeNode440.Text = PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text");
- treeNode441.Name = "MeasureBrokenLine";
- treeNode441.Text = PdnResources.GetString("Menu.MeasureAction.MeasureBrokenLine.Text");
- treeNode442.Name = "MeasureTraceCurve";
- treeNode442.Text = PdnResources.GetString("Menu.MeasureAction.MeasureTraceCurve.Text");
- treeNode443.Name = "MeasureCurveLine";
- treeNode443.Text = PdnResources.GetString("Menu.LabelAction.DrawCurve.Text");
- treeNode444.Name = PdnResources.GetString("Menu.node.Text") + "4";
- treeNode444.Text = PdnResources.GetString("Menu.MeasureAction.CurveLength.Text");
- treeNode445.Name = "MeasurePLine";
- treeNode445.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePLine.Text");
- treeNode4451.Name = "MeasurePointHLine";
- treeNode4451.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointHLine.Text");
- treeNode446.Name = "MeasureMulPLine";
- treeNode446.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulPLine.Text");
- treeNode447.Name = "MeasureHMulPLine";
- treeNode447.Text = PdnResources.GetString("Menu.MeasureAction.MeasureHMulPLine.Text");
- treeNode448.Name = "MeasureVMulPLine";
- treeNode448.Text = PdnResources.GetString("Menu.MeasureAction.MeasureVMulPLine.Text");
- treeNode449.Name = PdnResources.GetString("Menu.node.Text") + "5";
- treeNode449.Text = PdnResources.GetString("Menu.MeasureAction.PointPerpendicular.Text");
- treeNode450.Name = "MeasureParallelLine";
- treeNode450.Text = PdnResources.GetString("Menu.MeasureAction.MeasureParallelLine.Text");
- treeNode451.Name = "MeasureMulParallelLine";
- treeNode451.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulParallelLine.Text");
- treeNode452.Name = "MeasureHMulParallelLine";
- treeNode452.Text = PdnResources.GetString("Menu.MeasureAction.MeasureHMulParallelLine.Text");
- treeNode453.Name = "MeasureVMulParallelLine";
- treeNode453.Text = PdnResources.GetString("Menu.MeasureAction.MeasureVMulParallelLine.Text");
- treeNode454.Name = PdnResources.GetString("Menu.node.Text") + "6";
- treeNode454.Text = PdnResources.GetString("Menu.MeasureAction.ParallelLines.Text");
- treeNode455.Name = "MeasureClosedCurve";
- treeNode455.Text = PdnResources.GetString("Menu.LabelAction.DrawClosedCurve.Text");
- treeNode456.Name = "MeasurePolygon";
- treeNode456.Text = PdnResources.GetString("Menu.LabelAction.DrawPolygon.Text");
- treeNode457.Name = "MeasureRectangle";
- treeNode457.Text = PdnResources.GetString("Menu.LabelAction.DrawRectangle.Text");
- treeNode458.Name = "MeasureRandRectangle";
- treeNode458.Text = PdnResources.GetString("Menu.MeasureAction.MeasureRandRectangle.Text");
- treeNode459.Name = "MeasureSquare";
- treeNode459.Text = PdnResources.GetString("Menu.MeasureAction.MeasureSquare.Text");
- treeNode460.Name = "MeasureRandSquare";
- treeNode460.Text = PdnResources.GetString("Menu.MeasureAction.MeasureRandSquare.Text");
- treeNode461.Name = "MeasureTracePolygon";
- treeNode461.Text = PdnResources.GetString("Menu.MeasureAction.MeasureTracePolygon.Text");
- treeNode462.Name = PdnResources.GetString("Menu.node.Text") + "7";
- treeNode462.Text = PdnResources.GetString("Menu.MeasureAction.PolygonMeasurement.Text");
- treeNode463.Name = "MeasureCircle";
- treeNode463.Text = PdnResources.GetString("Menu.MeasureAction.MeasureCircle.Text");
- treeNode464.Name = "MeasureInnerCircle";
- treeNode464.Text = PdnResources.GetString("Menu.MeasureAction.MeasureInnerCircle.Text");
- treeNode465.Name = "MeasureOuterCircle";
- treeNode465.Text = PdnResources.GetString("Menu.MeasureAction.MeasureOuterCircle.Text");
- treeNode466.Name = "MeasureDiameterCircle";
- treeNode466.Text = PdnResources.GetString("Menu.MeasureAction.MeasureDiameterCircle.Text");
- treeNode467.Name = "MeasurePointEdgeSize";
- treeNode467.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointEdgeSize.Text");
- treeNode4671.Name = "MeasurePointArcSize";
- treeNode4671.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointArcSize.Text");
- treeNode468.Name = "MeasurePointCenterSize";
- treeNode468.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointCenterSize.Text");
- treeNode469.Name = PdnResources.GetString("Menu.node.Text") + "8";
- treeNode469.Text = PdnResources.GetString("Menu.MeasureAction.CircularMeasurement.Text");
- treeNode470.Name = "MeasureThreePointAngle";
- treeNode470.Text = PdnResources.GetString("Menu.MeasureAction.MeasureThreePointAngle.Text");
- treeNode471.Name = "MeasureFourPointAngle";
- treeNode471.Text = PdnResources.GetString("Menu.MeasureAction.MeasureFourPointAngle.Text");
- treeNode472.Name = "MeasureThreePointArc";
- treeNode472.Text = PdnResources.GetString("Menu.MeasureAction.MeasureThreePointArc.Text");
- treeNode473.Name = PdnResources.GetString("Menu.node.Text") + "9";
- treeNode473.Text = PdnResources.GetString("Menu.MeasureAction.AngleMeasurement.Text");
- treeNode4681.Name = "MeasureCenterCenterSize";
- treeNode4681.Text = PdnResources.GetString("Menu.MeasureAction.MeasureCenterCenterSize.Text");
- treeNode4682.Name = "MeasureTwoLineVLDistance";
- treeNode4682.Text = PdnResources.GetString("Menu.MeasureAction.MeasureTwoLineVLDistance.Text");
- treeNode4691.Name = PdnResources.GetString("Menu.node.Text") + "10";
- treeNode4691.Text = PdnResources.GetString("Menu.MeasureAction.RegistrationMeasurement.Text");
- this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
- treeNode435,
- treeNode440,
- treeNode444,
- treeNode449,
- treeNode454,
- treeNode462,
- treeNode469,
- treeNode473,
- treeNode4691});
- treeNode474.Name = "MeasureLine";
- treeNode474.Text = PdnResources.GetString("Menu.LabelAction.DrawLine.Text");
- treeNode475.Name = "MeasureLength";
- treeNode475.Text = PdnResources.GetString("Menu.MeasureAction.MeasureLength.Text");
- treeNode476.Name = "MeasureHLine";
- treeNode476.Text = PdnResources.GetString("Menu.MeasureAction.MeasureHLine.Text");
- treeNode477.Name = "MeasureVLine";
- treeNode477.Text = PdnResources.GetString("Menu.MeasureAction.MeasureVLine.Text");
- treeNode4777.Name = "MeasureDistanceLine";
- treeNode4777.Text = PdnResources.GetString("Menu.MeasureAction.MeasureDistanceLine.Text");
- treeNode478.Name = PdnResources.GetString("Menu.node.Text") + "0";
- treeNode478.Text = PdnResources.GetString("Menu.MeasureAction.LengthMeasurement.Text");
- treeNode479.Name = "MeasureMulLine";
- treeNode479.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulLine.Text");
- treeNode480.Name = "MeasureMulHVLine";
- treeNode480.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulHVLine.Text");
- treeNode481.Name = "MeasureMulSegment";
- treeNode481.Text = PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text");
- treeNode482.Name = "MeasureMulVLine";
- treeNode482.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulVLine.Text");
- treeNode483.Name = PdnResources.GetString("Menu.node.Text") + "2";
- treeNode483.Text = PdnResources.GetString("Menu.MeasureAction.MultiPointLineSegment.Text");
- treeNode484.Name = "MeasureBrokenLine";
- treeNode484.Text = PdnResources.GetString("Menu.MeasureAction.MeasureBrokenLine.Text");
- treeNode485.Name = "MeasureTraceCurve";
- treeNode485.Text = PdnResources.GetString("Menu.MeasureAction.MeasureTraceCurve.Text");
- treeNode486.Name = "MeasureCurveLine";
- treeNode486.Text = PdnResources.GetString("Menu.LabelAction.DrawCurve.Text");
- treeNode487.Name = PdnResources.GetString("Menu.node.Text") + "4";
- treeNode487.Text = PdnResources.GetString("Menu.MeasureAction.CurveLength.Text");
- treeNode488.Name = "MeasurePLine";
- treeNode488.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePLine.Text");
- treeNode4881.Name = "MeasurePointHLine";
- treeNode4881.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointHLine.Text");
- treeNode489.Name = "MeasureMulPLine";
- treeNode489.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulPLine.Text");
- treeNode490.Name = "MeasureHMulPLine";
- treeNode490.Text = PdnResources.GetString("Menu.MeasureAction.MeasureHMulPLine.Text");
- treeNode491.Name = "MeasureVMulPLine";
- treeNode491.Text = PdnResources.GetString("Menu.MeasureAction.MeasureVMulPLine.Text");
- treeNode492.Name = PdnResources.GetString("Menu.node.Text") + "5";
- treeNode492.Text = PdnResources.GetString("Menu.MeasureAction.PointPerpendicular.Text");
- treeNode493.Name = "MeasureParallelLine";
- treeNode493.Text = PdnResources.GetString("Menu.MeasureAction.MeasureParallelLine.Text");
- treeNode494.Name = "MeasureMulParallelLine";
- treeNode494.Text = PdnResources.GetString("Menu.MeasureAction.MeasureMulParallelLine.Text");
- treeNode495.Name = "MeasureHMulParallelLine";
- treeNode495.Text = PdnResources.GetString("Menu.MeasureAction.MeasureHMulParallelLine.Text");
- treeNode496.Name = "MeasureVMulParallelLine";
- treeNode496.Text = PdnResources.GetString("Menu.MeasureAction.MeasureVMulParallelLine.Text");
- treeNode497.Name = PdnResources.GetString("Menu.node.Text") + "6";
- treeNode497.Text = PdnResources.GetString("Menu.MeasureAction.ParallelLines.Text");
- treeNode498.Name = "MeasureClosedCurve";
- treeNode498.Text = PdnResources.GetString("Menu.LabelAction.DrawClosedCurve.Text");
- treeNode499.Name = "MeasurePolygon";
- treeNode499.Text = PdnResources.GetString("Menu.LabelAction.DrawPolygon.Text");
- treeNode500.Name = "MeasureRectangle";
- treeNode500.Text = PdnResources.GetString("Menu.LabelAction.DrawRectangle.Text");
- treeNode501.Name = "MeasureRandRectangle";
- treeNode501.Text = PdnResources.GetString("Menu.MeasureAction.MeasureRandRectangle.Text");
- treeNode502.Name = "MeasureSquare";
- treeNode502.Text = PdnResources.GetString("Menu.MeasureAction.MeasureSquare.Text");
- treeNode503.Name = "MeasureRandSquare";
- treeNode503.Text = PdnResources.GetString("Menu.MeasureAction.MeasureRandSquare.Text");
- treeNode504.Name = "MeasureTracePolygon";
- treeNode504.Text = PdnResources.GetString("Menu.MeasureAction.MeasureTracePolygon.Text");
- treeNode505.Name = PdnResources.GetString("Menu.node.Text") + "7";
- treeNode505.Text = PdnResources.GetString("Menu.MeasureAction.PolygonMeasurement.Text");
- treeNode506.Name = "MeasureCircle";
- treeNode506.Text = PdnResources.GetString("Menu.MeasureAction.MeasureCircle.Text");
- treeNode507.Name = "MeasureInnerCircle";
- treeNode507.Text = PdnResources.GetString("Menu.MeasureAction.MeasureInnerCircle.Text");
- treeNode508.Name = "MeasureOuterCircle";
- treeNode508.Text = PdnResources.GetString("Menu.MeasureAction.MeasureOuterCircle.Text");
- treeNode509.Name = "MeasureDiameterCircle";
- treeNode509.Text = PdnResources.GetString("Menu.MeasureAction.MeasureDiameterCircle.Text");
- treeNode510.Name = "MeasurePointEdgeSize";
- treeNode510.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointEdgeSize.Text");
- treeNode5101.Name = "MeasurePointArcSize";
- treeNode5101.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointArcSize.Text");
- treeNode511.Name = "MeasurePointCenterSize";
- treeNode511.Text = PdnResources.GetString("Menu.MeasureAction.MeasurePointCenterSize.Text");
- treeNode512.Name = PdnResources.GetString("Menu.node.Text") + "8";
- treeNode512.Text = PdnResources.GetString("Menu.MeasureAction.CircularMeasurement.Text");
- treeNode513.Name = "MeasureThreePointAngle";
- treeNode513.Text = PdnResources.GetString("Menu.MeasureAction.MeasureThreePointAngle.Text");
- treeNode514.Name = "MeasureFourPointAngle";
- treeNode514.Text = PdnResources.GetString("Menu.MeasureAction.MeasureFourPointAngle.Text");
- treeNode515.Name = "MeasureThreePointArc";
- treeNode515.Text = PdnResources.GetString("Menu.MeasureAction.MeasureThreePointArc.Text");
- treeNode516.Name = PdnResources.GetString("Menu.node.Text") + "9";
- treeNode516.Text = PdnResources.GetString("Menu.MeasureAction.AngleMeasurement.Text");
- treeNode5111.Name = "MeasureCenterCenterSize";
- treeNode5111.Text = PdnResources.GetString("Menu.MeasureAction.MeasureCenterCenterSize.Text");
- treeNode5112.Name = "MeasureTwoLineVLDistance";
- treeNode5112.Text = PdnResources.GetString("Menu.MeasureAction.MeasureTwoLineVLDistance.Text");
- treeNode5121.Name = PdnResources.GetString("Menu.node.Text") + "10";
- treeNode5121.Text = PdnResources.GetString("Menu.MeasureAction.RegistrationMeasurement.Text");
- this.treeView2.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
- treeNode478,
- treeNode483,
- treeNode487,
- treeNode492,
- treeNode497,
- treeNode505,
- treeNode512,
- treeNode516,
- treeNode5121});
- this.groupBox1.Text = PdnResources.GetString("Menu.Type.text");
- this.button3.Text = PdnResources.GetString("Menu.File.Close.Text");
- this.button2.Text = PdnResources.GetString("Menu.Dataattrs.text");
- this.button1.Text = PdnResources.GetString("Menu.Drawingattributes.text");
- this.groupBox2.Text = PdnResources.GetString("Menu.operation.text");
- this.button4.Text = PdnResources.GetString("Menu.File.Save.Text");
- this.groupBox5.Text = PdnResources.GetString("Menu.Dataattrs.text");
- this.button5.Text = PdnResources.GetString("Menu.Moveout.text") + ">";
- this.button6.Text = "<" + PdnResources.GetString("Menu.Addto.text");
- this.groupBox3.Text = PdnResources.GetString("Menu.Drawingattributes.text");
- this.groupBox4.Text = PdnResources.GetString("Menu.Imagement.Measurementlist.Elementattributes.text");
- this.Text = PdnResources.GetString("Menu.Setting.Text");
- }
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.button3 = new System.Windows.Forms.Button();
- this.button2 = new System.Windows.Forms.Button();
- this.button1 = new System.Windows.Forms.Button();
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.button4 = new System.Windows.Forms.Button();
- this.groupBox5 = new System.Windows.Forms.GroupBox();
- this.treeView4 = new System.Windows.Forms.TreeView();
- this.button5 = new System.Windows.Forms.Button();
- this.button6 = new System.Windows.Forms.Button();
- this.groupBox3 = new System.Windows.Forms.GroupBox();
- this.treeView3 = new System.Windows.Forms.TreeView();
- this.groupBox4 = new System.Windows.Forms.GroupBox();
- this.treeView1 = new System.Windows.Forms.TreeView();
- this.treeView2 = new System.Windows.Forms.TreeView();
- this.groupBox1.SuspendLayout();
- this.groupBox2.SuspendLayout();
- this.groupBox5.SuspendLayout();
- this.groupBox3.SuspendLayout();
- this.groupBox4.SuspendLayout();
- this.SuspendLayout();
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.button3);
- this.groupBox1.Controls.Add(this.button2);
- this.groupBox1.Controls.Add(this.button1);
- this.groupBox1.Location = new System.Drawing.Point(2, 2);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(96, 561);
- this.groupBox1.TabIndex = 0;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "类型";
- //
- // button3
- //
- this.button3.BackColor = System.Drawing.SystemColors.Control;
- this.button3.Location = new System.Drawing.Point(6, 528);
- this.button3.Name = "button3";
- this.button3.Size = new System.Drawing.Size(84, 27);
- this.button3.TabIndex = 3;
- this.button3.Text = "关闭";
- this.button3.UseVisualStyleBackColor = false;
- this.button3.Click += new System.EventHandler(this.button3_Click);
- //
- // button2
- //
- this.button2.Location = new System.Drawing.Point(6, 105);
- this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(84, 27);
- this.button2.TabIndex = 2;
- this.button2.Text = "数据属性";
- this.button2.UseVisualStyleBackColor = true;
- this.button2.Click += new System.EventHandler(this.button2_Click);
- //
- // button1
- //
- this.button1.BackColor = System.Drawing.Color.Black;
- this.button1.ForeColor = System.Drawing.Color.White;
- this.button1.Location = new System.Drawing.Point(6, 53);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(84, 27);
- this.button1.TabIndex = 1;
- this.button1.Text = "绘制属性";
- this.button1.UseVisualStyleBackColor = false;
- this.button1.Click += new System.EventHandler(this.button1_Click);
- //
- // groupBox2
- //
- this.groupBox2.Controls.Add(this.button4);
- this.groupBox2.Location = new System.Drawing.Point(104, 2);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(582, 49);
- this.groupBox2.TabIndex = 1;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = "操作";
- //
- // button4
- //
- this.button4.BackColor = System.Drawing.SystemColors.Window;
- this.button4.Location = new System.Drawing.Point(497, 14);
- this.button4.Name = "button4";
- this.button4.Size = new System.Drawing.Size(75, 27);
- this.button4.TabIndex = 4;
- this.button4.UseVisualStyleBackColor = false;
- this.button4.Click += new System.EventHandler(this.button4_Click);
- //
- // groupBox5
- //
- this.groupBox5.Controls.Add(this.treeView4);
- this.groupBox5.Location = new System.Drawing.Point(106, 57);
- this.groupBox5.Name = "groupBox5";
- this.groupBox5.Size = new System.Drawing.Size(244, 506);
- this.groupBox5.TabIndex = 7;
- this.groupBox5.TabStop = false;
- this.groupBox5.Text = "绘制属性";
- this.groupBox5.Visible = false;
- //
- // treeView4
- //
- this.treeView4.BackColor = System.Drawing.SystemColors.Control;
- this.treeView4.ForeColor = System.Drawing.SystemColors.MenuText;
- this.treeView4.Location = new System.Drawing.Point(6, 20);
- this.treeView4.Name = "treeView4";
- this.treeView4.Size = new System.Drawing.Size(232, 486);
- this.treeView4.TabIndex = 1;
- //
- // button5
- //
- this.button5.BackColor = System.Drawing.SystemColors.Control;
- this.button5.Location = new System.Drawing.Point(354, 294);
- this.button5.Name = "button5";
- this.button5.Size = new System.Drawing.Size(72, 27);
- this.button5.TabIndex = 4;
- this.button5.Text = "移出";
- this.button5.UseVisualStyleBackColor = false;
- this.button5.Click += new System.EventHandler(this.button5_Click);
- //
- // button6
- //
- this.button6.BackColor = System.Drawing.SystemColors.Control;
- this.button6.Location = new System.Drawing.Point(354, 234);
- this.button6.Name = "button6";
- this.button6.Size = new System.Drawing.Size(72, 27);
- this.button6.TabIndex = 5;
- this.button6.Text = "添加";
- this.button6.UseVisualStyleBackColor = false;
- this.button6.Click += new System.EventHandler(this.button6_Click);
- //
- // groupBox3
- //
- this.groupBox3.Controls.Add(this.treeView3);
- this.groupBox3.Location = new System.Drawing.Point(106, 57);
- this.groupBox3.Name = "groupBox3";
- this.groupBox3.Size = new System.Drawing.Size(244, 506);
- this.groupBox3.TabIndex = 6;
- this.groupBox3.TabStop = false;
- //
- // treeView3
- //
- this.treeView3.BackColor = System.Drawing.SystemColors.Control;
- this.treeView3.ForeColor = System.Drawing.SystemColors.MenuText;
- this.treeView3.Location = new System.Drawing.Point(6, 20);
- this.treeView3.Name = "treeView3";
- this.treeView3.Size = new System.Drawing.Size(232, 486);
- this.treeView3.TabIndex = 1;
- //
- // groupBox4
- //
- this.groupBox4.Controls.Add(this.treeView1);
- this.groupBox4.Location = new System.Drawing.Point(432, 57);
- this.groupBox4.Name = "groupBox4";
- this.groupBox4.Size = new System.Drawing.Size(244, 506);
- this.groupBox4.TabIndex = 7;
- this.groupBox4.TabStop = false;
- this.groupBox4.Text = "元素属性";
- //
- // treeView1
- //
- this.treeView1.BackColor = System.Drawing.SystemColors.Control;
- this.treeView1.ForeColor = System.Drawing.SystemColors.MenuText;
- this.treeView1.Location = new System.Drawing.Point(6, 20);
- this.treeView1.Name = "treeView1";
- this.treeView1.Size = new System.Drawing.Size(232, 486);
- this.treeView1.TabIndex = 0;
- //
- // treeView2
- //
- this.treeView2.BackColor = System.Drawing.SystemColors.Control;
- this.treeView2.ForeColor = System.Drawing.SystemColors.MenuText;
- this.treeView2.Location = new System.Drawing.Point(438, 77);
- this.treeView2.Name = "treeView2";
- this.treeView2.Size = new System.Drawing.Size(232, 486);
- this.treeView2.TabIndex = 0;
- this.treeView2.Visible = false;
- //
- // MeasureListSetDialog
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.BackColor = System.Drawing.SystemColors.Control;
- this.ClientSize = new System.Drawing.Size(689, 562);
- this.Controls.Add(this.treeView2);
- this.Controls.Add(this.groupBox5);
- this.Controls.Add(this.groupBox4);
- this.Controls.Add(this.groupBox3);
- this.Controls.Add(this.button5);
- this.Controls.Add(this.button6);
- this.Controls.Add(this.groupBox2);
- this.Controls.Add(this.groupBox1);
- this.MaximumSize = new System.Drawing.Size(705, 601);
- this.MinimumSize = new System.Drawing.Size(705, 601);
- this.Name = "MeasureListSetDialog";
- this.Text = "测量设置";
- this.groupBox1.ResumeLayout(false);
- this.groupBox2.ResumeLayout(false);
- this.groupBox5.ResumeLayout(false);
- this.groupBox3.ResumeLayout(false);
- this.groupBox4.ResumeLayout(false);
- this.ResumeLayout(false);
- }
- #endregion
- private System.Windows.Forms.GroupBox groupBox1;
- private System.Windows.Forms.Button button3;
- private System.Windows.Forms.Button button2;
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.GroupBox groupBox2;
- private System.Windows.Forms.Button button4;
- private System.Windows.Forms.Button button5;
- private System.Windows.Forms.Button button6;
- private System.Windows.Forms.GroupBox groupBox3;
- private System.Windows.Forms.GroupBox groupBox4;
- private System.Windows.Forms.TreeView treeView1;
- private System.Windows.Forms.GroupBox groupBox5;
- private System.Windows.Forms.TreeView treeView3;
- private System.Windows.Forms.TreeView treeView4;
- private System.Windows.Forms.TreeView treeView2;
- #endregion
- /// <summary>
- /// 主控件
- /// </summary>
- private AppWorkspace appWorkspace;
- /// <summary>
- /// 设置画面属性(绘制属性)
- /// </summary>
- private TreeView drawNodes;
- /// <summary>
- /// 设置画面属性(数据属性)
- /// </summary>
- private TreeView dataNodes;
- /// <summary>
- /// 设置画面属性(绘制元素属性)
- /// </summary>
- public TreeView allDrawNodes;
- /// <summary>
- /// 设置画面属性(数据元素属性)
- /// </summary>
- public TreeView allDataNodes;
- public MeasureListSetDialog(AppWorkspace appWorkspace, TreeView drawNodes, TreeView dataNodes, TreeView allDrawNodes, TreeView allDataNodes)
- {
- this.appWorkspace = appWorkspace;
- this.drawNodes = drawNodes;
- this.dataNodes = dataNodes;
- this.allDrawNodes = allDrawNodes;
- this.allDataNodes = allDataNodes;
- InitializeComponent();
- InitializeLanguageText();
- if (this.drawNodes == null && this.dataNodes == null && this.allDrawNodes == null && this.allDataNodes == null)
- this.InitAddNodes();
- else
- this.ModifiedAddNodes();
- }
- /// <summary>
- /// 初始在treeview中添加元素属性节点
- /// </summary>
- private void InitAddNodes()
- {
- int count = treeView3.Nodes.Count;
- for (int i = 0; i < count; i++)
- {
- foreach (TreeNode node in this.treeView3.Nodes[i].Nodes)
- {
- int[] arr;
- InvariantData.measureRelationAttributes.TryGetValue((DrawToolType)Enum.Parse(typeof(DrawToolType), node.Name, false), out arr);
- Dictionary<Enum, Object> models = new Dictionary<Enum, object>();
- if (arr != null)
- {
- foreach (int t in arr)
- {
- if (t != 0)
- {
- object v;
- InvariantData.measureAttributes.TryGetValue((MeasureAttributes)t, out v);
- models.Add((MeasureAttributes)t, v);
- }
- }
- int a = 0;
- foreach (var model in models)
- {
- node.Nodes.Add(new TreeNode(model.Value.ToString()));
- node.Nodes[a].Name = model.Key.ToString();
- a++;
- }
- }
- }
- foreach (TreeNode node in this.treeView4.Nodes[i].Nodes)
- {
- int[] arr;
- InvariantData.measureRelationAttributes.TryGetValue((DrawToolType)Enum.Parse(typeof(DrawToolType), node.Name, false), out arr);
- Dictionary<Enum, Object> models = new Dictionary<Enum, object>();
- if (arr != null)
- {
- foreach (int t in arr)
- {
- if (t != 0)
- {
- object v;
- InvariantData.measureAttributes.TryGetValue((MeasureAttributes)t, out v);
- models.Add((MeasureAttributes)t, v);
- }
- }
- int b = 0;
- foreach (var model in models)
- {
- node.Nodes.Add(new TreeNode(model.Value.ToString()));
- node.Nodes[b].Name = model.Key.ToString();
- b++;
- }
- }
- }
- }
- }
- /// <summary>
- /// 修改过元素的节点设置
- /// </summary>
- private void ModifiedAddNodes()
- {
- int count1 = this.drawNodes.Nodes.Count;
- for (int i = 0; i < count1; i++)
- {
- int count2 = this.drawNodes.Nodes[i].Nodes.Count;
- for (int j = 0; j < count2; j++)
- {
- int b = 0;
- foreach (TreeNode node2 in this.drawNodes.Nodes[i].Nodes[j].Nodes)
- {
- this.treeView3.Nodes[i].Nodes[j].Nodes.Add(new TreeNode(node2.Text));
- this.treeView3.Nodes[i].Nodes[j].Nodes[b].Name = node2.Name;
- b++;
- }
- }
- }
- int count3 = this.dataNodes.Nodes.Count;
- for (int i = 0; i < count3; i++)
- {
- int count4 = this.dataNodes.Nodes[i].Nodes.Count;
- for (int j = 0; j < count4; j++)
- {
- int b = 0;
- foreach (TreeNode node2 in this.dataNodes.Nodes[i].Nodes[j].Nodes)
- {
- this.treeView4.Nodes[i].Nodes[j].Nodes.Add(new TreeNode(node2.Text));
- this.treeView4.Nodes[i].Nodes[j].Nodes[b].Name = node2.Name;
- b++;
- }
- }
- }
- int count5 = this.allDrawNodes.Nodes.Count;
- for (int i = 0; i < count5; i++)
- {
- int count6 = this.allDrawNodes.Nodes[i].Nodes.Count;
- for (int j = 0; j < count6; j++)
- {
- int b = 0;
- foreach (TreeNode node2 in this.allDrawNodes.Nodes[i].Nodes[j].Nodes)
- {
- this.treeView1.Nodes[i].Nodes[j].Nodes.Add(new TreeNode(node2.Text));
- this.treeView1.Nodes[i].Nodes[j].Nodes[b].Name = node2.Name;
- b++;
- }
- }
- }
- int count7 = this.allDataNodes.Nodes.Count;
- for (int i = 0; i < count7; i++)
- {
- int count8 = this.allDataNodes.Nodes[i].Nodes.Count;
- for (int j = 0; j < count8; j++)
- {
- int b = 0;
- foreach (TreeNode node2 in this.allDataNodes.Nodes[i].Nodes[j].Nodes)
- {
- this.treeView2.Nodes[i].Nodes[j].Nodes.Add(new TreeNode(node2.Text));
- this.treeView2.Nodes[i].Nodes[j].Nodes[b].Name = node2.Name;
- b++;
- }
- }
- }
- }
- /// <summary>
- /// 绘制属性按钮按下事件
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void button1_Click(object sender, EventArgs e)
- {
- this.groupBox3.Visible = true;
- this.treeView3.Visible = true;
- this.groupBox5.Visible = false;
- this.treeView4.Visible = false;
- this.treeView1.Visible = true;
- this.treeView2.Visible = false;
- this.button1.BackColor = Color.Black;
- this.button1.ForeColor = Color.White;
- this.button2.BackColor = Color.White;
- this.button2.ForeColor = Color.Black;
- }
- /// <summary>
- /// 数据属性按钮按下事件
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void button2_Click(object sender, EventArgs e)
- {
- this.groupBox5.Visible = true;
- this.treeView4.Visible = true;
- this.groupBox3.Visible = false;
- this.treeView3.Visible = false;
- this.treeView1.Visible = false;
- this.treeView2.Visible = true;
- this.button2.BackColor = Color.Black;
- this.button2.ForeColor = Color.White;
- this.button1.BackColor = Color.White;
- this.button1.ForeColor = Color.Black;
- }
- /// <summary>
- /// 添加按钮按下事件
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void button6_Click(object sender, EventArgs e)
- {
- if (this.treeView4.Visible == true
- && this.treeView2.SelectedNode != null)
- {
- string name = string.Empty;
- if (this.treeView2.SelectedNode.Parent != null)
- name = this.treeView2.SelectedNode.Parent.Name;
- TreeNode treeNode = this.treeView2.SelectedNode;
- int count = treeView4.Nodes.Count;
- for (int i = 0; i < count; i++)
- {
- foreach (TreeNode node in this.treeView4.Nodes[i].Nodes)
- {
- if (node.Name == name)
- {
- this.treeView2.SelectedNode.Remove();
- node.Nodes.Add(treeNode);
- }
- }
- }
- }
- if (this.treeView3.Visible == true
- && this.treeView1.SelectedNode != null)
- {
- string name = string.Empty;
- if (this.treeView1.SelectedNode.Parent != null)
- name = this.treeView1.SelectedNode.Parent.Name;
- TreeNode treeNode = this.treeView1.SelectedNode;
- int count = treeView3.Nodes.Count;
- for (int i = 0; i < count; i++)
- {
- foreach (TreeNode node in this.treeView3.Nodes[i].Nodes)
- {
- if (node.Name == name)
- {
- this.treeView1.SelectedNode.Remove();
- node.Nodes.Add(treeNode);
- }
- }
- }
- }
- }
- /// <summary>
- /// 移出按钮按下事件
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void button5_Click(object sender, EventArgs e)
- {
- if (this.treeView4.Visible == true
- && this.treeView4.SelectedNode != null)
- {
- string name = string.Empty;
- if(this.treeView4.SelectedNode.Parent != null)
- name = this.treeView4.SelectedNode.Parent.Name;
- TreeNode treeNode = this.treeView4.SelectedNode;
- int count = treeView2.Nodes.Count;
- for (int i = 0; i < count; i++)
- {
- foreach (TreeNode node in this.treeView2.Nodes[i].Nodes)
- {
- if (node.Name == name)
- {
- this.treeView4.SelectedNode.Remove();
- node.Nodes.Add(treeNode);
- }
- }
- }
- }
- if (this.treeView3.Visible == true
- && this.treeView3.SelectedNode != null)
- {
- string name = string.Empty;
- if(this.treeView3.SelectedNode.Parent != null)
- name = this.treeView3.SelectedNode.Parent.Name;
- TreeNode treeNode = this.treeView3.SelectedNode;
- int count = treeView1.Nodes.Count;
- for (int i = 0; i < count; i++)
- {
- foreach (TreeNode node in this.treeView1.Nodes[i].Nodes)
- {
- if (node.Name == name)
- {
- this.treeView3.SelectedNode.Remove();
- node.Nodes.Add(treeNode);
- }
- }
- }
- }
- }
- /// <summary>
- /// 关闭按钮按下事件
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void button3_Click(object sender, EventArgs e)
- {
- this.Close();
- }
- /// <summary>
- /// 保存按钮按下事件
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void button4_Click(object sender, EventArgs e)
- {
- MeasureListSetModel measureListSetModel = new MeasureListSetModel();
- MeasureListDialog.drawNodes = this.treeView3;
- MeasureListDialog.dataNodes = this.treeView4;
- MeasureListDialog.allDrawNodes = this.treeView1;
- MeasureListDialog.allDataNodes = this.treeView2;
- // 绘制属性树状图保存
- measureListSetModel.AttributeMapDrawNodes = new List<MeasureListSetModel.FirstNode>();
- for (int i = 0; i < this.treeView3.Nodes.Count; i++)
- {
- MeasureListSetModel.FirstNode firstNode = new MeasureListSetModel.FirstNode();
- firstNode.Attribute = new List<MeasureListSetModel.FirstNode.SecondNode>();
- firstNode.Name = this.treeView3.Nodes[i].Text;
- if (this.treeView3.Nodes[i].Nodes.Count > 0)
- {
- for (int j = 0; j < this.treeView3.Nodes[i].Nodes.Count; j++)
- {
- MeasureListSetModel.FirstNode.SecondNode second = new MeasureListSetModel.FirstNode.SecondNode();
- second.Attribute = new List<MeasureListSetModel.FirstNode.SecondNode.Item>();
- second.Text = this.treeView3.Nodes[i].Nodes[j].Text;
- second.Name = this.treeView3.Nodes[i].Nodes[j].Name;
- foreach (TreeNode Node in this.treeView3.Nodes[i].Nodes[j].Nodes)
- {
- MeasureListSetModel.FirstNode.SecondNode.Item item = new MeasureListSetModel.FirstNode.SecondNode.Item();
- item.Text = Node.Text;
- item.Name = Node.Name;
- second.Attribute.Add(item);
- }
- firstNode.Attribute.Add(second);
- }
- }
- measureListSetModel.AttributeMapDrawNodes.Add(firstNode);
- }
- // 数据属性树状图保存
- measureListSetModel.AttributeMapDataNodes = new List<MeasureListSetModel.FirstNode>();
- for (int i = 0; i < this.treeView4.Nodes.Count; i++)
- {
- MeasureListSetModel.FirstNode firstNode = new MeasureListSetModel.FirstNode();
- firstNode.Attribute = new List<MeasureListSetModel.FirstNode.SecondNode>();
- firstNode.Name = this.treeView4.Nodes[i].Text;
- if (this.treeView4.Nodes[i].Nodes.Count > 0)
- {
- for (int j = 0; j < this.treeView4.Nodes[i].Nodes.Count; j++)
- {
- MeasureListSetModel.FirstNode.SecondNode second = new MeasureListSetModel.FirstNode.SecondNode();
- second.Attribute = new List<MeasureListSetModel.FirstNode.SecondNode.Item>();
- second.Text = this.treeView4.Nodes[i].Nodes[j].Text;
- second.Name = this.treeView4.Nodes[i].Nodes[j].Name;
- foreach (TreeNode Node in this.treeView4.Nodes[i].Nodes[j].Nodes)
- {
- MeasureListSetModel.FirstNode.SecondNode.Item item = new MeasureListSetModel.FirstNode.SecondNode.Item();
- item.Text = Node.Text;
- item.Name = Node.Name;
- second.Attribute.Add(item);
- }
- firstNode.Attribute.Add(second);
- }
- }
- measureListSetModel.AttributeMapDataNodes.Add(firstNode);
- }
- // 绘制属性(元素)树状图保存
- measureListSetModel.AttributeMapAllDrawNodes = new List<MeasureListSetModel.FirstNode>();
- for (int i = 0; i < this.treeView1.Nodes.Count; i++)
- {
- MeasureListSetModel.FirstNode firstNode = new MeasureListSetModel.FirstNode();
- firstNode.Attribute = new List<MeasureListSetModel.FirstNode.SecondNode>();
- firstNode.Name = this.treeView1.Nodes[i].Text;
- if (this.treeView1.Nodes[i].Nodes.Count > 0)
- {
- for (int j = 0; j < this.treeView1.Nodes[i].Nodes.Count; j++)
- {
- MeasureListSetModel.FirstNode.SecondNode second = new MeasureListSetModel.FirstNode.SecondNode();
- second.Attribute = new List<MeasureListSetModel.FirstNode.SecondNode.Item>();
- second.Text = this.treeView1.Nodes[i].Nodes[j].Text;
- second.Name = this.treeView1.Nodes[i].Nodes[j].Name;
- foreach (TreeNode Node in this.treeView1.Nodes[i].Nodes[j].Nodes)
- {
- MeasureListSetModel.FirstNode.SecondNode.Item item = new MeasureListSetModel.FirstNode.SecondNode.Item();
- item.Text = Node.Text;
- item.Name = Node.Name;
- second.Attribute.Add(item);
- }
- firstNode.Attribute.Add(second);
- }
- }
- measureListSetModel.AttributeMapAllDrawNodes.Add(firstNode);
- }
- // 数据属性(元素)树状图保存
- measureListSetModel.AttributeMapAllDataNodes = new List<MeasureListSetModel.FirstNode>();
- for (int i = 0; i < this.treeView2.Nodes.Count; i++)
- {
- MeasureListSetModel.FirstNode firstNode = new MeasureListSetModel.FirstNode();
- firstNode.Attribute = new List<MeasureListSetModel.FirstNode.SecondNode>();
- firstNode.Name = this.treeView2.Nodes[i].Text;
- if (this.treeView2.Nodes[i].Nodes.Count > 0)
- {
- for (int j = 0; j < this.treeView2.Nodes[i].Nodes.Count; j++)
- {
- MeasureListSetModel.FirstNode.SecondNode second = new MeasureListSetModel.FirstNode.SecondNode();
- second.Attribute = new List<MeasureListSetModel.FirstNode.SecondNode.Item>();
- second.Text = this.treeView2.Nodes[i].Nodes[j].Text;
- second.Name = this.treeView2.Nodes[i].Nodes[j].Name;
- foreach (TreeNode Node in this.treeView2.Nodes[i].Nodes[j].Nodes)
- {
- MeasureListSetModel.FirstNode.SecondNode.Item item = new MeasureListSetModel.FirstNode.SecondNode.Item();
- item.Text = Node.Text;
- item.Name = Node.Name;
- second.Attribute.Add(item);
- }
- firstNode.Attribute.Add(second);
- }
- }
- measureListSetModel.AttributeMapAllDataNodes.Add(firstNode);
- }
- string configXml = XmlSerializeHelper.XmlSerialize<MeasureListSetModel>(measureListSetModel);
- string filePath = Application.StartupPath + "\\Config\\" + Startup.instance.SettingPrefix + "\\MeasureListSetModel.xml";
- if (FileOperationHelper.WriteStringToFile(configXml, filePath, FileMode.Create))
- {
- MessageBox.Show(PdnResources.GetString("Menu.Attributesavedsuccessfully.Text"));
- }
- else
- {
- MessageBox.Show(PdnResources.GetString("Menu.Propertysavefailed.Text"));
- }
- if (this.appWorkspace != null)
- {
- this.appWorkspace.SetDrawNodes();
- this.appWorkspace.RefreshListView();
- }
- this.Close();
- }
- }
- }
|