how can I add a list of images in a class? [duplicate] Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!I'm getting the “missing a using directive or assembly reference” and no clue what's going wrongHow do I check if a list is empty?Finding the index of an item given a list containing it in PythonDifference between append vs. extend list methods in PythonHow do you split a list into evenly sized chunks?How to make a flat list out of list of listsHow do I get the number of elements in a list in Python?How do I concatenate two lists in Python?How can I count the occurrences of a list item?How to clone or copy a list?Why not inherit from List<T>?

How can I save and copy a screenhot at the same time?

Tips to organize LaTeX presentations for a semester

Caught masturbating at work

The test team as an enemy of development? And how can this be avoided?

If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?

Is CEO the "profession" with the most psychopaths?

Monty Hall Problem-Probability Paradox

What is the chair depicted in Cesare Maccari's 1889 painting "Cicerone denuncia Catilina"?

License to disallow distribution in closed source software, but allow exceptions made by owner?

Can an iPhone 7 be made to function as a NFC Tag?

Why is it faster to reheat something than it is to cook it?

AppleTVs create a chatty alternate WiFi network

Is it dangerous to install hacking tools on my private linux machine?

GDP with Intermediate Production

Was Kant an Intuitionist about mathematical objects?

A proverb that is used to imply that you have unexpectedly faced a big problem

"klopfte jemand" or "jemand klopfte"?

Random body shuffle every night—can we still function?

How to write capital alpha?

Delete free apps from library

what is the log of the PDF for a Normal Distribution?

The Nth Gryphon Number

Is there hard evidence that the grant peer review system performs significantly better than random?

Asymptotics question



how can I add a list of images in a class? [duplicate]



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!I'm getting the “missing a using directive or assembly reference” and no clue what's going wrongHow do I check if a list is empty?Finding the index of an item given a list containing it in PythonDifference between append vs. extend list methods in PythonHow do you split a list into evenly sized chunks?How to make a flat list out of list of listsHow do I get the number of elements in a list in Python?How do I concatenate two lists in Python?How can I count the occurrences of a list item?How to clone or copy a list?Why not inherit from List<T>?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








-1
















This question already has an answer here:



  • I'm getting the “missing a using directive or assembly reference” and no clue what's going wrong

    6 answers



ATTENTION: The class is in a my external DLL implemented in my project.
Inside my class library there is this class Annuncio
with a list inside.
The list must contain images, but my code gives me an error.



using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace BuyNowDLL

class Annuncio

public List<Image> Images1 = new List<Image>(); //Make me error (Image)




How can I fix it?



enter image description here










share|improve this question















marked as duplicate by Selvin, SᴇM, sujith karivelil c#
Users with the  c# badge can single-handedly close c# questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 22 at 12:04


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • What is the error message?

    – Bogdan Doicin
    Mar 22 at 11:55











  • How could we possibly answer this without knowing what the error is?

    – rory.ap
    Mar 22 at 11:57











  • Sorry, I'm new in. The errore is: the type or namespace name 'Image' was not found. Probably missing a directive using or assembly reference. @BogdanDoicin

    – jck91
    Mar 22 at 12:00


















-1
















This question already has an answer here:



  • I'm getting the “missing a using directive or assembly reference” and no clue what's going wrong

    6 answers



ATTENTION: The class is in a my external DLL implemented in my project.
Inside my class library there is this class Annuncio
with a list inside.
The list must contain images, but my code gives me an error.



using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace BuyNowDLL

class Annuncio

public List<Image> Images1 = new List<Image>(); //Make me error (Image)




How can I fix it?



enter image description here










share|improve this question















marked as duplicate by Selvin, SᴇM, sujith karivelil c#
Users with the  c# badge can single-handedly close c# questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 22 at 12:04


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • What is the error message?

    – Bogdan Doicin
    Mar 22 at 11:55











  • How could we possibly answer this without knowing what the error is?

    – rory.ap
    Mar 22 at 11:57











  • Sorry, I'm new in. The errore is: the type or namespace name 'Image' was not found. Probably missing a directive using or assembly reference. @BogdanDoicin

    – jck91
    Mar 22 at 12:00














-1












-1








-1









This question already has an answer here:



  • I'm getting the “missing a using directive or assembly reference” and no clue what's going wrong

    6 answers



