private void PatchControl_Closing(object sender, CancelEventArgs e) { LayoutDocument ld = (LayoutDocument)sender; PatchControl mp = (PatchControl)ld.Content; mp.Dispose(); }
static void Main(string[] args) { PatchControl.ExportToC(); }