TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
pallavi more
1.6k
167
5k
how to get canvas place object in txt file without using ser
Aug 3 2018 6:55 AM
#region SaveProject Command
private Command _saveProjectCommand;
public Command SaveProjectCommand
{
get { return _saveProjectCommand ?? (_saveProjectCommand = new Command(SaveProject)); }
}
private void SaveProject()
{
SaveFileDialog saveFileDialog1 = new SaveFileDialog();
saveFileDialog1.Filter = "XML File|*.xml";
saveFileDialog1.Title = "Save XML File";
saveFileDialog1.ShowDialog();
if (saveFileDialog1.FileName != "")
{
FileStream fs = (FileStream)saveFileDialog1.OpenFile();
new XmlSerializer(typeof(DiagramData)).Serialize(fs, dd);
fs.Close();
}
}
#endregion
m using this code but i want to do same without using serialization..will u please suggest how it is possible
Reply
Answers (
0
)
Loading spinner hiding
Images folder not loading