コード例 #1
0
        private void cmFolderAsm_Click(object sender, EventArgs e)
        {
            try
            {
                string        path  = treeView1.SelectedNode.FullPath;
                DirectoryInfo di    = new DirectoryInfo(path);
                FileInfo[]    files = di.GetFiles("*.il", SearchOption.AllDirectories);

                frmAsm frm = new frmAsm(this, PathUtils.GetFullFileNames(files, path), path);
                frm.ShowDialog();

                TreeViewHandler.RefreshNode(treeView1.SelectedNode);
            }
            catch (Exception ex)
            {
                SimpleMessage.ShowException(ex);
            }
        }
コード例 #2
0
        private void cmAsm_Click(object sender, EventArgs e)
        {
            if (dgvData.SelectedRows.Count < 1)
            {
                SimpleMessage.ShowInfo("Please select IL file.");
                return;
            }

            try
            {
                frmAsm frm = new frmAsm(this, PathUtils.GetFullFileNames(dgvData.SelectedRows, treeView1.SelectedNode.FullPath), treeView1.SelectedNode.FullPath);
                frm.ShowDialog();

                TreeViewHandler.RefreshNode(treeView1.SelectedNode);
            }
            catch (Exception ex)
            {
                SimpleMessage.ShowException(ex);
            }
        }
コード例 #3
0
        private void cmAsm_Click(object sender, EventArgs e)
        {
            if (dgvData.SelectedRows.Count < 1)
            {
                SimpleMessage.ShowInfo("Please select IL file.");
                return;
            }

            try
            {
                frmAsm frm = new frmAsm(this, PathUtils.GetFullFileNames(dgvData.SelectedRows, treeView1.SelectedNode.FullPath), treeView1.SelectedNode.FullPath);
                frm.ShowDialog();

                TreeViewHandler.RefreshNode(treeView1.SelectedNode);
            }
            catch (Exception ex)
            {
                SimpleMessage.ShowException(ex);
            }
        }
コード例 #4
0
        private void cmFolderAsm_Click(object sender, EventArgs e)
        {
            try
            {
                string path = treeView1.SelectedNode.FullPath;
                DirectoryInfo di = new DirectoryInfo(path);
                FileInfo[] files = di.GetFiles("*.il", SearchOption.AllDirectories);

                frmAsm frm = new frmAsm(this, PathUtils.GetFullFileNames(files, path), path);
                frm.ShowDialog();

                TreeViewHandler.RefreshNode(treeView1.SelectedNode);
            }
            catch (Exception ex)
            {
                SimpleMessage.ShowException(ex);
            }
        }