Exemplo n.º 1
0
        public configForm()
        {
            de4dot = new de4dotHandle("");
            de4dotDetect = de4dot.Verbose();
            InitializeComponent();
            int contextstatus = de4dot.Contextual(true);
            switch (contextstatus)
            {
                case de4dotHandle.CONTEXT_EXIST:
                    {
                        regShell.Checked = true;
                        break;
                    }
                case de4dotHandle.CONTEXT_REMOVED:
                    {
                        regShell.Checked = false;
                        break;
                    }
                case de4dotHandle.ERROR_OCCURED:
                    {
                        Environment.Exit(-1);
                        break;
                    }

            }
            if (de4dotDetect == de4dotHandle.de4dotNotFoundStr)
            {
                regShell.Enabled = false;
            }
        }
Exemplo n.º 2
0
        public configForm()
        {
            de4dot       = new de4dotHandle("");
            de4dotDetect = de4dot.Verbose();
            InitializeComponent();
            int contextstatus = de4dot.Contextual(true);

            switch (contextstatus)
            {
            case de4dotHandle.CONTEXT_EXIST:
            {
                regShell.Checked = true;
                break;
            }

            case de4dotHandle.CONTEXT_REMOVED:
            {
                regShell.Checked = false;
                break;
            }

            case de4dotHandle.ERROR_OCCURED:
            {
                Environment.Exit(-1);
                break;
            }
            }
            if (de4dotDetect == de4dotHandle.de4dotNotFoundStr)
            {
                regShell.Enabled = false;
            }
        }
Exemplo n.º 3
0
 public deobform(string fileName)
 {
     filePath = fileName;
     de4dot   = new de4dotHandle(filePath);
     InitializeComponent();
     if (!de4dot.de4dotExist)
     {
         outputbox.Text += de4dotHandle.de4dotNotFoundStr;
         deobbtn.Enabled = false;
     }
     else
     {
         outputbox.Text = "Status: " + de4dot.Verbose();
     }
 }
Exemplo n.º 4
0
        public deobform(string fileName)
        {
            filePath = fileName;
            de4dot = new de4dotHandle(filePath);
            InitializeComponent();
            if (!de4dot.de4dotExist)
            {
                outputbox.Text +=de4dotHandle.de4dotNotFoundStr;
                deobbtn.Enabled = false;
            }
            else
            {
                outputbox.Text = "Status: " +de4dot.Verbose();
            }

        }