-
-
Save thegoldenmule/04d6ed72e14cff8133e4 to your computer and use it in GitHub Desktop.
using System; | |
using System.Collections.Generic; | |
using Microsoft.Office.Interop.Outlook; | |
using Office = Microsoft.Office.Core; | |
namespace RandomSignature | |
{ | |
public partial class ThisAddIn | |
{ | |
Inspectors inspectors; | |
private static readonly string[] _TitleModifiers = | |
{ | |
"Senior", | |
"Chief", | |
"Lead", | |
"Principal", | |
"Architect", | |
"Master", | |
"Magical", | |
"Resident" | |
}; | |
private static readonly string[] _Nouns = | |
{ | |
"Code", | |
"Bit", | |
"Pixel", | |
"Vector", | |
"Differential", | |
"One-form", | |
"Matrix", | |
"Tensor", | |
"Binary", | |
"Octal", | |
"Hexidecimal", | |
"Refactor", | |
"Engine", | |
"n00b", | |
"Fun", | |
"Shader", | |
"Automation", | |
"Automaton", | |
"Machine Learning", | |
"Keyboard", | |
"Sub-System", | |
"Super-System", | |
"Mainframe", | |
"Super-Cluster", | |
"Beowulf Cluster" | |
}; | |
private static readonly string[] _Titles = | |
{ | |
"Rockstar", | |
"Pusher", | |
"Wizard", | |
"Evangelist", | |
"Guru", | |
"Slayer", | |
"Pwner", | |
"Architecter", | |
"Remodeler", | |
"Refactorer", | |
"King and Tyrant", | |
"Brogrammer", | |
"Fellow", | |
"Analyzer", | |
"Scientist", | |
"Hound", | |
"Specialist", | |
"Fabricator" | |
}; | |
private void ThisAddIn_Startup(object sender, EventArgs e) | |
{ | |
inspectors = Application.Inspectors; | |
inspectors.NewInspector += Inspectors_NewInspector; | |
} | |
private void ThisAddIn_Shutdown(object sender, EventArgs e) | |
{ | |
} | |
private void Inspectors_NewInspector(Inspector Inspector) | |
{ | |
MailItem mailItem = Inspector.CurrentItem as MailItem; | |
if (mailItem != null) | |
{ | |
if (mailItem.EntryID == null) | |
{ | |
mailItem.Body = string.Format(@" | |
{0} | |
// AUTO-GENERATED TITLE, DO NOT EDIT | |
{1}", | |
"Benjamin,",//Properties.Settings.Default.Username, | |
GenerateSignature()); | |
} | |
} | |
} | |
private static string GenerateSignature() | |
{ | |
var signaturePieces = new List<string>(); | |
var random = new Random(); | |
signaturePieces.Add(_TitleModifiers[random.Next(0, _TitleModifiers.Length - 1)]); | |
signaturePieces.Add(_Nouns[random.Next(0, _Nouns.Length - 1)]); | |
signaturePieces.Add(_Titles[random.Next(0, _Titles.Length - 1)]); | |
return string.Join(" ", signaturePieces); | |
} | |
#region VSTO generated code | |
/// <summary> | |
/// Required method for Designer support - do not modify | |
/// the contents of this method with the code editor. | |
/// </summary> | |
private void InternalStartup() | |
{ | |
Startup += ThisAddIn_Startup; | |
Shutdown += ThisAddIn_Shutdown; | |
} | |
#endregion | |
} | |
} |
Good afternoon. Are you bored and don't know which Indian casino is the best place to have fun? I advise you to visit the Dafabet casino review at topcasinosites.in/dafabet-casino. By visiting this resource, you will get a lot of interesting and useful information that best describes all the gaming aspects of this casino. After analysing the review, you will be able to make the right decision about starting the game.
Joo Casino Australia offers a top-notch online gaming experience. Logging in is quick and hassle-free, and the site is very user-friendly. There’s a great selection of games, including slots, table games, and live dealer options, keeping the experience fresh and exciting. The bonuses and promotions are generous, which adds to the enjoyment. I also feel safe playing here, thanks to their strong security measures. The customer support team is responsive and helpful, making sure any issues are quickly resolved. Overall, Joo Casino Australia provides a reliable and entertaining gaming environment
As a single dad, finding some me-time can be tough, but ak8 casino https://ak8aud.casino/ has been a great escape. The straightforward login and fast verification process let me dive into the games without any hassle. The popular pokies and bonuses add extra excitement to my gaming sessions. I highly recommend this casino to anyone in Australia needing a fun and easy way to relax.