public FrmUnRegist(TreeNode TNode, frmFileMain frmFileMain, string TreeNodeState_flg, TreeFactory treeFactoryTmp) { InitializeComponent(); _TNode = TNode; _frmFileMain = frmFileMain; _TreeNodeState_flg = TreeNodeState_flg; treeFactory = treeFactoryTmp; }
public frmRegistSearch(TreeView t, FileStatus r, frmFileMain _parentForm, ITreeFactory Itree) { InitializeComponent(); this.txtSearchTitle._TextBox.TextChanged += txtSearchTitle_TextChanged; tree = t; treeEnum = r; ParentForm = _parentForm; treeFactory = Itree; }
/// <summary> /// 文件登记 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void tsmiProjectMaint_Click(object sender, EventArgs e) { try { frmFileMain Skin_DevExpress = new frmFileMain(this); Skin_DevExpress.Show(); this.Hide(); } catch (Exception ex) { TXMessageBoxExtensions.Info(ex.Message.ToString()); } }
public frmMainSearch(Form frm) { InitializeComponent(); this.txtSearchTitle.OnTextChanged += txtSearchTitle_TextChanged; if (frm.Name == "frmCellMain") { this._parentForm = (frmCellMain)frm; } else if (frm.Name == "frmFileMain") { this._parentFormEx = (frmFileMain)frm; } CheckText(); }