/// <summary>Sprachtexte setzten</summary> private void setLanguage() { Text = language.getLanguageText("frmPolarCoord_Title"); tabControl1.Text = language.getLanguageText("frmPolarCoord_TAB"); lblStartpoint.Text = language.getLanguageText("frmPolarCoord_Startpoint"); lblEndpoint.Text = language.getLanguageText("frmPolarCoord_Endpoint"); btnMakeCalc.Text = language.getLanguageText("frmPolarCoord_MakeCalc"); lblRiwi.Text = language.getLanguageText("frmPolarCoord_Riwi"); lblLength.Text = language.getLanguageText("frmPolarCoord_Length"); lbldeltaH.Text = language.getLanguageText("frmPolarCoord_DeltaElev"); lblDistance.Text = language.getLanguageText("frmPolarCoord_Distance"); lblClination.Text = language.getLanguageText("frmPolarCoord_Clination"); }
/// <summary>Sprachtexte setzten</summary> private void setLanguage() { Text = language.getLanguageText("frmTranslateCoord_Title"); tabControl1.Text = language.getLanguageText("frmTranslateCoord_TAB"); lblTranslRW.Text = language.getLanguageText("frmTranslateCoord_RW"); lblTranslHW.Text = language.getLanguageText("frmTranslateCoord_HW"); lblTranslHO.Text = language.getLanguageText("frmTranslateCoord_HO"); btnMakeTransl.Text = language.getLanguageText("frmTranslateCoord_BTN_MakeIt"); }
/// <summary>Sprachtexte setzten</summary> private void setLanguage() { Text = language.getLanguageText("frmChangeID_Title"); tabControl1.Text = language.getLanguageText("frmChangeID_TAB_IR"); lblPointnumber.Text = language.getLanguageText("frmChangeID_TIR_Pointnumber"); lblPointIdNew.Text = language.getLanguageText("frmChangeID_TIR_IDnew"); toolTip1.SetToolTip(cbPunktnummer, language.getLanguageText("frmChangeID_Tooltip_Pointnumber")); btnPktChangeID.Text = language.getLanguageText("frmChangeID_BTN_MakeIt"); }
private void setLanguage() { this.Text = language.getLanguageText("frmChangeCode_Title"); tabPChangePKTCode.Text = language.getLanguageText("frmChangeCode_TAB_Pointnumber"); lblPunktnummer.Text = language.getLanguageText("frmChangeCode_PNR_Pointnmber"); lblPKTCodeNeu.Text = language.getLanguageText("frmChangeCode_PNR_CodeNew"); toolTip1.SetToolTip(cbPunktnummer, language.getLanguageText("frmChangeCode_PNR_Tooltip_Pointnumber")); btnPktChangeCode.Text = language.getLanguageText("frmChangeCode_BTN_SetCode"); tabPCode.Text = language.getLanguageText("frmChangeCode_TAB_Code"); lblCodeOld.Text = language.getLanguageText("frmChangeCode_COD_CodeOld"); lblCodeNew.Text = language.getLanguageText("frmChangeCode_COD_CodeNew"); toolTip1.SetToolTip(cbCodePKTNeu, language.getLanguageText("frmChangeCode_COD_Tooltip_CodeOld")); btnChangeCode.Text = language.getLanguageText("frmChangeCode_BTN_SetCode"); }
/// <summary>Sprachtexte setzten</summary> private void setLanguage() { Text = language.getLanguageText("frmTransformCoord_Title"); btnCalcTransform.Text = language.getLanguageText("frmTransformCoord_btnCalcTransform"); btnClose.Text = language.getLanguageText("frmTransformCoord_btnClose"); btnMakeTransform.Text = language.getLanguageText("frmTransformCoord_btnMakeTransform"); btnChangeSrcDest.Text = language.getLanguageText("frmTransformCoord_btnChangeSrcDest"); lblSrc.Text = language.getLanguageText("frmTransformCoord_lblSrc"); lblDest.Text = language.getLanguageText("frmTransformCoord_lblDest"); lblSigmaXY.Text = language.getLanguageText("frmTransformCoord_lblSigmaXY"); lblSigmaZ.Text = language.getLanguageText("frmTransformCoord_lblSigmaZ"); pointName.HeaderText = language.getLanguageText("frmTransformCoord_ColPNR"); SrcRW.HeaderText = language.getLanguageText("frmTransformCoord_ColSrcRW"); SrcHW.HeaderText = language.getLanguageText("frmTransformCoord_ColSrcHW"); SrcZ.HeaderText = language.getLanguageText("frmTransformCoord_ColSrcZ"); DstRW.HeaderText = language.getLanguageText("frmTransformCoord_ColDstRW"); DstHW.HeaderText = language.getLanguageText("frmTransformCoord_ColDstHW"); DstZ.HeaderText = language.getLanguageText("frmTransformCoord_ColDstZ"); deltaRW.HeaderText = language.getLanguageText("frmTransformCoord_ColdeltaRW"); deltaHW.HeaderText = language.getLanguageText("frmTransformCoord_ColdeltaHW"); deltaZ.HeaderText = language.getLanguageText("frmTransformCoord_ColdeltaZ"); usePoint.HeaderText = language.getLanguageText("frmTransformCoord_ColusePoint"); useZ.HeaderText = language.getLanguageText("frmTransformCoord_ColuseZ"); cbNewPointsNewTab.Text = language.getLanguageText("frmTransformCoord_cbNewPointsNewTab"); }
/// <summary>Sprachtexte setzten</summary> private void setLanguage() { Text = language.getLanguageText("frmRotateCoord_Title"); tabControl1.Text = language.getLanguageText("frmRotateCoord_TAB"); lblRotPoint.Text = language.getLanguageText("frmRotateCoord_RotPoint"); lblrPointZTo0.Text = language.getLanguageText("frmRotateCoord_RotPointZTo0"); chbZTo0.Text = language.getLanguageText("frmRotateCoord_CBRotPointZTo0"); lblDirPoint.Text = language.getLanguageText("frmRotateCoord_DirPoint"); lblDirection.Text = language.getLanguageText("frmRotateCoord_Direction"); toolTip1.SetToolTip(tbDirection, language.getLanguageText("frmRotateCoord_DirPointTolTip")); //toolTip1.SetToolTip(cbRotPoint, language.getLanguageText("frmChangeID_Tooltip_Pointnumber")); btnPktCalcRotation.Text = language.getLanguageText("frmRotateCoord_BTN_MakeIt"); }
private void setLanguage() { Text = language.getLanguageText("frmSettings_Title"); btnApplay.Text = language.getLanguageText("frmSettings_BTNOkay"); btnSetDefault.Text = language.getLanguageText("frmSettings_BTNSetDefault"); tabPAllg.Text = language.getLanguageText("frmSettings_TAB_General"); gbPointnumber.Text = language.getLanguageText("frmSettings_Group_PointName"); cb_PointnameToupper.Text = language.getLanguageText("frmSettings_PointName_Uppercase"); gbTrenner.Text = language.getLanguageText("frmSettings_Delimiter"); lblDelimiter.Text = language.getLanguageText("frmSettings_Delimiter"); tabPCoord.Text = language.getLanguageText("frmSettings_TAB_Coord"); gb_RW.Text = language.getLanguageText("frmSettings_Group_East"); gb_HW.Text = language.getLanguageText("frmSettings_Group_North"); gb_Elev.Text = language.getLanguageText("frmSettings_Group_Elev"); gb_CoordCode.Text = language.getLanguageText("frmSettings_Group_C_Code"); gbDescript.Text = language.getLanguageText("frmSettings_Group_C_Descript"); tabPMessdaten.Text = language.getLanguageText("frmSettings_TAB_Measure"); gbStandpunkt.Text = language.getLanguageText("frmSettings_Group_Position"); gb_I.Text = language.getLanguageText("frmSettings_Group_P_InstrH"); gb_STCode.Text = language.getLanguageText("frmSettings_Group_P_Code"); gb_STDescr.Text = language.getLanguageText("frmSettings_Group_P_Descript"); gbZielungen.Text = language.getLanguageText("frmSettings_Group_Target"); gb_ZielHz.Text = language.getLanguageText("frmSettings_Group_T_Direction"); gb_ZielV.Text = language.getLanguageText("frmSettings_Group_T_Zenith"); gb_ZielS.Text = language.getLanguageText("frmSettings_Group_T_Distance"); gb_ZielD.Text = language.getLanguageText("frmSettings_Group_T_Reflector"); gb_ZielCode.Text = language.getLanguageText("frmSettings_Group_T_Code"); gb_ZielDescr.Text = language.getLanguageText("frmSettings_Group_T_Descript"); lblColum1.Text = language.getLanguageText("frmSettings_Label_Column"); lblColum2.Text = language.getLanguageText("frmSettings_Label_Column"); lblColum3.Text = language.getLanguageText("frmSettings_Label_Column"); lblColum4.Text = language.getLanguageText("frmSettings_Label_Column"); lblColum5.Text = language.getLanguageText("frmSettings_Label_Column"); lblColum6.Text = language.getLanguageText("frmSettings_Label_Column"); lblColum7.Text = language.getLanguageText("frmSettings_Label_Column"); lblColum8.Text = language.getLanguageText("frmSettings_Label_Column"); lblColum9.Text = language.getLanguageText("frmSettings_Label_Column"); lblColum10.Text = language.getLanguageText("frmSettings_Label_Column"); lblColum11.Text = language.getLanguageText("frmSettings_Label_Column"); lblColum12.Text = language.getLanguageText("frmSettings_Label_Column"); lblColum13.Text = language.getLanguageText("frmSettings_Label_Column"); lblColum14.Text = language.getLanguageText("frmSettings_Label_Column"); lblColum15.Text = language.getLanguageText("frmSettings_Label_Column"); lblStart1.Text = language.getLanguageText("frmSettings_Label_Start"); lblStart2.Text = language.getLanguageText("frmSettings_Label_Start"); lblStart3.Text = language.getLanguageText("frmSettings_Label_Start"); lblStart4.Text = language.getLanguageText("frmSettings_Label_Start"); lblStart5.Text = language.getLanguageText("frmSettings_Label_Start"); lblStart6.Text = language.getLanguageText("frmSettings_Label_Start"); lblStart7.Text = language.getLanguageText("frmSettings_Label_Start"); lblStart8.Text = language.getLanguageText("frmSettings_Label_Start"); lblStart9.Text = language.getLanguageText("frmSettings_Label_Start"); lblStart10.Text = language.getLanguageText("frmSettings_Label_Start"); lblStart11.Text = language.getLanguageText("frmSettings_Label_Start"); lblStart12.Text = language.getLanguageText("frmSettings_Label_Start"); lblStart13.Text = language.getLanguageText("frmSettings_Label_Start"); lblStart14.Text = language.getLanguageText("frmSettings_Label_Start"); lblStart15.Text = language.getLanguageText("frmSettings_Label_Start"); lblLength1.Text = language.getLanguageText("frmSettings_Label_Length"); lblLength2.Text = language.getLanguageText("frmSettings_Label_Length"); lblLength3.Text = language.getLanguageText("frmSettings_Label_Length"); lblLength4.Text = language.getLanguageText("frmSettings_Label_Length"); lblLength5.Text = language.getLanguageText("frmSettings_Label_Length"); lblLength6.Text = language.getLanguageText("frmSettings_Label_Length"); lblLength7.Text = language.getLanguageText("frmSettings_Label_Length"); lblLength8.Text = language.getLanguageText("frmSettings_Label_Length"); lblLength9.Text = language.getLanguageText("frmSettings_Label_Length"); lblLength10.Text = language.getLanguageText("frmSettings_Label_Length"); lblLength11.Text = language.getLanguageText("frmSettings_Label_Length"); lblLength12.Text = language.getLanguageText("frmSettings_Label_Length"); lblLength13.Text = language.getLanguageText("frmSettings_Label_Length"); lblLength14.Text = language.getLanguageText("frmSettings_Label_Length"); lblLength15.Text = language.getLanguageText("frmSettings_Label_Length"); lblDecimal2.Text = language.getLanguageText("frmSettings_Label_Decimal"); lblDecimal3.Text = language.getLanguageText("frmSettings_Label_Decimal"); lblDecimal4.Text = language.getLanguageText("frmSettings_Label_Decimal"); lblDecimal7.Text = language.getLanguageText("frmSettings_Label_Decimal"); lblDecimal10.Text = language.getLanguageText("frmSettings_Label_Decimal"); lblDecimal11.Text = language.getLanguageText("frmSettings_Label_Decimal"); lblDecimal12.Text = language.getLanguageText("frmSettings_Label_Decimal"); lblDecimal13.Text = language.getLanguageText("frmSettings_Label_Decimal"); }
/// <summary>Arbeitsfunktion für CADdy Formatiert</summary> internal static void formatCADdyKoord() { if (cuTabWhatIsThis == enWhatIAm.CADdyCoord) { cADdyPoints.getPointsFromCurrentCADdy(pluginSettings); cADdyPoints.formatCurrentToCADdy(pluginSettings); } else { MessageBox.Show(pluginLanguage.getLanguageText("MSGBox_ClassCADdyPunkte_NoPoints")); } }
internal static void CommandMenuInit() { StringBuilder sbIniFilePath = new StringBuilder(Win32.MAX_PATH); Win32.SendMessage(PluginBase.nppData._nppHandle, (uint)NppMsg.NPPM_GETPLUGINSCONFIGDIR, Win32.MAX_PATH, sbIniFilePath); iniFilePath = sbIniFilePath.ToString(); if (!Directory.Exists(iniFilePath)) { Directory.CreateDirectory(iniFilePath); } String settingsFilePath = Path.Combine(iniFilePath, PluginName + ".ini"); Win32.SendMessage(PluginBase.nppData._nppHandle, (uint)NppMsg.NPPM_GETNPPDIRECTORY, Win32.MAX_PATH, sbIniFilePath); iniFilePath = sbIniFilePath.ToString(); String languageFilePath = Path.Combine(iniFilePath, @"plugins\" + PluginName + @"\" + PluginName + "_Lang.ini"); pluginSettings = new Settings(settingsFilePath); pluginSettings.load(); pluginLanguage = new ClassLanguage(languageFilePath); cADdyPoints = new ClassCADdyPunkte(ref pluginLanguage); cADdyMessdaten = new ClassCADdyMessdaten(ref pluginLanguage); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Coord, pluginLanguage.getLanguageText("Menue_Coord"), dummy); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Coord_FormCADdy, pluginLanguage.getLanguageText("Menue_Coord_FormCADdy"), formatCADdyKoord, new ShortcutKey(false, false, false, Keys.None)); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Coord_FormExcel, pluginLanguage.getLanguageText("Menue_Coord_FormExcel"), formatExcelKoord, new ShortcutKey(false, false, false, Keys.None)); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Coord_Sort, pluginLanguage.getLanguageText("Menue_Coord_Sort"), dummy); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Coord_SortCol1, pluginLanguage.getLanguageText("Menue_Coord_SortCol1"), sortByNumber, new ShortcutKey(false, false, false, Keys.None)); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Coord_SortCol2, pluginLanguage.getLanguageText("Menue_Coord_SortCol2"), sortByEast, new ShortcutKey(false, false, false, Keys.None)); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Coord_SortCol3, pluginLanguage.getLanguageText("Menue_Coord_SortCol3"), sortByNorth, new ShortcutKey(false, false, false, Keys.None)); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Coord_SortCol4, pluginLanguage.getLanguageText("Menue_Coord_SortCol4"), sortByElev, new ShortcutKey(false, false, false, Keys.None)); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Coord_SortCol5, pluginLanguage.getLanguageText("Menue_Coord_SortCol5"), sortByCode, new ShortcutKey(false, false, false, Keys.None)); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Coord_Rotation, pluginLanguage.getLanguageText("Menue_Coord_Rotation"), rotateCoordDialog, new ShortcutKey(false, false, false, Keys.None)); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Coord_Translation, pluginLanguage.getLanguageText("Menue_Coord_Translation"), translateCoordDialog, new ShortcutKey(false, false, false, Keys.None)); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Coord_Transformation, pluginLanguage.getLanguageText("Menue_Coord_Transformation"), transformationCoordDialog, new ShortcutKey(false, false, false, Keys.None)); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Coord_Polar, pluginLanguage.getLanguageText("Menue_Coord_Polar"), polarCoordDialog, new ShortcutKey(false, false, false, Keys.None)); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Coord_Compare, pluginLanguage.getLanguageText("Menue_Coord_Compare"), compareCoordDialog, new ShortcutKey(false, false, false, Keys.None)); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Dummy_1, "----", null); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Measure, pluginLanguage.getLanguageText("Menue_Measure"), dummy); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Measure_FormCADdy, pluginLanguage.getLanguageText("Menue_Measure_FormCADdy"), formatCADdyMessaten, new ShortcutKey(false, false, false, Keys.None)); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Measure_FormExcel, pluginLanguage.getLanguageText("Menue_Measure_FormExcel"), formatExcelMessaten, new ShortcutKey(false, false, false, Keys.None)); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Measure_FormCAPLAN, pluginLanguage.getLanguageText("Menue_Measure_FormCAPLAN"), formatCAPLANMessaten, new ShortcutKey(false, false, false, Keys.None)); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Measure_SetID, pluginLanguage.getLanguageText("Menue_Measure_SetID"), changeIDDialog); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Dummy_2, "----", null); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_MeasCode, pluginLanguage.getLanguageText("Menue_MeasCode"), dummy); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_ChangeCode, pluginLanguage.getLanguageText("Menue_ChangeCode"), changeCodeDialog); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Dummy_3, "----", null); PluginBase.SetCommand((int)CADdyToolsMenuId.Menue_Settings, pluginLanguage.getLanguageText("Menue_Settings"), settingsDialog); PluginBase.SetCommand((int)CADdyToolsMenuId.About, "About ...", aboutDialog); }
/// <summary>Sprachtexte setzten</summary> private void setLanguage() { Text = language.getLanguageText("frmCompareCoord_Title"); btnMakeCompare.Text = language.getLanguageText("frmCompareCoord_btnMakeCompare"); btnClose.Text = language.getLanguageText("frmCompareCoord_btnClose"); btnChangeEpochen.Text = language.getLanguageText("frmCompareCoord_btnSwapEpoch"); lblEpoche1.Text = language.getLanguageText("frmCompareCoord_lblEpoche1"); lblEpoche2.Text = language.getLanguageText("frmCompareCoord_lblEpoche2"); pointName.HeaderText = language.getLanguageText("frmCompareCoord_ColPNR"); ep1RW.HeaderText = language.getLanguageText("frmCompareCoord_Colep1RW"); ep1HW.HeaderText = language.getLanguageText("frmCompareCoord_Colep1HW"); ep1Z.HeaderText = language.getLanguageText("frmCompareCoord_Colep1Z"); ep2RW.HeaderText = language.getLanguageText("frmCompareCoord_Colep2RW"); ep2HW.HeaderText = language.getLanguageText("frmCompareCoord_Colep2HW"); ep2Z.HeaderText = language.getLanguageText("frmCompareCoord_Colep2Z"); deltaRW.HeaderText = language.getLanguageText("frmCompareCoord_ColdeltaRW"); deltaHW.HeaderText = language.getLanguageText("frmCompareCoord_ColdeltaHW"); deltaZ.HeaderText = language.getLanguageText("frmCompareCoord_ColdeltaZ"); delta2D.HeaderText = language.getLanguageText("frmCompareCoord_Coldelta2D"); delta3D.HeaderText = language.getLanguageText("frmCompareCoord_Coldelta3D"); deltaRiwi.HeaderText = language.getLanguageText("frmCompareCoord_ColdeltaRiwi"); }