init
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IStatusAndProgressBarViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Search View.
|
||||
/// </summary>
|
||||
IBaseView View { get; set; }
|
||||
IBaseViewModel Parent { get; set; }
|
||||
string ProgressBarName { get; set; }
|
||||
object ContextSearchRegion { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Controls;
|
||||
using DTS.Common.Events;
|
||||
using Microsoft.Practices.ServiceLocation;
|
||||
using Microsoft.Practices.Prism.Events;
|
||||
|
||||
namespace DTS.Common.Controls
|
||||
{
|
||||
public partial class checkbox
|
||||
{
|
||||
public void ToolTipEventHandler(object sender, System.Windows.Controls.ToolTipEventArgs e)
|
||||
{
|
||||
e.Handled = true;
|
||||
|
||||
var eventAggregator = ServiceLocator.Current.GetInstance<IEventAggregator>();
|
||||
|
||||
eventAggregator.GetEvent<HelpTextEvent>().Publish(new HelpTextEventArg()
|
||||
{ Sender = sender, E = e });
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user