This commit is contained in:
Mikhail Abramov 2018-03-15 10:28:47 +04:00 committed by GitHub
parent 494acc13e7
commit e2a7f3e26b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -282,7 +282,7 @@ namespace WindowsFormsApplication1
if (openFileDialog1.ShowDialog() == DialogResult.Cancel)
return;
string filename = openFileDialog1.FileName;
string fileText =File.ReadAllText(filename);
string fileText = File.ReadAllText(filename);
nazvanieTextBox.Text = fileText;
//MessageBox.Show("Ôàéë îòêðûò");
PictureBoxBackground.Image = Image.FromFile("kartinka.jpg");
@ -320,8 +320,7 @@ namespace WindowsFormsApplication1
b1[0].Left = 30;
b1[0].Width = 200;
b1[0].Visible = true;
this.Controls.Add(b1[0]);
this.panel1.Controls.Add(b1[0]);
}
}
}
}