Skip to content

Commit

Permalink
Merge pull request #6 from Mijo-Software/mjohne-patch-1
Browse files Browse the repository at this point in the history
Add files via upload
  • Loading branch information
mjohne authored May 3, 2020
2 parents 7ea3f4f + 8619ec1 commit 2276656
Show file tree
Hide file tree
Showing 11 changed files with 3,047 additions and 751 deletions.
436 changes: 289 additions & 147 deletions EmojiLib/EmojiInfoForm.Designer.cs

Large diffs are not rendered by default.

199 changes: 198 additions & 1 deletion EmojiLib/EmojiInfoForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,29 @@ namespace EmojiLib
{
public partial class EmojiInfoForm : Form
{
public void SetTag(object tag)
{
Tag = tag;
}

public void SetCode(string code)
{
labelCodeDesc.Text = code;
}

public void SetShortName(string name)
{
labelDescription.Text = name;
labelShortNameDesc.Text = name;
}

public void SetGroup(string group)
{
labelGroupDesc.Text = group;
}

public void SetSubGroup(string subGroup)
{
labelSubGroupDesc.Text = subGroup;
}

public void SetAppleImageVersion(Image image)
Expand Down Expand Up @@ -65,5 +80,187 @@ private void EmojiInfoForm_Click(object sender, EventArgs e)
{
Close();
}

private void PictureBoxApple_MouseEnter(object sender, EventArgs e)
{
if (pictureBoxApple.Image != null)
{
labelAppleVersion.ForeColor = SystemColors.Highlight;
pictureBoxApple.Cursor = Cursors.Hand;
}
}

private void PictureBoxGoogle_MouseEnter(object sender, EventArgs e)
{
if (pictureBoxGoogle.Image != null)
{
labelGoogleVersion.ForeColor = SystemColors.Highlight;
pictureBoxGoogle.Cursor = Cursors.Hand;
}
}

private void PictureBoxFacebook_MouseEnter(object sender, EventArgs e)
{
if (pictureBoxFacebook.Image != null)
{
labelFacebookVersion.ForeColor = SystemColors.Highlight;
pictureBoxFacebook.Cursor = Cursors.Hand;
}
}

private void PictureBoxWindows_MouseEnter(object sender, EventArgs e)
{
if (pictureBoxWindows.Image != null)
{
labelWindowsVersion.ForeColor = SystemColors.Highlight;
pictureBoxWindows.Cursor = Cursors.Hand;
}
}

private void PictureBoxTwitter_MouseEnter(object sender, EventArgs e)
{
if (pictureBoxTwitter.Image != null)
{
labelTwitterVersion.ForeColor = SystemColors.Highlight;
pictureBoxTwitter.Cursor = Cursors.Hand;
}
}

private void PictureBoxJoyPixels_MouseEnter(object sender, EventArgs e)
{
if (pictureBoxJoyPixels.Image != null)
{
labelJoyPixelsVersion.ForeColor = SystemColors.Highlight;
pictureBoxJoyPixels.Cursor = Cursors.Hand;
}
}

private void PictureBoxSamsung_MouseEnter(object sender, EventArgs e)
{
if (pictureBoxSamsung.Image != null)
{
labelSamsungVersion.ForeColor = SystemColors.Highlight;
pictureBoxSamsung.Cursor = Cursors.Hand;
}
}

private void PictureBoxApple_MouseLeave(object sender, EventArgs e)
{
labelAppleVersion.ForeColor = SystemColors.ControlText;
pictureBoxApple.Cursor = Cursors.Default;
}

private void PictureBoxGoogle_MouseLeave(object sender, EventArgs e)
{
labelGoogleVersion.ForeColor = SystemColors.ControlText;
pictureBoxGoogle.Cursor = Cursors.Default;
}

private void PictureBoxFacebook_MouseLeave(object sender, EventArgs e)
{
labelFacebookVersion.ForeColor = SystemColors.ControlText;
pictureBoxFacebook.Cursor = Cursors.Default;
}

private void PictureBoxWindows_MouseLeave(object sender, EventArgs e)
{
labelWindowsVersion.ForeColor = SystemColors.ControlText;
pictureBoxWindows.Cursor = Cursors.Default;
}

private void PictureBoxTwitter_MouseLeave(object sender, EventArgs e)
{
labelTwitterVersion.ForeColor = SystemColors.ControlText;
pictureBoxTwitter.Cursor = Cursors.Default;
}

private void PictureBoxJoyPixels_MouseLeave(object sender, EventArgs e)
{
labelJoyPixelsVersion.ForeColor = SystemColors.ControlText;
pictureBoxJoyPixels.Cursor = Cursors.Default;
}

private void PictureBoxSamsung_MouseLeave(object sender, EventArgs e)
{
labelSamsungVersion.ForeColor = SystemColors.ControlText;
pictureBoxSamsung.Cursor = Cursors.Default;
}

private void PictureBoxApple_Click(object sender, EventArgs e)
{
if (pictureBoxApple.Image != null)
{
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
pictureBoxApple.Image.Save(saveFileDialog.FileName);
}
}
}

private void PictureBoxGoogle_Click(object sender, EventArgs e)
{
if (pictureBoxGoogle.Image != null)
{
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
pictureBoxGoogle.Image.Save(saveFileDialog.FileName);
}
}
}

