Sicherung
This commit is contained in:
@@ -21,7 +21,8 @@
|
|||||||
<!-- Draws a circle with a blue interior. -->
|
<!-- Draws a circle with a blue interior. -->
|
||||||
<Ellipse Width="{Binding ElementName=cnvMain,
|
<Ellipse Width="{Binding ElementName=cnvMain,
|
||||||
Path=ActualWidth}"
|
Path=ActualWidth}"
|
||||||
Height="300"
|
Height="{Binding ElementName=cnvMain,
|
||||||
|
Path=ActualHeight}"
|
||||||
Fill="WhiteSmoke"
|
Fill="WhiteSmoke"
|
||||||
Canvas.Left="0"
|
Canvas.Left="0"
|
||||||
Canvas.Top="0">
|
Canvas.Top="0">
|
||||||
@@ -64,6 +65,21 @@
|
|||||||
</WrapPanel>
|
</WrapPanel>
|
||||||
</RadialMenu:RadialMenuItem>
|
</RadialMenu:RadialMenuItem>
|
||||||
|
|
||||||
|
<RadialMenu:RadialMenuItem Command="{Binding OpenRadialMenuApps}">
|
||||||
|
<WrapPanel Orientation="Vertical">
|
||||||
|
<Rectangle Width="30"
|
||||||
|
Height="30">
|
||||||
|
<Rectangle.Fill>
|
||||||
|
<ImageBrush ImageSource="../../Icons/Apps.png" />
|
||||||
|
</Rectangle.Fill>
|
||||||
|
</Rectangle>
|
||||||
|
<TextBlock FontSize="14"
|
||||||
|
TextAlignment="Center">
|
||||||
|
Apps
|
||||||
|
</TextBlock>
|
||||||
|
</WrapPanel>
|
||||||
|
</RadialMenu:RadialMenuItem>
|
||||||
|
|
||||||
<RadialMenu:RadialMenuItem Command="{Binding OpenRadialMenuTools}">
|
<RadialMenu:RadialMenuItem Command="{Binding OpenRadialMenuTools}">
|
||||||
<WrapPanel Orientation="Vertical">
|
<WrapPanel Orientation="Vertical">
|
||||||
<Rectangle Width="30"
|
<Rectangle Width="30"
|
||||||
@@ -157,21 +173,6 @@
|
|||||||
</WrapPanel>
|
</WrapPanel>
|
||||||
</RadialMenu:RadialMenuItem>
|
</RadialMenu:RadialMenuItem>
|
||||||
|
|
||||||
<RadialMenu:RadialMenuItem Command="{Binding OpenRadialMenuApps}">
|
|
||||||
<WrapPanel Orientation="Vertical">
|
|
||||||
<Rectangle Width="30"
|
|
||||||
Height="30">
|
|
||||||
<Rectangle.Fill>
|
|
||||||
<ImageBrush ImageSource="../../Icons/Apps.png" />
|
|
||||||
</Rectangle.Fill>
|
|
||||||
</Rectangle>
|
|
||||||
<TextBlock FontSize="14"
|
|
||||||
TextAlignment="Center">
|
|
||||||
Apps
|
|
||||||
</TextBlock>
|
|
||||||
</WrapPanel>
|
|
||||||
</RadialMenu:RadialMenuItem>
|
|
||||||
|
|
||||||
</RadialMenu:RadialMenu>
|
</RadialMenu:RadialMenu>
|
||||||
|
|
||||||
<RadialMenu:RadialMenu IsOpen="{Binding IsOpenEpl}">
|
<RadialMenu:RadialMenu IsOpen="{Binding IsOpenEpl}">
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ namespace FSI.BT.Tools
|
|||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
DataContext = this;
|
DataContext = this;
|
||||||
_isOpenHome = true;
|
_isOpenHome = true;
|
||||||
tbversion.Text = "v" + Assembly.GetExecutingAssembly().GetName().Version.Major + "." + Assembly.GetExecutingAssembly().GetName().Version.Minor + "b";
|
//tbversion.Text = "v" + Assembly.GetExecutingAssembly().GetName().Version.Major + "." + Assembly.GetExecutingAssembly().GetName().Version.Minor + "b";
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Home
|
#region Home
|
||||||
@@ -55,6 +55,7 @@ namespace FSI.BT.Tools
|
|||||||
IsOpenTools =
|
IsOpenTools =
|
||||||
IsOpenSie =
|
IsOpenSie =
|
||||||
IsOpenApps =
|
IsOpenApps =
|
||||||
|
IsOpenAppsVncRdp =
|
||||||
IsOpenLinks = false;
|
IsOpenLinks = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -290,6 +291,7 @@ namespace FSI.BT.Tools
|
|||||||
IsOpenSie =
|
IsOpenSie =
|
||||||
IsOpenLinks =
|
IsOpenLinks =
|
||||||
IsOpenApps =
|
IsOpenApps =
|
||||||
|
IsOpenAppsVncRdp =
|
||||||
IsOpenPlantLinks = false;
|
IsOpenPlantLinks = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,181 +0,0 @@
|
|||||||
//using FSI.Lib.Guis.Folder.Mgt.Model;
|
|
||||||
//using FSI.Lib.MVVM;
|
|
||||||
//using System;
|
|
||||||
//using System.Collections.Generic;
|
|
||||||
//using System.Collections.ObjectModel;
|
|
||||||
//using System.ComponentModel;
|
|
||||||
//using System.Diagnostics;
|
|
||||||
//using System.Linq;
|
|
||||||
//using System.Windows.Data;
|
|
||||||
//using System.Windows.Input;
|
|
||||||
//using System.IO;
|
|
||||||
|
|
||||||
//namespace FSI.Lib.Guis.Folder.Mgt.ViewModel
|
|
||||||
//{
|
|
||||||
// public class ViewModel : MVVM.ViewModelBase
|
|
||||||
// {
|
|
||||||
// readonly IDataProvider _dataProvider;
|
|
||||||
// private string _search;
|
|
||||||
// private ICollectionView _collView;
|
|
||||||
|
|
||||||
// public ICommand RefreshCommand => new DelegateCommand(RefreshData);
|
|
||||||
// private ICommand _cmdQuickSearch;
|
|
||||||
// private ICommand _cmdOpen;
|
|
||||||
// private ICommand _cmdCopyToClip;
|
|
||||||
|
|
||||||
// public ViewModel(IDataProvider dataProvider)
|
|
||||||
// {
|
|
||||||
// Datas = new ObservableCollection<Model.Model>();
|
|
||||||
// _dataProvider = dataProvider;
|
|
||||||
|
|
||||||
// _cmdQuickSearch = new RelayCommand<object>(ExecuteQuickSearch, CanExecuteQuickSearch);
|
|
||||||
// _cmdOpen = new RelayCommand<object>(ExecuteOpen, CanExecuteOpen);
|
|
||||||
// _cmdCopyToClip = new RelayCommand<object>(ExecuteCopyToClip, CanExecuteCopyToClip);
|
|
||||||
// }
|
|
||||||
|
|
||||||
// public ObservableCollection<Model.Model> Datas { get; }
|
|
||||||
// public ObservableCollection<Model.Model> FilteredData { get; set; }
|
|
||||||
|
|
||||||
// public Model.Model SeletctedData { get; set; }
|
|
||||||
|
|
||||||
// public IEnumerable<Model.IInterface> InputData { get; set; }
|
|
||||||
|
|
||||||
// public void Load()
|
|
||||||
// {
|
|
||||||
// var datas = _dataProvider.Load(InputData);
|
|
||||||
// Datas.Clear();
|
|
||||||
|
|
||||||
// if (datas != null)
|
|
||||||
// {
|
|
||||||
// foreach (Model.Model data in datas)
|
|
||||||
// {
|
|
||||||
// Datas.Add(data);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
// FilteredData = new ObservableCollection<Model.Model>(Datas);
|
|
||||||
// _collView = CollectionViewSource.GetDefaultView(FilteredData);
|
|
||||||
// }
|
|
||||||
|
|
||||||
// public string Search
|
|
||||||
// {
|
|
||||||
// get => _search;
|
|
||||||
// set
|
|
||||||
// {
|
|
||||||
// _search = value;
|
|
||||||
|
|
||||||
// _collView.Filter = e =>
|
|
||||||
// {
|
|
||||||
// var item = (Model.Model)e;
|
|
||||||
|
|
||||||
// return ((item.Plant?.StartsWith(_search, StringComparison.OrdinalIgnoreCase) ?? false)
|
|
||||||
// || (item.SubPlant?.StartsWith(_search, StringComparison.OrdinalIgnoreCase) ?? false)
|
|
||||||
//#if NET472
|
|
||||||
// || (item.Path?.Contains(_search) ?? false)
|
|
||||||
// || (item.DescriptionDtl?.Contains(_search) ?? false)
|
|
||||||
//#elif NET6_0
|
|
||||||
// || (item.Path?.Contains(_search, StringComparison.OrdinalIgnoreCase) ?? false)
|
|
||||||
// || (item.DescriptionDtl?.Contains(_search, StringComparison.OrdinalIgnoreCase) ?? false)
|
|
||||||
//#endif
|
|
||||||
// );
|
|
||||||
// };
|
|
||||||
|
|
||||||
// _collView.Refresh();
|
|
||||||
// FilteredData = new ObservableCollection<Model.Model>(_collView.OfType<Model.Model>().ToList());
|
|
||||||
// OnPropertyChanged();
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
// public void QuickSearch(string search)
|
|
||||||
// {
|
|
||||||
// Search = search + " ";
|
|
||||||
// }
|
|
||||||
|
|
||||||
// private void RefreshData(object obj)
|
|
||||||
// {
|
|
||||||
// Search = string.Empty;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// private bool CanExecuteQuickSearch(object obj)
|
|
||||||
// {
|
|
||||||
// return true;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// private void ExecuteQuickSearch(object obj)
|
|
||||||
// {
|
|
||||||
// QuickSearch(obj.ToString());
|
|
||||||
// }
|
|
||||||
|
|
||||||
// public ICommand CmdQuickSearch
|
|
||||||
// {
|
|
||||||
// get { return _cmdQuickSearch; }
|
|
||||||
// set => _cmdQuickSearch = value;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// private bool CanExecuteOpen(object obj)
|
|
||||||
// {
|
|
||||||
// if (Directory.Exists(SeletctedData.Path))
|
|
||||||
// return true;
|
|
||||||
// else
|
|
||||||
// return false;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// private void ExecuteOpen(object obj)
|
|
||||||
// {
|
|
||||||
// new Process
|
|
||||||
// {
|
|
||||||
// StartInfo = new ProcessStartInfo()
|
|
||||||
// {
|
|
||||||
// FileName = "explorer.exe",
|
|
||||||
// Arguments = SeletctedData.Path
|
|
||||||
// }
|
|
||||||
// }.Start();
|
|
||||||
// }
|
|
||||||
|
|
||||||
// public ICommand CmdOpen
|
|
||||||
// {
|
|
||||||
// get { return _cmdOpen; }
|
|
||||||
// set => _cmdOpen = value;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// private bool CanExecuteCopyToClip(object obj)
|
|
||||||
// {
|
|
||||||
// if (Directory.Exists(SeletctedData.Path))
|
|
||||||
// return true;
|
|
||||||
// else
|
|
||||||
// return false;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// private void ExecuteCopyToClip(object obj)
|
|
||||||
// {
|
|
||||||
// TextCopy.ClipboardService.SetText(SeletctedData.Path);
|
|
||||||
// }
|
|
||||||
|
|
||||||
// public ICommand CmdCopyToClip
|
|
||||||
// {
|
|
||||||
// get { return _cmdCopyToClip; }
|
|
||||||
// set => _cmdCopyToClip = value;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
// public class DataProvider : IDataProvider
|
|
||||||
// {
|
|
||||||
// public IEnumerable<Model.Model> Load(IEnumerable<IInterface> folders)
|
|
||||||
// {
|
|
||||||
// var newDatas = new ObservableCollection<Model.Model>();
|
|
||||||
|
|
||||||
// foreach (IInterface folder in folders)
|
|
||||||
// {
|
|
||||||
// Model.Model newData = new();
|
|
||||||
// newData.Plant = folder.Plant;
|
|
||||||
// newData.SubPlant = folder.SubPlant;
|
|
||||||
// newData.Name = folder.Name;
|
|
||||||
// newData.Description = folder.Description;
|
|
||||||
// newData.Path = folder.Path;
|
|
||||||
|
|
||||||
// newDatas.Add(newData);
|
|
||||||
// }
|
|
||||||
// return newDatas;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
@@ -1,10 +1,4 @@
|
|||||||
using System;
|
namespace FSI.Lib.Guis.IbaDirSync.Model
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace FSI.Lib.Guis.IbaDirSync.Model
|
|
||||||
{
|
{
|
||||||
public class Iba
|
public class Iba
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,11 +1,7 @@
|
|||||||
using FSI.Lib.Guis.IbaDirSync.Model;
|
using FSI.Lib.Guis.IbaDirSync.Model;
|
||||||
using FSI.Lib.MVVM;
|
using FSI.Lib.MVVM;
|
||||||
using RoboSharp;
|
using RoboSharp;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
|
|
||||||
namespace FSI.Lib.Guis.IbaDirSync.ViewModel
|
namespace FSI.Lib.Guis.IbaDirSync.ViewModel
|
||||||
|
|||||||
@@ -1,12 +1,9 @@
|
|||||||
using FSI.Lib.Guis.SetSizePosExWindow.Model;
|
using FSI.Lib.Guis.SetSizePosExWindow.Model;
|
||||||
using FSI.Lib.MVVM;
|
using FSI.Lib.MVVM;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Linq;
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
|
|||||||
Reference in New Issue
Block a user