Click here to Skip to main content
15,890,973 members
Home / Discussions / C#
   

C#

 
AnswerRe: converting text to int Pin
PIEBALDconsult1-May-09 13:47
mvePIEBALDconsult1-May-09 13:47 
QuestionCustom code in a Dispose method Pin
Dan Neely1-May-09 8:34
Dan Neely1-May-09 8:34 
AnswerRe: Custom code in a Dispose method Pin
Henry Minute1-May-09 9:15
Henry Minute1-May-09 9:15 
QuestionHow to show picture from imagelist in original size Pin
Aljaz1111-May-09 7:28
Aljaz1111-May-09 7:28 
AnswerRe: How to show picture from imagelist in original size Pin
Jimmanuel1-May-09 8:33
Jimmanuel1-May-09 8:33 
GeneralRe: How to show picture from imagelist in original size Pin
Aljaz1111-May-09 10:40
Aljaz1111-May-09 10:40 
GeneralRe: How to show picture from imagelist in original size Pin
Jimmanuel1-May-09 11:16
Jimmanuel1-May-09 11:16 
GeneralRe: How to show picture from imagelist in original size Pin
Aljaz1111-May-09 11:34
Aljaz1111-May-09 11:34 
How shold this line look like:
foreach (System.Windows.Forms.ListViewItem eachItem in
            this.listView1.SelectedItems)


One more thing...why everytime i call function the last text in richbox is still in...and it is duplicating..why? The code is here:
private void podatki()
        {
            string prazno = "";
            rich.AppendText(prazno);
            
            int index = 0;
            if (this.listView1.SelectedItems.Count > 0)
                index = this.listView1.SelectedIndices[0];
            FileInfo fi = new FileInfo(poti[index]);
            Bitmap nova = new Bitmap(poti[index]);
            string dolzina;
            string visina;
            string ime;
            string format;
            string velikost;
            string datum;


            dolzina = nova.Width.ToString();
            visina = nova.Height.ToString();
            ime = fi.Name;
           
            datum = fi.CreationTime.ToLongTimeString();
            velikost = fi.Length.ToString();

            dolzina = "Širina: " + dolzina;
            visina = "Višina: " + visina;
            ime = "Ime: " + ime;
            velikost ="Velikost: "+ velikost + "Bytes";

            string skupaj = ime + "\n" + dolzina + "\n" + visina + "\n" + velikost + "\n";
            rich.AppendText(skupaj);
            
        }

GeneralRe: How to show picture from imagelist in original size Pin
Jimmanuel1-May-09 12:05
Jimmanuel1-May-09 12:05 
GeneralRe: How to show picture from imagelist in original size Pin
Aljaz1111-May-09 12:12
Aljaz1111-May-09 12:12 
GeneralRe: How to show picture from imagelist in original size Pin
Jimmanuel1-May-09 14:07
Jimmanuel1-May-09 14:07 
GeneralRe: How to show picture from imagelist in original size Pin
Aljaz1111-May-09 14:23
Aljaz1111-May-09 14:23 
GeneralRe: How to show picture from imagelist in original size Pin
Jimmanuel1-May-09 14:49
Jimmanuel1-May-09 14:49 
QuestionWhich Castring Strategy Is Better? Pin
BlitzPackage1-May-09 7:28
BlitzPackage1-May-09 7:28 
AnswerRe: Which Castring Strategy Is Better? Pin
MidwestLimey1-May-09 8:02
professionalMidwestLimey1-May-09 8:02 
AnswerRe: Which Castring Strategy Is Better? Pin
Pete O'Hanlon1-May-09 10:30
mvePete O'Hanlon1-May-09 10:30 
AnswerRe: Which Castring Strategy Is Better? Pin
PIEBALDconsult1-May-09 13:49
mvePIEBALDconsult1-May-09 13:49 
GeneralRe: Which Castring Strategy Is Better? Pin
BlitzPackage1-May-09 14:41
BlitzPackage1-May-09 14:41 
GeneralRe: Which Castring Strategy Is Better? Pin
PIEBALDconsult2-May-09 4:28
mvePIEBALDconsult2-May-09 4:28 
QuestionUnable to attach to process winservices C# Pin
mark_me1-May-09 6:57
mark_me1-May-09 6:57 
QuestionRe: Unable to attach to process winservices C# Pin
ladyarcher18-Jan-10 1:02
ladyarcher18-Jan-10 1:02 
Questionsftp programming in ftp Pin
T_Teef1-May-09 6:53
T_Teef1-May-09 6:53 
QuestionC# winservice, exe to source Pin
mark_me1-May-09 6:45
mark_me1-May-09 6:45 
AnswerRe: C# winservice, exe to source Pin
Jimmanuel1-May-09 7:52
Jimmanuel1-May-09 7:52 
QuestionRe: C# winservice, exe to source Pin
mark_me1-May-09 8:47
mark_me1-May-09 8:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.