示例#1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            LogViewer logViewer = new LogViewer();

            Application.Run(new FormSendCorruptMessages(logViewer));
        }
示例#2
0
        public FormSendCorruptMessages(LogViewer logViewer)
        {
            InitializeComponent();
            _formConfig = new ClassFormConfig(this);

            UpdateRecipientButtons();
            _logListBox = logViewer.listBoxLog;
            _logViewer  = logViewer;
            UpdateCredentials();
        }