listbox not visible in thread
-
i guys , i am running a threat which will scan for worm in given directories.. currently its scanning but it supposed to show the scanned files in the listbox.. but its not showing.. how can i make it to show on list box ya.. Below is my coding :-
#pragma once
#include "Form1.h"
#include "QUARANTINE.h"
#include "Scanner.h"using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data::SQLite;
using namespace System::Data;
using namespace System::Drawing;
using namespace System::Collections::Generic;
using namespace System::IO;
using namespace System::Threading;char status ='S';
namespace Enhan_GUI {
/// <summary> /// Summary for autoscan /// /// WARNING: If you change the name of this class, you will need to change the /// 'Resource File Name' property for the managed resource compiler tool /// associated with all .resx files this class depends on. Otherwise, /// the designers will not be able to interact properly with localized /// resources associated with this form. /// </summary> public ref class autoscan : public System::Windows::Forms::Form { public: autoscan(void) { InitializeComponent(); // //TODO: Add the constructor code here // } int Data; protected: /// <summary> /// Clean up any resources being used. /// </summary> ~autoscan() { if (components) { delete components; } } private: System::Windows::Forms::Button^ cmdClose; protected: private: System::Windows::Forms::Label^ label1; private: System::Windows::Forms::Button^ cmdPause; private: System::Windows::Forms::GroupBox^ gbxfunction; private: System::Windows::Forms::Button^ cmdStart; private: System::Windows::Forms::Label^ label2; private: System::Windows::Forms::Label^ label3; private: System::Windows::Forms::PictureBox^ pictureBox1; private: /// <summary> /// Required designer variable. /// </summary> System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
void InitializeComponent(void)
{
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentMode -
i guys , i am running a threat which will scan for worm in given directories.. currently its scanning but it supposed to show the scanned files in the listbox.. but its not showing.. how can i make it to show on list box ya.. Below is my coding :-
#pragma once
#include "Form1.h"
#include "QUARANTINE.h"
#include "Scanner.h"using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data::SQLite;
using namespace System::Data;
using namespace System::Drawing;
using namespace System::Collections::Generic;
using namespace System::IO;
using namespace System::Threading;char status ='S';
namespace Enhan_GUI {
/// <summary> /// Summary for autoscan /// /// WARNING: If you change the name of this class, you will need to change the /// 'Resource File Name' property for the managed resource compiler tool /// associated with all .resx files this class depends on. Otherwise, /// the designers will not be able to interact properly with localized /// resources associated with this form. /// </summary> public ref class autoscan : public System::Windows::Forms::Form { public: autoscan(void) { InitializeComponent(); // //TODO: Add the constructor code here // } int Data; protected: /// <summary> /// Clean up any resources being used. /// </summary> ~autoscan() { if (components) { delete components; } } private: System::Windows::Forms::Button^ cmdClose; protected: private: System::Windows::Forms::Label^ label1; private: System::Windows::Forms::Button^ cmdPause; private: System::Windows::Forms::GroupBox^ gbxfunction; private: System::Windows::Forms::Button^ cmdStart; private: System::Windows::Forms::Label^ label2; private: System::Windows::Forms::Label^ label3; private: System::Windows::Forms::PictureBox^ pictureBox1; private: /// <summary> /// Required designer variable. /// </summary> System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
void InitializeComponent(void)
{
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentMode