Пример #1
0
        public override void Loaded(DbItemRemoteLink itemRemoteLink)
        {
            var itemRdpSetting = DatabaseServices.GetRemoteSetting(itemRemoteLink) as DbItemSettingRdp;

            if (itemRdpSetting != null)
            {
                _remoteName = itemRemoteLink.Name;
                DataContext = itemRdpSetting;
                ItemSetting = itemRdpSetting;
                itemRdpSetting.PropertyChanged += PropertyChanged;
                PART_Utility.Loaded(itemRemoteLink);
            }
        }
Пример #2
0
 public SettingRdp()
 {
     InitializeComponent();
     DataContext = null;
     PART_Utility.AddDeskSize(CommonServices.DesktopSizes);
     if (CommonServices.OSVersion <= 6.1f)
     {
         PART_Recording.IsEnabled = false;                                  //win8以下  不能设置录音
     }
     AddUtilityButton(PART_Main, 15, 2, 1, 1);
     base.ResetButton_Click   += ResetButton_Click;
     base.DefaultButton_Click += DefaultButton_Click;
 }
Пример #3
0
 public override void UnLoaded()
 {
     PART_Utility.UnLoaded();
 }
Пример #4
0
 public override void Loaded(DbItemRemoteLink itemRemoteLink)
 {
     PART_Utility.Loaded(itemRemoteLink);
 }
Пример #5
0
 public override void UnLoaded()
 {
     PART_Utility.UnLoaded();
     ItemSetting.PropertyChanged -= PropertyChanged;
 }