protected override void OnLoad(EventArgs e) { base.OnLoad(e); //we really don't want to show us, we just want to show the packager PackagerDialog dialog = new PackagerDialog(m_ProductName, m_ApplicationName); dialog.Send(); //now we want to exit Hide(); Application.Exit(); }
private void ShowPackagerDialogButton_Click(object sender, RoutedEventArgs e) { PackagerDialog ourDialog = new PackagerDialog(); ourDialog.Send(); //use all defaults. }