public MainWindow()
        {
            InitializeComponent();
            App._naviTest = FrameTest.NavigationService;
            App._naviConf = FrameConf.NavigationService;
            App._naviHelp = FrameHelp.NavigationService;

            this.MouseLeftButtonDown += (sender, e) => this.DragMove();//ウィンドウ全体でドラッグ可能にする

            this.DataContext = State.VmMainWindow;

            GetInfo();

            //カレントディレクトリの取得
            State.CurrDir = Directory.GetCurrentDirectory();

            State.Target = State.TARGET.DEMO_01;
            General.ShowTargetWithoutAdr();

            InitMainForm();//メインフォーム初期
        }
Example #2
0
 private void Page_Unloaded(object sender, RoutedEventArgs e)
 {
     General.ShowTargetWithoutAdr();
 }