private System.Windows.Forms.TextBox tb_OutConnectCondition; //�����ڵ�Ĺ�ϵ���� #endregion Fields #region Constructors public flowAttribute(Node node,DrawFlowControl control) { // // Windows ���������֧��������� // InitializeComponent(); // // TODO: �� InitializeComponent ���ú�����κι��캯������ // this.node=node; this.control=control; this.arr_InFlowLineList=new ArrayList(); this.arr_OutFlowLineList=new ArrayList(); this.FormInterfaceInit(); this.FormContentInit(); this.BackgroundImage=new Bitmap(GetType(),"images.attribute.png"); }
public bool isAlpha=true; //图元是否支持半透明 #endregion #region 构造方法 public DrawObject(DrawFlowControl control) { this.control=control; init(); }
//ʵ��һ����������ͼ�ؼ� private void CreateTabPage(string PageName,bool isLoadDefault) { //ʵ��һ��ѡ�ҳ�� TabPage tabPage = new TabPage(PageName); tabPage.BackColor=Color.FromArgb(100,100,100); tabPage.ImageIndex=0; GDIDrawFlow.DrawFlowControl dfControl=new DrawFlowControl(); dfControl.Dock=DockStyle.Fill; tabPage.Controls.Add(dfControl); this.flatTabControl1.Controls.Add(tabPage); dfControl.FormRefrash(); this.flatTabControl1.SelectedIndex=this.flatTabControl1.TabCount-1; if(isLoadDefault) { this.GetCurrentFlowControl.cb_limit.Checked=true; selectFileName="Default.xml"; userOpenType="OpenDefault"; userOperate="Open"; } }