예제 #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);
     }
 }
예제 #2
0
        private void btnAddFolder_Click(object sender, EventArgs e)
        {
            AddFolder addfolder = new AddFolder();

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

            addfolder.ShowDialog();
        }