Ejemplo n.º 1
0
        /// <summary>
        /// Resets all of the file viewers
        /// </summary>
        private void ResetViewer()
        {
            TextBoxOutput.Visibility   = Visibility.Hidden;
            ImageOutput.Visibility     = Visibility.Hidden;
            RichTextOutput.Visibility  = Visibility.Hidden;
            DataGridOutput.Visibility  = Visibility.Hidden;
            DatViewerOutput.Visibility = Visibility.Hidden;

            TextBoxOutput.Clear();
            ImageOutput.Source = null;
            RichTextOutput.Document.Blocks.Clear();
            DataGridOutput.ItemsSource = null;
            TextBoxOffset.Text         = String.Empty;
            TextBoxSize.Text           = String.Empty;
            TextBoxNameHash.Text       = String.Empty;
            TextBoxHash.Text           = String.Empty;
        }
Ejemplo n.º 2
0
 private void CloseImage()
 {
     if (Generator != null)
     {
         Generator.Close();
         Generator = null;
     }
     Points = null;
     if (PolyPointImage != null)
     {
         PolyPointImage.Close();
         PolyPointImage = null;
     }
     TextBoxOutput.Clear();
     PointOrigin = new Size(0, 0);
     PointOriginXTextBox.Text = "0";
     PointOriginYTextBox.Text = "0";
     GeneratorAccuracy        = 1f;
     ConvertingImageBox.Invalidate();
 }
Ejemplo n.º 3
0
 private void ButtonClose_Click(object sender, EventArgs e)
 {
     this.Hide();
     TextBoxOutput.Clear();
 }
Ejemplo n.º 4
0
 private void RadioButtonEncrypt_CheckedChanged(object sender, EventArgs e)
 {
     TextBoxInput.Clear();
     TextBoxOutput.Clear();
 }
 private void ClearOutput()
 {
     TextBoxOutput.Clear();
 }