Пример #1
0
        private void AnswerScreen_Load(object sender, EventArgs e)
        {
            menuStrip1.ForeColor = Color.White;
            FilesLoader fl = new FilesLoader();

            byte[] text = Encoding.UTF8.GetBytes(fl.get_text(@"inner_temp\response.dx"));
            answer_text.Text = Encoding.UTF8.GetString(text);
            if (answer_text.Text == string.Empty)
            {
                MessageBox.Show("Something went wrong(Enter you question in another way or check you internet connection and try again later)", "Sorry x_x!", MessageBoxButtons.OK, MessageBoxIcon.Error);
                this.Close();
            }
        }