title: How to call custom method in the Process (WinForms)
body: <p>I want to call custom method of WinForm App using its process</p>
  
  <pre><code>Process process = Process.GetCurrentProcess();
  process.Test();
  </code></pre>
  
  <p>Where is </p>
  
  <pre><code>public partial class FormMain : Form
  {
      public void Test()
      {
        // Do something
      }
  }
  </code></pre>
  
  <p>Is it possible todo?</p>
  
  <p>Or let's say to call some method o fthe app if we now its process Id and so able to get the current process?</p>