Esempio n. 1
0
        public MainForm()
        {
            InitializeComponent();

            config = ConfigManager.GetContext("MainForm");

            captureMgr = new Capture.Manager();

            tblMessages = dataSet.Tables["messages"];

            welcomeForm = new WelcomeForm ();
            debugForm = new DebugForm();
            injectForm = new InjectForm();
            swForm = new SoftwallForm();

            packetParser = new PacketParser(debugForm);
            packetParser.PacketDescriptionReceived += new PacketParser.PacketDescriptionReceivedHandler(packetParser_PacketDescriptionReceived);

            dumpDisplayMode = DisplayMode.HEX;

            findTypeComboBox.SelectedIndex = 0;

            ClearState();
            LoadSettings();
            ApplyFilters();

            Thread versionCheckThread = new Thread (CheckForNewerVersion);
            versionCheckThread.Start ();
        }
Esempio n. 2
0
        public ShareVisualizationForm(ConversationsForm convForm)
        {
            InitializeComponent();

            this.convForm = convForm;

            config = ConfigManager.GetContext("SubmitVisualizationForm");

            if (config.HasSetting("Name"))
                nameTextBox.Text = (string) config["Name"];

            UpdateControls();
        }
Esempio n. 3
0
        public static ConfigContext GetContext(string name)
        {
            ConfigContext ctx;

            if (contexts.ContainsKey(name))
            {
                ctx = contexts[name];
            }
            else
            {
                ctx = new ConfigContext(name);
                contexts[name] = ctx;
            }

            return ctx;
        }
Esempio n. 4
0
        public static ConfigContext GetContext(string name)
        {
            ConfigContext ctx;

            if (contexts.ContainsKey(name))
            {
                ctx = contexts[name];
            }
            else
            {
                ctx            = new ConfigContext(name);
                contexts[name] = ctx;
            }

            return(ctx);
        }
Esempio n. 5
0
        public MainForm()
        {
            InitializeComponent();

            config = ConfigManager.GetContext("MainForm");
            captureMgr = new Capture.Manager();

            colorPool = new ColorPool();

            //tblMessages = dataSet.Tables["messages"];

            debugForm = new DebugForm();
            swForm = new SoftwallForm();

            packetParser = new PacketParser(debugForm);
            packetParser.PacketDescriptionReceived += new PacketParser.PacketDescriptionReceivedHandler(packetParser_PacketDescriptionReceived);

            dumpDisplayMode = DisplayMode.HEX;

            findTypeComboBox.SelectedIndex = 0;

            ClearState();
            LoadSettings();
            ApplyFilters();
        }