77 lines
19 KiB
XML
77 lines
19 KiB
XML
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
||
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.4">
|
||
<compounddef id="_message_boxes_8cs" kind="file">
|
||
<compoundname>MessageBoxes.cs</compoundname>
|
||
<innerclass refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes" prot="public">CampusAppWP8::Utility::Lui::MessageBoxes::MessageBoxes</innerclass>
|
||
<innernamespace refid="namespace_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes">CampusAppWP8::Utility::Lui::MessageBoxes</innernamespace>
|
||
<briefdescription>
|
||
</briefdescription>
|
||
<detaileddescription>
|
||
</detaileddescription>
|
||
<programlisting>
|
||
<codeline lineno="1"><highlight class="normal"></highlight><highlight class="comment">//-----------------------------------------------------------------------</highlight><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="2"><highlight class="normal"></highlight><highlight class="comment">//<sp/><copyright<sp/>file="MessageBoxes.cs"<sp/>company="BTU/IIT"></highlight><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="3"><highlight class="normal"></highlight><highlight class="comment">//<sp/>The<sp/>MIT<sp/>License<sp/>(MIT).<sp/>Copyright<sp/>(c)<sp/>2013<sp/>BTU/IIT.</highlight><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="4"><highlight class="normal"></highlight><highlight class="comment">//<sp/></copyright></highlight><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="comment">//<sp/><author>Stubbfel</author></highlight><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="6"><highlight class="normal"></highlight><highlight class="comment">//<sp/><date>15.10.2013</date></highlight><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="7"><highlight class="normal"></highlight><highlight class="comment">//<sp/><summary>Implements<sp/>the<sp/>message<sp/>boxes<sp/>class</summary></highlight><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="8"><highlight class="normal"></highlight><highlight class="comment">//-----------------------------------------------------------------------</highlight><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="9" refid="namespace_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">CampusAppWP8.Utility.Lui.<ref refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes" kindref="compound" tooltip="Class creates some MessageBoxes. ">MessageBoxes</ref></highlight></codeline>
|
||
<codeline lineno="10"><highlight class="normal">{</highlight></codeline>
|
||
<codeline lineno="11"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>System.Windows;</highlight></codeline>
|
||
<codeline lineno="12"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>CampusAppWP8.Resources;</highlight></codeline>
|
||
<codeline lineno="13"><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="16" refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes" kindref="compound" tooltip="Class creates some MessageBoxes. ">MessageBoxes</ref></highlight></codeline>
|
||
<codeline lineno="17"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
||
<codeline lineno="18"><highlight class="normal"></highlight><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>#region<sp/>Method</highlight></codeline>
|
||
<codeline lineno="19"><highlight class="preprocessor"></highlight></codeline>
|
||
<codeline lineno="23" refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes_1aaf6cdbf21b450d76e2bf6847f70e1371" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/>MessageBoxResult<sp/><ref refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes_1aaf6cdbf21b450d76e2bf6847f70e1371" kindref="member" tooltip="Method show the MessageBox for the GeoWatch-OptIn. ">ShowGoeWatchOptInBox</ref>()</highlight></codeline>
|
||
<codeline lineno="24"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
||
<codeline lineno="25"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>MessageBox.Show(<ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources" kindref="compound" tooltip="Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw...">AppResources</ref>.<ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources_1aa7e90e9787427dfd68f5663b781630c5" kindref="member" tooltip="Sucht eine lokalisierte Zeichenfolge, die Dürfen Positionsdaten erhoben und verwendet werden (z...">MsgBox_GeoWatchOptInText</ref>,<sp/><ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources" kindref="compound" tooltip="Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw...">AppResources</ref>.<ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources_1a073ee7ed8651e507d2fbe7174ab10271" kindref="member" tooltip="Sucht eine lokalisierte Zeichenfolge, die Ortung ähnelt. ">MsgBox_GeoWatchOptInHeader</ref>,<sp/>MessageBoxButton.OKCancel);</highlight></codeline>
|
||
<codeline lineno="26"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
<codeline lineno="27"><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="32" refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes_1a4a7bdf6202b2c74b833144f5a9712ebb" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/>MessageBoxResult<sp/><ref refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes_1a4a7bdf6202b2c74b833144f5a9712ebb" kindref="member" tooltip="Method show the MessageBox for the ErrorMessageBox. ">ShowMainModelErrorMessageBox</ref>(</highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>text)</highlight></codeline>
|
||
<codeline lineno="33"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
||
<codeline lineno="34"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>MessageBox.Show(text,<sp/><ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources" kindref="compound" tooltip="Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw...">AppResources</ref>.<ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources_1a38004bc9cec4c3c171dbe30b82ca2869" kindref="member" tooltip="Sucht eine lokalisierte Zeichenfolge, die Fehler ähnelt. ">MsgBox_ErrorHeader</ref>,<sp/>MessageBoxButton.OK);</highlight></codeline>
|
||
<codeline lineno="35"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
<codeline lineno="36"><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="41" refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes_1aa532a7abe253511d941c1bb6a9dc86cd" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/>MessageBoxResult<sp/><ref refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes_1aa532a7abe253511d941c1bb6a9dc86cd" kindref="member" tooltip="Shows the main model information message box. ">ShowMainModelInfoMessageBox</ref>(</highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>text)</highlight></codeline>
|
||
<codeline lineno="42"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
||
<codeline lineno="43"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>MessageBox.Show(text,<sp/><ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources" kindref="compound" tooltip="Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw...">AppResources</ref>.<ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources_1a97d7998967e97f71bbfbd6bb9de56fca" kindref="member" tooltip="Sucht eine lokalisierte Zeichenfolge, die Hinweis ähnelt. ">MsgBox_InfoHeader</ref>,<sp/>MessageBoxButton.OK);</highlight></codeline>
|
||
<codeline lineno="44"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
<codeline lineno="45"><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="50" refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes_1aa1720e1f750f4ebc7dd28e7f3533d782" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/>MessageBoxResult<sp/><ref refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes_1aa1720e1f750f4ebc7dd28e7f3533d782" kindref="member" tooltip="Shows the place information message box. ">ShowPlaceInfoMessageBox</ref>(</highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>text)</highlight></codeline>
|
||
<codeline lineno="51"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
||
<codeline lineno="52"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>MessageBox.Show(text,<sp/><ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources" kindref="compound" tooltip="Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw...">AppResources</ref>.<ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources_1af2c379c043c3ca764f82ef62187660aa" kindref="member" tooltip="Sucht eine lokalisierte Zeichenfolge, die Platzinfo ähnelt. ">MsgBox_PlaceInfoHeader</ref>,<sp/>MessageBoxButton.OK);</highlight></codeline>
|
||
<codeline lineno="53"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
<codeline lineno="54"><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="59" refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes_1a833952b7ef068e46f8d4cebe322f49d7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/>MessageBoxResult<sp/><ref refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes_1a833952b7ef068e46f8d4cebe322f49d7" kindref="member" tooltip="Shows the place information message box (OKCancel-Box). ">ShowPlaceInfoOkCancelMessageBox</ref>(</highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>text)</highlight></codeline>
|
||
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
||
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>MessageBox.Show(text,<sp/><ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources" kindref="compound" tooltip="Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw...">AppResources</ref>.<ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources_1af2c379c043c3ca764f82ef62187660aa" kindref="member" tooltip="Sucht eine lokalisierte Zeichenfolge, die Platzinfo ähnelt. ">MsgBox_PlaceInfoHeader</ref>,<sp/>MessageBoxButton.OKCancel);</highlight></codeline>
|
||
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
<codeline lineno="63"><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="68" refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes_1a5a3cd027737d16412af653a1ae75f7d2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/>MessageBoxResult<sp/><ref refid="class_campus_app_w_p8_1_1_utility_1_1_lui_1_1_message_boxes_1_1_message_boxes_1a5a3cd027737d16412af653a1ae75f7d2" kindref="member" tooltip="Shows the btu tag information ok cancel message box. ">ShowBtuTagInfoOkCancelMessageBox</ref>(</highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>text<sp/>=<sp/>null)</highlight></codeline>
|
||
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
||
<codeline lineno="70"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>tagString;</highlight></codeline>
|
||
<codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(text<sp/>!=<sp/>null)</highlight></codeline>
|
||
<codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
||
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>tagString<sp/>=<sp/></highlight><highlight class="stringliteral">":\n"</highlight><highlight class="normal"><sp/>+<sp/><ref refid="class_campus_app_w_p8_1_1_utility_1_1_wp8_string_manager" kindref="compound" tooltip="Class provides some special StringMethods. ">Wp8StringManager</ref>.<ref refid="class_campus_app_w_portal_lib8_1_1_utility_1_1_default_string_manager_1a0c31d6ebcf5abba51312de851deb97de" kindref="member" tooltip="Method create from a long string a short string. ">ToShortString</ref>(text,<sp/>160,<sp/></highlight><highlight class="stringliteral">"..."</highlight><highlight class="normal">);</highlight></codeline>
|
||
<codeline lineno="74"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="76"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
||
<codeline lineno="77"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>tagString<sp/>=<sp/></highlight><highlight class="stringliteral">"!"</highlight><highlight class="normal">;</highlight></codeline>
|
||
<codeline lineno="78"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
<codeline lineno="79"><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>btuString<sp/>=<sp/><ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources" kindref="compound" tooltip="Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw...">AppResources</ref>.<ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources_1a4a5acf3903bf06ea8c1fe887e0083988" kindref="member" tooltip="Sucht eine lokalisierte Zeichenfolge, die Sie haben einen BTU-Tag eingescannt ähnelt. ">BTUTag_Prefix</ref><sp/>+<sp/>tagString<sp/>+<sp/></highlight><highlight class="stringliteral">"\n"</highlight><highlight class="normal"><sp/>+<sp/><ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources" kindref="compound" tooltip="Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw...">AppResources</ref>.<ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources_1a10e8da62ef23420af1b2e91521de6734" kindref="member" tooltip="Sucht eine lokalisierte Zeichenfolge, die Mit einem BTU-Tag können Sie ortsgebundenen Informationen a...">BTUTag_Suffix</ref>;</highlight></codeline>
|
||
<codeline lineno="81"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>MessageBox.Show(btuString,<sp/><ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources" kindref="compound" tooltip="Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw...">AppResources</ref>.<ref refid="class_campus_app_w_p8_1_1_resources_1_1_app_resources_1a81ff99d8c242693495d55deb0dac6b4e" kindref="member" tooltip="Sucht eine lokalisierte Zeichenfolge, die BTU-Tag ähnelt. ">MsgBox_BtuInfoHeader</ref>,<sp/>MessageBoxButton.OKCancel);</highlight></codeline>
|
||
<codeline lineno="82"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
<codeline lineno="83"><highlight class="normal"></highlight></codeline>
|
||
<codeline lineno="84"><highlight class="normal"></highlight><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>#endregion</highlight></codeline>
|
||
<codeline lineno="85"><highlight class="preprocessor"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
<codeline lineno="86"><highlight class="normal">}</highlight></codeline>
|
||
</programlisting>
|
||
<location file="C:/Users/stubbfel/gitrepos/CampusAppWP8/CampusAppWP8/CampusAppWP8/Utility/Lui/MessageBoxes/MessageBoxes.cs"/>
|
||
</compounddef>
|
||
</doxygen>
|