mirror of
https://github.com/abdelkader/vCardEditor
synced 2025-12-12 08:27:19 +07:00
added some asset
This commit is contained in:
@@ -13,7 +13,7 @@ namespace vCardEditor.Repository
|
||||
{
|
||||
private static string ConfigFileName
|
||||
{
|
||||
get { return Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "config.xml"); }
|
||||
get { return Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "config.xml"); }
|
||||
}
|
||||
|
||||
private static ConfigRepository instance = null;
|
||||
@@ -33,7 +33,7 @@ namespace vCardEditor.Repository
|
||||
[XmlArrayItemAttribute("Folder")]
|
||||
public List<string> Paths;
|
||||
|
||||
private ConfigRepository() {}
|
||||
private ConfigRepository() { }
|
||||
|
||||
/// <summary>
|
||||
/// save config file
|
||||
@@ -79,4 +79,4 @@ namespace vCardEditor.Repository
|
||||
return obj;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
14
vCardEditor/View/MainForm.Designer.cs
generated
14
vCardEditor/View/MainForm.Designer.cs
generated
@@ -101,26 +101,29 @@
|
||||
//
|
||||
// miOpen
|
||||
//
|
||||
this.miOpen.Image = ((System.Drawing.Image)(resources.GetObject("miOpen.Image")));
|
||||
this.miOpen.ImageTransparentColor = System.Drawing.Color.Fuchsia;
|
||||
this.miOpen.Name = "miOpen";
|
||||
this.miOpen.Size = new System.Drawing.Size(110, 22);
|
||||
this.miOpen.Size = new System.Drawing.Size(152, 22);
|
||||
this.miOpen.Text = "&Open";
|
||||
this.miOpen.Click += new System.EventHandler(this.tbsOpen_Click);
|
||||
//
|
||||
// toolStripMenuItem1
|
||||
//
|
||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(107, 6);
|
||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(149, 6);
|
||||
//
|
||||
// recentFilesMenuItem
|
||||
//
|
||||
this.recentFilesMenuItem.Name = "recentFilesMenuItem";
|
||||
this.recentFilesMenuItem.Size = new System.Drawing.Size(110, 22);
|
||||
this.recentFilesMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.recentFilesMenuItem.Text = "Recent";
|
||||
//
|
||||
// miQuit
|
||||
//
|
||||
this.miQuit.Image = ((System.Drawing.Image)(resources.GetObject("miQuit.Image")));
|
||||
this.miQuit.Name = "miQuit";
|
||||
this.miQuit.Size = new System.Drawing.Size(110, 22);
|
||||
this.miQuit.Size = new System.Drawing.Size(152, 22);
|
||||
this.miQuit.Text = "&Quit";
|
||||
this.miQuit.Click += new System.EventHandler(this.miQuit_Click);
|
||||
//
|
||||
@@ -134,6 +137,8 @@
|
||||
//
|
||||
// miAbout
|
||||
//
|
||||
this.miAbout.Image = ((System.Drawing.Image)(resources.GetObject("miAbout.Image")));
|
||||
this.miAbout.ImageTransparentColor = System.Drawing.Color.Fuchsia;
|
||||
this.miAbout.Name = "miAbout";
|
||||
this.miAbout.Size = new System.Drawing.Size(107, 22);
|
||||
this.miAbout.Text = "&About";
|
||||
@@ -454,6 +459,7 @@
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.statusStrip1);
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
this.Name = "MainForm";
|
||||
this.Text = "vCard Editor";
|
||||
|
||||
@@ -300,7 +300,8 @@ namespace vCardEditor.View
|
||||
|
||||
public void UpdateMRUMenu(List<string> MRUList)
|
||||
{
|
||||
if (MRUList == null)
|
||||
//No need to go further if no menu entry to load!
|
||||
if (MRUList == null || MRUList.Count == 0)
|
||||
return;
|
||||
|
||||
recentFilesMenuItem.DropDownItems.Clear();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
BIN
vCardEditor/assests/Log Out.png
Normal file
BIN
vCardEditor/assests/Log Out.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 580 B |
@@ -52,7 +52,6 @@
|
||||
<Compile Include="Repository\ConfigRepository.cs" />
|
||||
<Compile Include="Repository\ContactRepository.cs" />
|
||||
<Compile Include="Repository\FileHandler.cs" />
|
||||
<Compile Include="Repository\IConfigDao.cs" />
|
||||
<Compile Include="Repository\IContactRepository.cs" />
|
||||
<Compile Include="Model\Contact.cs" />
|
||||
<Compile Include="Presenter\MainPresenter.cs" />
|
||||
|
||||
Reference in New Issue
Block a user