Using system;using system.collections.generic;using system.componentmodel;using system.data;using System.Drawing; Using system.text;using system.windows.forms;using system.io;namespace xiugaiqi{public partial class Form1:form { Public Form1 () {InitializeComponent (); } private void Button1_Click (object sender, EventArgs e) {int score_xiaojing = Convert.ToInt32 (t Extbox1.text); int score_aku = Convert.ToInt32 (TextBox2.Text); int Score_tiantian = Convert.ToInt32 (TextBox3.Text); OpenFileDialog ofd = new OpenFileDialog (); Ofd. Filter = "Jgo file |*. Jgo "; Ofd. FilterIndex = 1; if (OFD. ShowDialog () = = DialogResult.OK) {change_values (ofd. FileName, 0x17, score_xiaojing); Change_values (OFD. FileName, 0x33, Score_aku); Change_values (OFD. FileName, 0x4f, Score_tiantian); Label4. Text = "√"; Label5. Text = "√"; Label6. Text = "√"; }} private void Change_values (string filename,int postion,int values) { BinaryWriter bw = new BinaryWriter (file.openwrite (filename)); int x = values; Bw. Basestream.position = postion; 0x17 location, 0X33 a cool location, 0x4f sweet location bw. Write (x); Bw. Close (); } }}
C # sugarcane bucket landlord 1.4 archive modifier