update ISO coordinate rendering for 3+2axis machine.
This commit is contained in:
@@ -89,13 +89,13 @@
|
||||
|
||||
<p>This document describes the common patterns and conventions used throughout the HiNC GUI codebase.</p>
|
||||
<h2 id="message-and-exception-handling">Message and Exception Handling</h2>
|
||||
<p>The HiNC applications use <a class="xref" href="../../api/Hi.Common.Messages.MessageHost.html">MessageHost</a> to display user-facing messages, and <a class="xref" href="../../api/Hi.Common.ExceptionUtil.html">ExceptionUtil</a>.<a class="xref" href="../../api/Hi.Common.ExceptionUtil.html#Hi_Common_ExceptionUtil_ShowException_System_Exception_System_Object_">ShowException(Exception, object)</a> to handle exceptions with detailed treatment. All messages are displayed in the <a href="message-section-on-main-panel.html">Message Section on Main Panel</a>.</p>
|
||||
<p>The HiNC applications use <xref:Hi.Common.Messages.MessageHost> to display user-facing messages, and <a class="xref" href="../../api/Hi.Common.ExceptionUtil.html">ExceptionUtil</a>.<a class="xref" href="../../api/Hi.Common.ExceptionUtil.html#Hi_Common_ExceptionUtil_ShowException_System_Exception_System_Object_">ShowException(Exception, object)</a> to handle exceptions with detailed treatment. All messages are displayed in the <a href="message-section-on-main-panel.html">Message Section on Main Panel</a>.</p>
|
||||
<p>For examples of message and exception handling patterns:</p>
|
||||
<ol>
|
||||
<li>Normal message handling:</li>
|
||||
</ol>
|
||||
<pre><code class="lang-csharp" name="Normal Messages">MessageHost.ReportMessage("Operation completed successfully.");
|
||||
MessageHost.ReportWarning("Please check your input.");
|
||||
<pre><code class="lang-csharp" name="Normal Messages">MessageUtil.ReportMessage("Operation completed successfully.");
|
||||
MessageUtil.ReportWarning("Please check your input.");
|
||||
</code></pre>
|
||||
<ol start="2">
|
||||
<li>Exception handling in synchronous code:</li>
|
||||
|
||||
Reference in New Issue
Block a user