This will give you an idea, you'll still need to add the handler for the button click.
C#
using System;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Windows.Forms;
using Epicor.Mfg.BO;
using Epicor.Mfg.UI;
using Epicor.Mfg.UI.Adapters;
using Epicor.Mfg.UI.Customization;
using Epicor.Mfg.UI.ExtendedProps;
using Epicor.Mfg.UI.FormFunctions;
using Epicor.Mfg.UI.FrameWork;
using Epicor.Mfg.UI.Searches;
using Epicor.Mfg.Core;
public class Script
{
// ** Wizard Insert Location - Do Not Remove 'Begin/End Wizard Added Module Level Variables' Comments! **
// Begin Wizard Added Module Level Variables **
// End Wizard Added Module Level Variables **
// Add Custom Module Level Variables Here **
private string user;
private string dte;
public void InitializeCustomCode()
{
// ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Variable Initialization' lines **
// Begin Wizard Added Variable Initialization
// End Wizard Added Variable Initialization
// Begin Wizard Added Custom Method Calls
// End Wizard Added Custom Method Calls
user = ((Session)oTrans.Session).UserName;
dte = DateTime.Now.Date.ToString();
}
public void DestroyCustomCode()
{
// ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Object Disposal' lines **
// Begin Wizard Added Object Disposal
// End Wizard Added Object Disposal
// Begin Custom Code Disposal
user = null;
dte = null;
// End Custom Code Disposal
}
}
From: Kimberley White <faepigrl@...>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Sent: Thursday, March 27, 2014 11:33 AM
Subject: Re: [Vantage] Add Customized Button
#ygrps-yiv-1279022158yiv8710106000 .ygrps-yiv-1279022158yiv8710106000ygrp-photo-title{
clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000ygrp-photo{
background-position:center;background-repeat:no-repeat;background-color:white;border:1px solid black;height:62px;width:62px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000photo-title
a,
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000photo-title a:active,
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000photo-title a:hover,
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000photo-title a:visited {
text-decoration:none;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000attach-table div.ygrps-yiv-1279022158yiv8710106000attach-row {
clear:both;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000attach-table div.ygrps-yiv-1279022158yiv8710106000attach-row div {
float:left;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 p {
clear:both;padding:15px 0 3px 0;overflow:hidden;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000ygrp-file {
width:30px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000attach-table div.ygrps-yiv-1279022158yiv8710106000attach-row div div a {
text-decoration:none;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000attach-table div.ygrps-yiv-1279022158yiv8710106000attach-row div div span {
font-weight:normal;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000ygrp-file-title {
font-weight:bold;}
#ygrps-yiv-1279022158
<div id="ygrps-yiv-1279022158yiv8710106000ygrp-text">
<div>
Sent: Thursday, March 27, 2014 10:18 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Add Customized Button
We are using Epicor 9.05.702A
</div>
<div class="ygrps-yiv-1279022158yiv8710106000yqt9051011076" id="ygrps-yiv-1279022158yiv8710106000yqt42622"><div style="height:0px;color:rgb(255, 255, 255);"></div></div>
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-mkp hr {
border:1px solid #d8d8d8;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-mkp #ygrps-yiv-1279022158yiv8710106000hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-mkp #ygrps-yiv-1279022158yiv8710106000ads {
margin-bottom:10px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-mkp .ygrps-yiv-1279022158yiv8710106000ad {
padding:0 0;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-mkp .ygrps-yiv-1279022158yiv8710106000ad p {
margin:0;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-mkp .ygrps-yiv-1279022158yiv8710106000ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-sponsor #ygrps-yiv-1279022158yiv8710106000ygrp-lc {
font-family:Arial;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-sponsor #ygrps-yiv-1279022158yiv8710106000ygrp-lc #ygrps-yiv-1279022158yiv8710106000hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-sponsor #ygrps-yiv-1279022158yiv8710106000ygrp-lc .ygrps-yiv-1279022158yiv8710106000ad {
margin-bottom:10px;padding:0 0;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000actions {
font-family:Verdana;font-size:11px;padding:10px 0;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000activity span {
font-weight:700;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000activity span:first-child {
text-transform:uppercase;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000activity span a {
color:#5085b6;text-decoration:none;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000activity span span {
color:#ff7900;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000activity span .ygrps-yiv-1279022158yiv8710106000underline {
text-decoration:underline;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 .ygrps-yiv-1279022158yiv8710106000attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 .ygrps-yiv-1279022158yiv8710106000attach div a {
text-decoration:none;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 .ygrps-yiv-1279022158yiv8710106000attach img {
border:none;padding-right:5px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 .ygrps-yiv-1279022158yiv8710106000attach label {
display:block;margin-bottom:5px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 .ygrps-yiv-1279022158yiv8710106000attach label a {
text-decoration:none;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 blockquote {
margin:0 0 0 4px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 .ygrps-yiv-1279022158yiv8710106000bold {
font-family:Arial;font-size:13px;font-weight:700;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 .ygrps-yiv-1279022158yiv8710106000bold a {
text-decoration:none;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 dd.ygrps-yiv-1279022158yiv8710106000last p a {
font-family:Verdana;font-weight:700;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 dd.ygrps-yiv-1279022158yiv8710106000last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 dd.ygrps-yiv-1279022158yiv8710106000last p span.ygrps-yiv-1279022158yiv8710106000yshortcuts {
margin-right:0;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000attach-table div div a {
text-decoration:none;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000attach-table {
width:400px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000file-title a, #ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000file-title a:active, #ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000file-title a:hover, #ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000file-title a:visited {
text-decoration:none;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000photo-title a, #ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000photo-title a:active, #ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000photo-title a:hover, #ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div.ygrps-yiv-1279022158yiv8710106000photo-title a:visited {
text-decoration:none;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 div#ygrps-yiv-1279022158yiv8710106000ygrp-mlmsg #ygrps-yiv-1279022158yiv8710106000ygrp-msg p a span.ygrps-yiv-1279022158yiv8710106000yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 .ygrps-yiv-1279022158yiv8710106000green {
color:#628c2a;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 .ygrps-yiv-1279022158yiv8710106000MsoNormal {
margin:0 0 0 0;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 o {
font-size:0;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000photos div {
float:left;width:72px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000photos div div {
border:1px solid #666666;height:62px;overflow:hidden;width:62px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000reco-category {
font-size:77%;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000reco-desc {
font-size:77%;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 .ygrps-yiv-1279022158yiv8710106000replbq {
margin:4px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-mlmsg table {
font-size:inherit;font:100%;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-mlmsg select, #ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 input, #ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-mlmsg pre, #ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 code {
font:115% monospace;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-mlmsg * {
line-height:1.22em;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-mlmsg #ygrps-yiv-1279022158yiv8710106000logo {
padding-bottom:10px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-msg p a {
font-family:Verdana;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-msg p#ygrps-yiv-1279022158yiv8710106000attach-count span {
color:#1E66AE;font-weight:700;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-reco #ygrps-yiv-1279022158yiv8710106000reco-head {
color:#ff7900;font-weight:700;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-reco {
margin-bottom:20px;padding:0px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-sponsor #ygrps-yiv-1279022158yiv8710106000ov li a {
font-size:130%;text-decoration:none;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-sponsor #ygrps-yiv-1279022158yiv8710106000ov li {
font-size:77%;list-style-type:square;padding:6px 0;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-sponsor #ygrps-yiv-1279022158yiv8710106000ov ul {
margin:0;padding:0 0 0 8px;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-text {
font-family:Georgia;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-text p {
margin:0 0 1em 0;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-text tt {
font-size:120%;}
#ygrps-yiv-1279022158 #ygrps-yiv-1279022158yiv8710106000 #ygrps-yiv-1279022158yiv8710106000ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-1279022158