Event and delegate
******in the form that generate the event
public delegate void ReportNameChangedHandler(ConfigureReportProperties reportProperties);
public event ReportNameChangedHandler ReportNameChangedEvent;
if (ReportNameChangedEvent != null)
{
SaveReportProperties();
ReportNameChangedEvent(ReportProperties);
}
*****in the form that get called by the event
ConfigureReport configureReport = new ConfigureReport(pnlWorkSheet);
configureReport.LoadReportProperties(ReportProperties);
configureReport.ReportNameChangedEvent += new ConfigureReport.ReportNameChangedHandler(ConfigureReport_ReportNameChangedEvent);
configureReport.Show();
void ConfigureReport_ReportNameChangedEvent(ConfigureReportProperties updatedReportProperties)
{
ReportProperties = updatedReportProperties;
}
Wednesday, April 28, 2010
Monday, April 5, 2010
Visual Studio Installer
Link that talk about Custom action
http://www.simple-talk.com/dotnet/visual-studio/visual-studio-setup---projects-and-custom-actions/
msi getproductstate
msi getProductInfo
msi installProduct
Transaction Install available in Window 7
msiqueryproductstate sample code
using system
http://www.simple-talk.com/dotnet/visual-studio/visual-studio-setup---projects-and-custom-actions/
msi getproductstate
msi getProductInfo
msi installProduct
Transaction Install available in Window 7
msiqueryproductstate sample code
using system
Subscribe to:
Posts (Atom)