private void PictureBoxFacebook_Click(object sender, EventArgs e)
{
if (pictureBoxFacebook.Image != null)
{
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
pictureBoxFacebook.Image.Save(saveFileDialog.FileName);
}
}
}

private void PictureBoxWindows_Click(object sender, EventArgs e)
{
if (pictureBoxWindows.Image != null)
{
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
pictureBoxWindows.Image.Save(saveFileDialog.FileName);
}
}
}

private void PictureBoxTwitter_Click(object sender, EventArgs e)
{
if (pictureBoxTwitter.Image != null)
{
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
pictureBoxTwitter.Image.Save(saveFileDialog.FileName);
}
}
}

private void PictureBoxJoyPixels_Click(object sender, EventArgs e)
{
if (pictureBoxJoyPixels.Image != null)
{
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
pictureBoxJoyPixels.Image.Save(saveFileDialog.FileName);
}
}
}

private void PictureBoxSamsung_Click(object sender, EventArgs e)
{
if (pictureBoxSamsung.Image != null)
{
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
pictureBoxSamsung.Image.Save(saveFileDialog.FileName);
}
}
}
}
}
6 changes: 6 additions & 0 deletions EmojiLib/EmojiInfoForm.resx
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,10 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="saveFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>49</value>
</metadata>
</root>
103 changes: 102 additions & 1 deletion EmojiLib/EmojiLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@
<Compile Include="EmojiInfoForm.Designer.cs">
<DependentUpon>EmojiInfoForm.cs</DependentUpon>
</Compile>
<Compile Include="FaceAffection.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>FaceAffection.resx</DependentUpon>
</Compile>
<Compile Include="FaceSmiling.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>FaceSmiling.resx</DependentUpon>
</Compile>
<Compile Include="MainForm.cs">
<SubType>Form</SubType>
</Compile>
Expand All @@ -88,6 +98,15 @@
<EmbeddedResource Include="EmojiInfoForm.resx">
<DependentUpon>EmojiInfoForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FaceAffection.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>FaceAffection.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="FaceSmiling.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>FaceSmiling.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
</EmbeddedResource>
Expand All @@ -113,6 +132,88 @@
</ItemGroup>
<ItemGroup>
<Content Include="emoji-lib.ico" />
<None Include="Resources\StarStruckTwitter.png" />
<None Include="Resources\StarStruckSamsung.png" />
<None Include="Resources\StarStruckJoyPixels.png" />
<None Include="Resources\StarStruckGoogle.png" />
<None Include="Resources\StarStruckFacebook.png" />
<None Include="Resources\StarStruckApple.png" />
<None Include="Resources\SmilingFaceWithTearJoyPixels.png" />
<None Include="Resources\SmilingFaceWithTearGoogle.png" />
<None Include="Resources\SmilingFaceWithHeartsWindows.png" />
<None Include="Resources\SmilingFaceWithHeartsTwitter.png" />
<None Include="Resources\SmilingFaceWithHeartsSamsung.png" />
<None Include="Resources\SmilingFaceWithHeartsJoyPixels.png" />
<None Include="Resources\SmilingFaceWithHeartsGoogle.png" />
<None Include="Resources\SmilingFaceWithHeartsFacebook.png" />
<None Include="Resources\SmilingFaceWithHeartsApple.png" />
<None Include="Resources\SmilingFaceWithHeartEyesWindows.png" />
<None Include="Resources\SmilingFaceWithHeartEyesTwitter.png" />
<None Include="Resources\SmilingFaceWithHeartEyesSamsung.png" />
<None Include="Resources\SmilingFaceWithHeartEyesJoyPixels.png" />
<None Include="Resources\SmilingFaceWithHeartEyesGoogle.png" />
<None Include="Resources\SmilingFaceWithHeartEyesFacebook.png" />
<None Include="Resources\SmilingFaceWithHeartEyesApple.png" />
<None Include="Resources\SmilingFaceWindows.png" />
<None Include="Resources\SmilingFaceTwitter.png" />
<None Include="Resources\SmilingFaceSamsung.png" />
<None Include="Resources\SmilingFaceJoyPixels.png" />
<None Include="Resources\SmilingFaceGoogle.png" />
<None Include="Resources\SmilingFaceFacebook.png" />
<None Include="Resources\SmilingFaceApple.png" />
<None Include="Resources\KissingFaceWithSmilingEyesWindows.png" />
<None Include="Resources\KissingFaceWithSmilingEyesTwitter.png" />
<None Include="Resources\KissingFaceWithSmilingEyesSamsung.png" />
<None Include="Resources\KissingFaceWithSmilingEyesJoyPixels.png" />
<None Include="Resources\KissingFaceWithSmilingEyesGoogle.png" />
<None Include="Resources\KissingFaceWithSmilingEyesFacebook.png" />
<None Include="Resources\KissingFaceWithSmilingEyesApple.png" />
<None Include="Resources\KissingFaceWithClosedEyesWindows.png" />
<None Include="Resources\KissingFaceWithClosedEyesTwitter.png" />
<None Include="Resources\KissingFaceWithClosedEyesSamsung.png" />
<None Include="Resources\KissingFaceWithClosedEyesJoyPixels.png" />
<None Include="Resources\KissingFaceWithClosedEyesGoogle.png" />
<None Include="Resources\KissingFaceWithClosedEyesFacebook.png" />
<None Include="Resources\KissingFaceWithClosedEyesApple.png" />
<None Include="Resources\KissingFaceWindows.png" />
<None Include="Resources\KissingFaceTwitter.png" />
<None Include="Resources\KissingFaceSamsung.png" />
<None Include="Resources\KissingFaceJoyPixels.png" />
<None Include="Resources\KissingFaceGoogle.png" />
<None Include="Resources\KissingFaceFacebook.png" />
<None Include="Resources\KissingFaceApple.png" />
<None Include="Resources\StarStruckWindows.png" />
<None Include="Resources\FaceBlowingAKissTwitter.png" />
<None Include="Resources\FaceBlowingAKissSamsung.png" />
<None Include="Resources\FaceBlowingAKissJoyPixels.png" />
<None Include="Resources\FaceBlowingAKissGoogle.png" />
<None Include="Resources\FaceBlowingAKissFacebook.png" />
<None Include="Resources\FaceBlowingAKissApple.png" />
<None Include="Resources\FaceBlowingAKissWindows.png" />
<None Include="Resources\480px-No_image_available.svg.png" />
<None Include="Resources\logo_640.png" />
<None Include="Resources\GrinningFaceWithSmilingEyesWindows.png" />
<None Include="Resources\GrinningFaceWithSmilingEyesTwitter.png" />
<None Include="Resources\GrinningFaceWithSmilingEyesSamsung.png" />
<None Include="Resources\GrinningFaceWithSmilingEyesJoyPixels.png" />
<None Include="Resources\GrinningFaceWithSmilingEyesGoogle.png" />
<None Include="Resources\GrinningFaceWithSmilingEyesFacebook.png" />
<None Include="Resources\GrinningFaceWithSmilingEyesApple.png" />
<None Include="Resources\GrinningFaceWithBigEyesWindows.png" />
<None Include="Resources\GrinningFaceWithBigEyesTwitter.png" />
<None Include="Resources\GrinningFaceWithBigEyesSamsung.png" />
<None Include="Resources\GrinningFaceWithBigEyesJoyPixels.png" />
<None Include="Resources\GrinningFaceWithBigEyesGoogle.png" />
<None Include="Resources\GrinningFaceWithBigEyesFacebook.png" />
<None Include="Resources\GrinningFaceWithBigEyesApple.png" />
<None Include="Resources\GrinningFaceWindows.png" />
<None Include="Resources\GrinningFaceTwitter.png" />
<None Include="Resources\GrinningFaceSamsung.png" />
<None Include="Resources\GrinningFaceJoyPixels.png" />
<None Include="Resources\GrinningFaceGoogle.png" />
<None Include="Resources\GrinningFaceFacebook.png" />
<None Include="Resources\GrinningFaceApple.png" />
<None Include="Resources\GrinningFace.png" />
<None Include="Resources\SlightlySmilingFaceSamsung.png" />
<None Include="Resources\WinkingFaceTwitter.png" />
<None Include="Resources\WinkingFaceSamsung.png" />
Expand Down Expand Up @@ -147,7 +248,6 @@
<None Include="Resources\SlightlySmilingFaceGoogle.png" />
<None Include="Resources\SlightlySmilingFaceFacebook.png" />
<None Include="Resources\SlightlySmilingFaceApple.png" />
<None Include="Resources\Samsung.png" />
<None Include="Resources\RollingOnTheFloorLaughingWindows.png" />
<None Include="Resources\RollingOnTheFloorLaughingTwitter.png" />
<None Include="Resources\RollingOnTheFloorLaughingSamsung.png" />
Expand Down Expand Up @@ -208,6 +308,7 @@
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
Loading

0 comments on commit 2276656

Please sign in to comment.