Exemplo n.º 1
0
        /// <summary>
        /// Set content.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void SetContent_Clicked(object sender, EventArgs e)
        {
            Parent.Sensitive = false;
            SetWindow _window = new SetWindow(this, null);

            _window.Closed += delegate
            {
                Parent.Sensitive = true;
            };
            _window.Show();
        }
Exemplo n.º 2
0
        public MainWindow()
        {
            SetWindow.SetCustomWindow(this);

            InitializeComponent();
            this.Loaded += (sender, e) =>
            {
                this.DataContext = vm;
                SetWindow.DragWindow(this);
            };
        }
Exemplo n.º 3
0
        private void SetConfig()
        {
            SetWindow setWindow = new SetWindow();

            setWindow.ShowDialog();
        }