⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linearray1.cs

📁 基于BP算法的贝叶斯网络参数学习
💻 CS
字号:
using System;
using System.Collections;
using System.Windows.Forms;
using System.Drawing;

namespace bs
{
	/// <summary>
	/// LineArray 的摘要说明。
	/// </summary>
	public class LineArray1:System.Collections.CollectionBase
	{
		private readonly Doc HostForm;
		public LineArray1(Doc host)
		{
			//
			// TODO: 在此处添加构造函数逻辑
			//
				HostForm = host;
		}
		public void AddNewLine(Point start,Point end,int wij)
		{
			
			Line1 line=new Line1(start,end,wij);
			// 将按钮添加到集合的内部列表。
			this.List.Add(line);
			HostForm.AddTheControl(line);
		
			// 将按钮添加到由 HostForm 字段 
			// 引用的窗体的控件集合中。
			//HostForm.Controls.Add(node);
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -