コード例 #1
0
ファイル: FormTree.cs プロジェクト: ThomasEcherer/elo
        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();
        }
コード例 #2
0
 private void showArcTree_Click(object sender, EventArgs e)
 {
     FormTree.ShowTree(conn, conn.Content.GetFolder(edObjId.Text));
 }