ATTENTION: The class is in a my external DLL implemented in my project.
Inside my class library there is this class Annuncio
with a list inside.
The list must contain images, but my code gives me an error.



using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace BuyNowDLL

class Annuncio

public List<Image> Images1 = new List<Image>(); //Make me error (Image)




How can I fix it?



enter image description here










share|improve this question

















This question already has an answer here:



  • I'm getting the “missing a using directive or assembly reference” and no clue what's going wrong

    6 answers



ATTENTION: The class is in a my external DLL implemented in my project.
Inside my class library there is this class Annuncio
with a list inside.
The list must contain images, but my code gives me an error.



using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace BuyNowDLL

class Annuncio

public List<Image> Images1 = new List<Image>(); //Make me error (Image)




How can I fix it?



enter image description here





This question already has an answer here:



  • I'm getting the “missing a using directive or assembly reference” and no clue what's going wrong

    6 answers







c# image list






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 22 at 12:49







jck91

















asked Mar 22 at 11:52









jck91jck91

61




61




marked as duplicate by Selvin, SᴇM, sujith karivelil c#
Users with the  c# badge can single-handedly close c# questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 22 at 12:04


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by Selvin, SᴇM, sujith karivelil c#
Users with the  c# badge can single-handedly close c# questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 22 at 12:04


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • What is the error message?

    – Bogdan Doicin
    Mar 22 at 11:55











  • How could we possibly answer this without knowing what the error is?

    – rory.ap
    Mar 22 at 11:57











  • Sorry, I'm new in. The errore is: the type or namespace name 'Image' was not found. Probably missing a directive using or assembly reference. @BogdanDoicin

    – jck91
    Mar 22 at 12:00


















  • What is the error message?

    – Bogdan Doicin
    Mar 22 at 11:55











  • How could we possibly answer this without knowing what the error is?

    – rory.ap
    Mar 22 at 11:57











  • Sorry, I'm new in. The errore is: the type or namespace name 'Image' was not found. Probably missing a directive using or assembly reference. @BogdanDoicin

    – jck91
    Mar 22 at 12:00

















What is the error message?

– Bogdan Doicin
Mar 22 at 11:55





What is the error message?

– Bogdan Doicin
Mar 22 at 11:55













How could we possibly answer this without knowing what the error is?

– rory.ap
Mar 22 at 11:57





How could we possibly answer this without knowing what the error is?

– rory.ap
Mar 22 at 11:57













Sorry, I'm new in. The errore is: the type or namespace name 'Image' was not found. Probably missing a directive using or assembly reference. @BogdanDoicin

– jck91
Mar 22 at 12:00






Sorry, I'm new in. The errore is: the type or namespace name 'Image' was not found. Probably missing a directive using or assembly reference. @BogdanDoicin

– jck91
Mar 22 at 12:00













1 Answer
1






active

oldest

votes


















0














Your code does not have any errors, it is because you have not referenced the System.Drawing.dll



Right click on the project name in the solution explorer, and click on Add > Reference



then choose check System.Drawing in the list of Assemblies.



enter image description here



enter image description here






share|improve this answer























  • Sorry I haven't read that comment

    – sujith karivelil
    Mar 22 at 12:04











  • no problem. happens ;)

    – Ashkan Mobayen Khiabani
    Mar 22 at 12:05











  • Ok, but the class is inside my dll. How can I add references to it? @AshkanMobayenKhiabani

    – jck91
    Mar 22 at 12:10












  • You have imported the namespace (using System.Drawing;) just follow the step to add the reference to the dll.

    – Ashkan Mobayen Khiabani
    Mar 22 at 12:13











  • But the node References there isn't. Please can you look the image in my question @AshkanMobayenKhiabani

    – jck91
    Mar 22 at 12:50

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Your code does not have any errors, it is because you have not referenced the System.Drawing.dll



Right click on the project name in the solution explorer, and click on Add > Reference



then choose check System.Drawing in the list of Assemblies.



enter image description here



enter image description here






share|improve this answer























  • Sorry I haven't read that comment

    – sujith karivelil
    Mar 22 at 12:04











  • no problem. happens ;)

    – Ashkan Mobayen Khiabani
    Mar 22 at 12:05











  • Ok, but the class is inside my dll. How can I add references to it? @AshkanMobayenKhiabani

    – jck91
    Mar 22 at 12:10












  • You have imported the namespace (using System.Drawing;) just follow the step to add the reference to the dll.

    – Ashkan Mobayen Khiabani
    Mar 22 at 12:13











  • But the node References there isn't. Please can you look the image in my question @AshkanMobayenKhiabani

    – jck91
    Mar 22 at 12:50















