Наследование: System.Diagnostics.TraceListener
Пример #1
0
        private void otitemeditor_Load(object sender, EventArgs e)
        {
            this.Text            = versionString;
            typeCombo.DataSource = Enum.GetNames(typeof(ItemType));

            Trace.Listeners.Clear();
            textBoxListener = new TextBoxTraceListener(outputTextBox);
            Trace.Listeners.Add(textBoxListener);

            updateTraceToolStripMenuItem.Checked = showUpdateOutput;
            otbTraceToolStripMenuItem.Checked    = showOtbOutput;
            onSelectItem(null);

            Program.plugins.FindPlugins();
        }
Пример #2
0
        private void otitemeditor_Load(object sender, EventArgs e)
        {
            this.Text = versionString;
            typeCombo.DataSource = Enum.GetNames(typeof(ItemType));

            Trace.Listeners.Clear();
            textBoxListener = new TextBoxTraceListener(outputTextBox);
            Trace.Listeners.Add(textBoxListener);

            updateTraceToolStripMenuItem.Checked = showUpdateOutput;
            otbTraceToolStripMenuItem.Checked = showOtbOutput;
            onSelectItem(null);

            Program.plugins.FindPlugins();
        }