private void miDocuments_Click(object sender, EventArgs e) { try { using (WaitCursor wc = new WaitCursor()) { DocumentsForm form = new DocumentsForm(); form.ShowDialog(); } } catch (Exception ex) { Log.Exception(ex); } }
private void miOutgoing_Click(object sender, EventArgs e) { DocumentsForm.CreateDocument(DocumentTypeId.Outgoing); }