Example #1
0
 private void AddAFolder_Click(object sender, EventArgs e)
 {
     try
     {
         AddFolder addfold = new AddFolder();
         addfold.currentFolderOptions = folderParents;
         addfold.tv     = treeView1;
         addfold.LenAcc = LENAccount;
         GeneralFunctions.ParentForm = treeView1.SelectedNode.Text;
         addfold.ShowDialog();
         if (!addfold.cancelled)
         {
             string selectedfolder             = addfold.folderName;
             string selectedfolderparent       = addfold.folderParentName;
             string getmaxOrder                = addfold.getmaxOrder;
             string gettotalorder              = addfold.getTotalOrder;
             string getAccountNumberFromFolder = addfold.getAccountNumber;
             AddFolder(selectedfolder, selectedfolderparent, getmaxOrder, gettotalorder, getAccountNumberFromFolder);
         }
     }
     catch (Exception ee)
     {
         MessageBox.Show(ee.Message);
     }
 }
Example #2
0
        private void btnAddFolder_Click(object sender, EventArgs e)
        {
            AddFolder addfolder = new AddFolder();

            addfolder.ShowDialog();
        }
Example #3
0
        private void addFolderToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddFolder addfolder = new AddFolder();

            addfolder.ShowDialog();
        }