示例#1
0
 public FrmUnRegist(TreeNode TNode, frmFileMain frmFileMain, string TreeNodeState_flg, TreeFactory treeFactoryTmp)
 {
     InitializeComponent();
     _TNode             = TNode;
     _frmFileMain       = frmFileMain;
     _TreeNodeState_flg = TreeNodeState_flg;
     treeFactory        = treeFactoryTmp;
 }
示例#2
0
 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;
 }
示例#3
0
 /// <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());
     }
 }
示例#4
0
 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();
 }