示例#1
0
 public Procedure_Chart(Visual_Flow_Form the_form, string name, int param_count)
 {
     this.initialize(the_form, name);
     Start = new Oval_Procedure(End, Visual_Flow_Form.flow_height, Visual_Flow_Form.flow_width, "Oval",
                                param_count);
     Start.Text  = "Start";
     Start.scale = form.scale;
     Start.Scale(form.scale);
     this.flow_panel.Invalidate();
     this.kind = Subchart_Kinds.Procedure;
     if (!Component.MONO)
     {
         this.Initialize_Ink();
     }
 }
示例#2
0
        public Procedure_Chart(Visual_Flow_Form the_form, string name, string[] incoming_param_names,
                               bool[] is_input, bool[] is_output)
        {
            this.initialize(the_form, name);

            Start = new Oval_Procedure(End, Visual_Flow_Form.flow_height, Visual_Flow_Form.flow_width, "Oval",
                                       incoming_param_names, is_input, is_output);
            Start.scale = form.scale;
            Start.Scale(form.scale);
            this.flow_panel.Invalidate();
            this.kind = Subchart_Kinds.Procedure;
            if (!Component.MONO)
            {
                this.Initialize_Ink();
            }
        }