Example #1
0
            /// <summary>
            /// Block constructor, the most important place in the whole code: decodes what features are needed in a block.
            /// </summary>
            /// 
            public Debug_string(string input) : base(input, block_type.Input)
            {
                file = new DataProcessing.Input.File();
                output_io = new output_sockiet(this, info.Output_info);
                canvas.Children.Add(output_io.button);

            }
Example #2
0
            /// <summary>
            /// Block constructor, the most important place in the whole code: decodes what features are needed in a block.
            /// </summary>
            ///
            public Read_all_lines(string input) : base(input, block_type.Input)
            {
                File_button = Fabricator.Create_Button(info.File_info);
                canvas.Children.Add(File_button);
                File_button.Click += new RoutedEventHandler(File_button_click);

                file = new DataProcessing.Input.File();

                output_io = new output_sockiet(this, info.Output_info);
                canvas.Children.Add(output_io.button);
            }
Example #3
0
            /// <summary>
            /// Block constructor, the most important place in the whole code: decodes what features are needed in a block.
            /// </summary>
            ///
            public Debug_string(string input) : base(input, block_type.Input)
            {
                file            = new DataProcessing.Input.File();
                groupBox.Header = "Debug string " + " Component";

                output_io = new output_sockiet(this, info.Output_info);



                canvas.Children.Add(output_io.button);
            }
Example #4
0
 /// <summary>
 /// Block constructor, the most important place in the whole code: decodes what features are needed in a block.
 /// </summary>
 public ReadLines(string input) : base(input, block_type.Input)
 {
     file            = new DataProcessing.Input.File();
     groupBox.Header = "Read lines " + " Component";
 }