Ejemplo n.º 1
0
    private void tv_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
    {
        //Discarded unreachable code: IL_0048, IL_006a, IL_006c, IL_007c, IL_009e
        int num2 = default(int);
        int num3 = default(int);

        try
        {
            int num = 1;
            if (!LikeOperator.LikeString(Declarer.startPath, "*Debug", Microsoft.VisualBasic.CompareMethod.Binary))
            {
                ProjectData.ClearProjectError();
                num2 = 1;
            }
            num = 3;
            if (Microsoft.VisualBasic.FileIO.FileSystem.FileExists(e.Node.Name))
            {
                num = 4;
                TFile.ExecFileFolder(tv.SelectedNode.Name);
            }
        }
        catch (Exception obj) when((obj is Exception && num2 != 0) & (num3 == 0))
        {
            ProjectData.SetProjectError((Exception)obj);
            /*Error near IL_009c: Could not find block for branch target IL_006c*/;
        }
        if (num3 != 0)
        {
            ProjectData.ClearProjectError();
        }
    }
Ejemplo n.º 2
0
    private void tlv_DoubleClick(object sender, EventArgs e)
    {
        //Discarded unreachable code: IL_0078, IL_00a6, IL_00a8, IL_00b8, IL_00da
        int num2 = default(int);
        int num3 = default(int);

        try
        {
            int num = 1;
            if (!LikeOperator.LikeString(Declarer.startPath, "*Debug", CompareMethod.Binary))
            {
                ProjectData.ClearProjectError();
                num2 = 1;
            }
            num = 3;
            if (!_doing)
            {
                num = 5;
                if (tlv.SelectedItems.Count > 0)
                {
                    num = 6;
                    if (Microsoft.VisualBasic.FileIO.FileSystem.FileExists(tlv.SelectedItems[0].Text))
                    {
                        num = 7;
                        TFile.ExecFileFolder(tlv.SelectedItems[0].Text);
                    }
                }
            }
        }
        catch (Exception obj) when((obj is Exception && num2 != 0) & (num3 == 0))
        {
            ProjectData.SetProjectError((Exception)obj);
            /*Error near IL_00d8: Could not find block for branch target IL_00a8*/;
        }
        if (num3 != 0)
        {
            ProjectData.ClearProjectError();
        }
    }