Click here to Skip to main content
15,927,593 members
Home / Discussions / C#
   

C#

 
QuestionStart Outlook Mail Message w/Attachments Pin
J$24-Sep-08 6:48
J$24-Sep-08 6:48 
AnswerRe: Start Outlook Mail Message w/Attachments Pin
J$24-Sep-08 8:27
J$24-Sep-08 8:27 
QuestionXml Serialization Pin
CodingYoshi24-Sep-08 6:03
CodingYoshi24-Sep-08 6:03 
AnswerRe: Xml Serialization Pin
Le centriste24-Sep-08 6:25
Le centriste24-Sep-08 6:25 
GeneralRe: Xml Serialization Pin
CodingYoshi24-Sep-08 7:50
CodingYoshi24-Sep-08 7:50 
AnswerRe: Xml Serialization [modified] Pin
DaveyM6924-Sep-08 7:30
professionalDaveyM6924-Sep-08 7:30 
GeneralRe: Xml Serialization Pin
CodingYoshi24-Sep-08 7:48
CodingYoshi24-Sep-08 7:48 
GeneralRe: Xml Serialization Pin
DaveyM6924-Sep-08 8:01
professionalDaveyM6924-Sep-08 8:01 
GeneralRe: Xml Serialization Pin
Mark Salsbery24-Sep-08 8:05
Mark Salsbery24-Sep-08 8:05 
AnswerRe: Xml Serialization Pin
PIEBALDconsult24-Sep-08 17:23
mvePIEBALDconsult24-Sep-08 17:23 
Questionhow can i save the images,circles,rectangle,lines or etc together.. Pin
maifs24-Sep-08 4:20
maifs24-Sep-08 4:20 
AnswerRe: how can i save the images,circles,rectangle,lines or etc together.. Pin
Wes Aday24-Sep-08 4:40
professionalWes Aday24-Sep-08 4:40 
GeneralRe: how can i save the images,circles,rectangle,lines Pin
maifs24-Sep-08 5:05
maifs24-Sep-08 5:05 
GeneralRe: how can i save the images,circles,rectangle,lines Pin
Wes Aday24-Sep-08 5:20
professionalWes Aday24-Sep-08 5:20 
GeneralRe: how can i save the images,circles,rectangle,lines Pin
maifs24-Sep-08 6:23
maifs24-Sep-08 6:23 
AnswerRe: how can i save the images,circles,rectangle,lines or etc together.. Pin
Pedram Behroozi24-Sep-08 6:12
Pedram Behroozi24-Sep-08 6:12 
AnswerRe: how can i save the images,circles,rectangle,lines or etc together.. Pin
oobimoo24-Sep-08 6:16
oobimoo24-Sep-08 6:16 
AnswerRe: how can i save the images,circles,rectangle,lines or etc together.. Pin
Pete O'Hanlon24-Sep-08 9:23
mvePete O'Hanlon24-Sep-08 9:23 
The normal mechanism for performing this is to make each image item an object in its own right, possibly inheriting from a common base class, and then each item is responsible for writing the information to the serialization stream under the control of some form of "canvas". Typically, your base class might look like this:
public abstract class ImageBase
{
  public int X { get; set; }
  public int Y { get; set; }
  public int Width { get; set; }
  public int Height { get; set; }
  // More properties

  public virtual ImageBase Save()
  {
  }

  public virtual void Load(/* some form of stream */ item)
  {
    // Rehydrate the object from the stream.
  }
}


Deja View - the feeling that you've seen this post before.

My blog | My articles | MoXAML PowerToys



Questiontext split up! Pin
nesfrank24-Sep-08 3:56
nesfrank24-Sep-08 3:56 
AnswerRe: text split up! Pin
Ennis Ray Lynch, Jr.24-Sep-08 4:42
Ennis Ray Lynch, Jr.24-Sep-08 4:42 
AnswerRe: text split up! Pin
Guffa24-Sep-08 6:23
Guffa24-Sep-08 6:23 
GeneralRe: text split up! Pin
nesfrank24-Sep-08 7:11
nesfrank24-Sep-08 7:11 
AnswerRe: text split up! Pin
Guffa24-Sep-08 8:10
Guffa24-Sep-08 8:10 
QuestionUnion on C# Pin
kk.tvm24-Sep-08 2:35
kk.tvm24-Sep-08 2:35 
AnswerRe: Union on C# Pin
Jimmanuel24-Sep-08 3:01
Jimmanuel24-Sep-08 3:01 

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.