Example #1
0
        private void tVfolder_DoubleClick(object sender, EventArgs e)
        {
            BatchForm batchForm = new BatchForm();

            MainForm._mainForm.batchForm    = batchForm;
            batchForm.mFolderName           = tVfolder.SelectedNode.FullPath;
            MainForm._mainForm.MaintextBox1 = FileOperate.inipath + "\\" + tVfolder.SelectedNode.FullPath;
            this.Hide();
            batchForm.ShowDialog();
        }
Example #2
0
        private void btnOK_Click(object sender, EventArgs e)
        {
            if (tVfolder.Nodes.Count == 0)
            {
                return;
            }
            BatchForm batchForm = new BatchForm();

            MainForm._mainForm.batchForm    = batchForm;
            batchForm.mFolderName           = tVfolder.SelectedNode.FullPath;
            MainForm._mainForm.MaintextBox1 = FileOperate.inipath + "\\" + tVfolder.SelectedNode.FullPath;
            this.Hide();
            batchForm.ShowDialog();
        }