mirror of
https://github.com/DevExpress/netcore-winforms-demos.git
synced 2025-12-22 17:39:24 +00:00
#MailMerge - doesn't work at this time
This commit is contained in:
@@ -123,7 +123,7 @@ namespace DevExpress.DevAV {
|
||||
moduleControl.Parent = modulesContainer;
|
||||
navBar.SendToBack();
|
||||
modulesContainer.ResumeLayout();
|
||||
Text = string.Format("{1} - {0}", ViewModel.GetModuleCaption(ViewModel.SelectedModuleType), "DevAV");
|
||||
Text = string.Format("{1} - {0}", ViewModel.GetModuleCaption(ViewModel.SelectedModuleType), "DevAV (.Net Core 3.0)");
|
||||
IRibbonModule ribbonModuleControl = moduleControl as IRibbonModule;
|
||||
if(ribbonModuleControl != null) {
|
||||
Ribbon.MergeRibbon(ribbonModuleControl.Ribbon);
|
||||
|
||||
@@ -109,7 +109,7 @@ namespace DevExpress.DevAV.ViewModels {
|
||||
}
|
||||
[Command(UseCommandManager = false, CanExecuteMethodName = "CanPrintProfile")]
|
||||
public void MailMerge() {
|
||||
ShowDocument<EmployeeMailMergeViewModel>("MailMerge", null);
|
||||
//ShowDocument<EmployeeMailMergeViewModel>("MailMerge", null);
|
||||
}
|
||||
[Command]
|
||||
public void QuickLetter(EmployeeMailTemplate mailTemplate) {
|
||||
@@ -119,7 +119,7 @@ namespace DevExpress.DevAV.ViewModels {
|
||||
return CanQuickLetterCore(SelectedEntity, mailTemplate);
|
||||
}
|
||||
protected internal void QuickLetterCore(Employee employee, EmployeeMailTemplate mailTemplate) {
|
||||
ShowDocument<EmployeeMailMergeViewModel>("MailMerge", mailTemplate);
|
||||
//ShowDocument<EmployeeMailMergeViewModel>("MailMerge", mailTemplate);
|
||||
}
|
||||
protected internal bool CanQuickLetterCore(Employee employee, EmployeeMailTemplate mailTemplate) {
|
||||
return employee != null;
|
||||
|
||||
Reference in New Issue
Block a user