Exemplo n.º 1
0
        private void Window_MouseRightButtonUp(object sender, MouseButtonEventArgs e)
        {
            ConfigWindow window = new ConfigWindow();

            try
            {
                window.ShowDialog();
            }
            catch (NullReferenceException ex) { return; }

            //設定の変更
            DataBanker banker = DataBanker.GetInstance;

            //×ボタンで閉じられたとき
            if (banker.Keys.Count == 0)
            {
                return;
            }

            if ((bool)banker["IsApply"])
            {
                DrawImage();
                timer.Start();
            }

            this.img_main.Source = null;
        }
Exemplo n.º 2
0
        public MainWindow()
        {
            InitializeComponent();

            banker = DataBanker.GetInstance;

            timer = new DispatcherTimer();
            timer.Interval = new TimeSpan(0, 0, 1);
            timer.Tick += new EventHandler(dispatcherTimer_Tick);
        }
Exemplo n.º 3
0
        public MainWindow()
        {
            InitializeComponent();

            banker = DataBanker.GetInstance;

            timer          = new DispatcherTimer();
            timer.Interval = new TimeSpan(0, 0, 1);
            timer.Tick    += new EventHandler(dispatcherTimer_Tick);
        }
Exemplo n.º 4
0
        public ConfigWindow()
        {
            InitializeComponent();

            banker = DataBanker.GetInstance;
        }
Exemplo n.º 5
0
        public ConfigWindow()
        {
            InitializeComponent();

            banker = DataBanker.GetInstance;
        }