Esempio n. 1
0
 private void ClearAll(bool clearAlsoProfile)
 {
     foreach (var textBox in Common.FindVisualChildren <TextBox>(this))
     {
         if (textBox.Equals(TextBoxLogTPM))
         {
             continue;
         }
         var tagHolderClass = (TagDataClassTPM)textBox.Tag;
         textBox.Text = "";
         tagHolderClass.ClearAll();
     }
     if (clearAlsoProfile)
     {
         _tpmPanel.ClearSettings();
     }
 }
Esempio n. 2
0
        private void ClearAll(bool clearAlsoProfile)
        {
            foreach (var textBox in Common.FindVisualChildren <TPMTextBox>(this))
            {
                if (textBox.Equals(TextBoxLogTPM) || textBox.Bill == null)
                {
                    continue;
                }

                textBox.Bill.ClearAll();
            }

            if (clearAlsoProfile)
            {
                _tpmPanel.ClearSettings(true);
            }

            ShowGraphicConfiguration();
        }