public MainForm() { InitializeComponent(); if (!File.Exists("Info.xml")) { Informations.write("<نام بیمارستان>", "<نام مدیر>"); } }
private void buttonX1_Click_1(object sender, EventArgs e) { Informations.write(textBoxX2.Text, textBoxX1.Text); this.Hide(); }