Пример #1
0
        private void Interface_Load(object sender, EventArgs e)
        {
            // Fill ProcessDataGrid

            _processTable.Columns.Add("Name", typeof(string));

            ProcessDataGrid.DataSource = _processTable;

            PopulateDataTable();

            // Sort the processes alphabetically

            ProcessDataGrid.Sort(ProcessDataGrid.Columns["Name"], ListSortDirection.Ascending);
        }
Пример #2
0
        private void Interface_Load(object sender, EventArgs e)
        {
            InitializeDataTable();

            // Set the datasource of the datagrid

            ProcessDataGrid.DataSource = _processTable;

            PopulateDataTable();

            // Sort the processes

            ProcessDataGrid.Sort(ProcessDataGrid.Columns["Name"], ListSortDirection.Ascending);

            // Create an instance of Injector

            _injector = new Injector(LoadLibraryALabel, ProcessHandleLabel, AllocateMemoryLabel, WriteMemoryLabel, CreateRemoteThreadLabel);
        }