0














Your code does not have any errors, it is because you have not referenced the System.Drawing.dll



Right click on the project name in the solution explorer, and click on Add > Reference



then choose check System.Drawing in the list of Assemblies.



enter image description here



enter image description here






share|improve this answer























  • Sorry I haven't read that comment

    – sujith karivelil
    Mar 22 at 12:04











  • no problem. happens ;)

    – Ashkan Mobayen Khiabani
    Mar 22 at 12:05











  • Ok, but the class is inside my dll. How can I add references to it? @AshkanMobayenKhiabani

    – jck91
    Mar 22 at 12:10












  • You have imported the namespace (using System.Drawing;) just follow the step to add the reference to the dll.

    – Ashkan Mobayen Khiabani
    Mar 22 at 12:13











  • But the node References there isn't. Please can you look the image in my question @AshkanMobayenKhiabani

    – jck91
    Mar 22 at 12:50













0












0








0







Your code does not have any errors, it is because you have not referenced the System.Drawing.dll



Right click on the project name in the solution explorer, and click on Add > Reference



then choose check System.Drawing in the list of Assemblies.



enter image description here



enter image description here






share|improve this answer













Your code does not have any errors, it is because you have not referenced the System.Drawing.dll



Right click on the project name in the solution explorer, and click on Add > Reference



then choose check System.Drawing in the list of Assemblies.



enter image description here



enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 22 at 11:58









Ashkan Mobayen KhiabaniAshkan Mobayen Khiabani

23.5k1868125




23.5k1868125












  • Sorry I haven't read that comment

    – sujith karivelil
    Mar 22 at 12:04











  • no problem. happens ;)

    – Ashkan Mobayen Khiabani
    Mar 22 at 12:05











  • Ok, but the class is inside my dll. How can I add references to it? @AshkanMobayenKhiabani

    – jck91
    Mar 22 at 12:10












  • You have imported the namespace (using System.Drawing;) just follow the step to add the reference to the dll.

    – Ashkan Mobayen Khiabani
    Mar 22 at 12:13











  • But the node References there isn't. Please can you look the image in my question @AshkanMobayenKhiabani

    – jck91
    Mar 22 at 12:50

















  • Sorry I haven't read that comment

    – sujith karivelil
    Mar 22 at 12:04











  • no problem. happens ;)

    – Ashkan Mobayen Khiabani
    Mar 22 at 12:05











  • Ok, but the class is inside my dll. How can I add references to it? @AshkanMobayenKhiabani

    – jck91
    Mar 22 at 12:10












  • You have imported the namespace (using System.Drawing;) just follow the step to add the reference to the dll.

    – Ashkan Mobayen Khiabani
    Mar 22 at 12:13











  • But the node References there isn't. Please can you look the image in my question @AshkanMobayenKhiabani

    – jck91
    Mar 22 at 12:50
















Sorry I haven't read that comment

– sujith karivelil
Mar 22 at 12:04





Sorry I haven't read that comment

– sujith karivelil
Mar 22 at 12:04













no problem. happens ;)

– Ashkan Mobayen Khiabani
Mar 22 at 12:05





no problem. happens ;)

– Ashkan Mobayen Khiabani
Mar 22 at 12:05













Ok, but the class is inside my dll. How can I add references to it? @AshkanMobayenKhiabani

– jck91
Mar 22 at 12:10






Ok, but the class is inside my dll. How can I add references to it? @AshkanMobayenKhiabani

– jck91
Mar 22 at 12:10














You have imported the namespace (using System.Drawing;) just follow the step to add the reference to the dll.

– Ashkan Mobayen Khiabani
Mar 22 at 12:13





You have imported the namespace (using System.Drawing;) just follow the step to add the reference to the dll.

– Ashkan Mobayen Khiabani
Mar 22 at 12:13













But the node References there isn't. Please can you look the image in my question @AshkanMobayenKhiabani

– jck91
Mar 22 at 12:50





But the node References there isn't. Please can you look the image in my question @AshkanMobayenKhiabani

– jck91
Mar 22 at 12:50





Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현