C # sugarcane bucket landlord 1.4 archive modifier

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.