public static void ShowTree(FWConnection conn, FWFolder parentFolder) { FormTree frm = new FormTree(); frm.arcTreeView1.ParentFolder = parentFolder; frm.ckShowDocuments.Checked = frm.arcTreeView1.ShowDocuments; frm.ckShowReferences.Checked = frm.arcTreeView1.ShowReferences; frm.ckAllowDrag.Checked = frm.arcTreeView1.AllowDrag; frm.ckAllowDrop.Checked = frm.arcTreeView1.AllowDrop; frm.ckAllowOpenDocument.Checked = frm.arcTreeView1.AllowOpenDocument; frm.ShowDialog(); }
private void showArcTree_Click(object sender, EventArgs e) { FormTree.ShowTree(conn, conn.Content.GetFolder(edObjId.Text)); }