Пример #1
0
        /// <summary>
        ///     Create Collection
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void CreateMongoCollectionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //Advance CreateCollection
            var frm =
                new frmCreateCollection
            {
                strSvrPathWithTag = SystemManager.SelectObjectTag,
                treeNode          = trvsrvlst.SelectedNode
            };

            SystemManager.OpenForm(frm, true, true);
            if (frm.Result)
            {
                DisableAllOpr();
            }
        }
Пример #2
0
 /// <summary>
 /// Create Collection
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void CreateMongoCollectionToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ///Advance CreateCollection
     frmCreateCollection frm =
         new frmCreateCollection()
         {
             strSvrPathWithTag = SystemManager.SelectObjectTag,
             treeNode = trvsrvlst.SelectedNode
         };
     SystemManager.OpenForm(frm);
     if (frm.Result)
     {
         DisableAllOpr();
     }
 }