Exemple #1
0
 private void OnClickDeleteTable(object sender, System.EventArgs e)
 {
     if (DialogResult.Yes == MessageBox.Show("确定要删除这个数据表吗?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Information))
     {
         Lassalle.Flow.Node node = addFlow_Tables.PointedItem as Lassalle.Flow.Node;
         node.Remove();
     }
 }
        private void Button1_Click(object sender, EventArgs e)
        {
            Lassalle.Flow.Node n1 = this.addFlow1.Nodes.Add(10, 10, 40, 40, "aaa");
            Lassalle.Flow.Node n2 = this.addFlow1.Nodes.Add(60, 60, 40, 40, "bbb");

            //Lassalle.Flow.Link l = new Lassalle.Flow.Link()

            Lassalle.Flow.Link l = n1.Links.Add(n2, "lll");
            //            l.MaxPointsCount = 3;

            //n1.Shape = Lassalle.Flow.Shape.
        }