Exemplo n.º 1
0
        private void btnOK_Click(object sender, RoutedEventArgs e)
        {
            _selectedItem = (ListBoxItem)listObjects.SelectedItem;

            FormFadeOut.Begin();
            classInfo.applicationExtra.disableInput(this);
        }
Exemplo n.º 2
0
 private void FadeOut()
 {
     if (!_context.AnyAuthenticating)
     {
         FormFadeOut.Begin();
     }
 }
Exemplo n.º 3
0
        private void btnCancel_Click(object sender, RoutedEventArgs e)
        {
            _selectedItem = null;

            FormFadeOut.Begin();
            classInfo.applicationExtra.disableInput(this);
        }
Exemplo n.º 4
0
        private void btnLeave_Click(object sender, RoutedEventArgs e)
        {
            FormFadeOut.Begin();
            classInfo.applicationExtra.disableInput(this);

            Process.Start(_url);
        }
Exemplo n.º 5
0
        private void btnOK_Click(object sender, RoutedEventArgs e)
        {
            selectedItem = tVObjects.SelectedItem as TreeViewItem;

            FormFadeOut.Begin();
            classInfo.applicationExtra.disableInput(this);
        }
Exemplo n.º 6
0
 /// <summary>
 /// Close the notification window
 /// </summary>
 private void CloseWindow()
 {
     if (windowActive == true)
     {
         windowActive = false;
         FormFadeOut.Begin();
     }
 }
Exemplo n.º 7
0
        private void btnUpdate_Click(object sender, RoutedEventArgs e)
        {
            classInfo.updating.startUpdate();
            _startUpdate = true;

            FormFadeOut.Begin();
            classInfo.applicationExtra.disableInput(this);
        }
Exemplo n.º 8
0
 private void update_Loaded(object sender, System.Windows.RoutedEventArgs e)
 {
     if (!_connected)
     {
         FormFadeOut.Begin();
         classInfo.applicationExtra.disableInput(this);
     }
 }
Exemplo n.º 9
0
 private void Window_Closing(object sender, CancelEventArgs e)
 {
     if (!closeCompleted)
     {
         FormFadeOut.Begin();
         e.Cancel = true;
     }
 }
Exemplo n.º 10
0
 private void btnOK_Click(object sender, RoutedEventArgs e)
 {
     if (!_stepViewer.Forward())
     {
         FormFadeOut.Begin();
         classInfo.applicationExtra.disableInput(this);
         return;
     }
 }
Exemplo n.º 11
0
 private void listObjects_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     // Make sure we're actually clicking on an item
     if (listObjects.SelectedItem != null)
     {
         if (((ListBoxItem)listObjects.SelectedItem).IsMouseOver)
         {
             _selectedItem = (ListBoxItem)listObjects.SelectedItem;
             FormFadeOut.Begin();
             classInfo.applicationExtra.disableInput(this);
         }
     }
 }
Exemplo n.º 12
0
        private void btnOK_Click(object sender, RoutedEventArgs e)
        {
            _selectedItem = (ListBoxItem)listObjects.SelectedItem;

            switch (GID)
            {
            case 0:
                hcex = (HCEX.GameObject)_selectedItem.Tag;
                break;

            case 2:
                halo3 = (Halo3.GameObject)_selectedItem.Tag;
                break;

            case 4:
                hreach = (Reach.GameObject)_selectedItem.Tag;
                break;
            }

            FormFadeOut.Begin();
            classInfo.applicationExtra.disableInput(this);
        }
Exemplo n.º 13
0
        private async void btnCancel_Click(object sender, MouseButtonEventArgs e)
        {
            Image or = (Image)e.OriginalSource;

            Models.TorrentItem ti   = (Models.TorrentItem)or.DataContext;
            var deleteMessageDialog = new Dialogs.DelDialog {
                DataContext = ti
            };

            await MaterialDesignThemes.Wpf.DialogHost.Show(deleteMessageDialog, "RootDialog");

            if (deleteMessageDialog.DeleteTorrent && deleteMessageDialog.DeleteFile)
            {
                _deleteFileToo = true;
                FormFadeOut.Begin();
            }
            if (deleteMessageDialog.DeleteTorrent && !deleteMessageDialog.DeleteFile)
            {
                _deleteFileToo = false;
                FormFadeOut.Begin();
            }
        }
Exemplo n.º 14
0
 private void btnOK_Click(object sender, RoutedEventArgs e)
 {
     FormFadeOut.Begin();
     classInfo.applicationExtra.disableInput(this);
 }
Exemplo n.º 15
0
 private void btnCancel_Click(object sender, RoutedEventArgs e)
 {
     _result = false;
     FormFadeOut.Begin();
     classInfo.applicationExtra.disableInput(this);
 }
Exemplo n.º 16
0
 private void image1_MouseDown(object sender, MouseButtonEventArgs e)
 {
     //Application.Current.Shutdown();
     FormFadeOut.Begin();
 }
Exemplo n.º 17
0
 private void btnDL_Click(object sender, RoutedEventArgs e)
 {
     Process.Start(_DDL);
     FormFadeOut.Begin();
 }
Exemplo n.º 18
0
 private void btnCancel_Click(object sender, RoutedEventArgs e)
 {
     FormFadeOut.Begin();
 }
Exemplo n.º 19
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     FormFadeOut.Completed += (pSender, pArgs) => Close();
     FormFadeOut.Begin();
 }