下载频道  >  dangxiangyang的资源
  • c#做的文本操作

    文本的读入。保存,改变字体大小,颜色等功能基本都实现了

    2012-12-13
    3
  • c#做的图片改变

    实现图片打开,旋转,等功能 部分代码: private void button2_Click(object sender, EventArgs e) { if(radio1.Checked==true) PictureBox1.Image.RotateFlip(RotateFlipType.Rotate90FlipNone); if (radio2.Checked == true) PictureBox1.Image.RotateFlip(RotateFlipType.Rotate180FlipNone); if (radio3.Checked == true) PictureBox1.Image.RotateFlip(RotateFlipType.Rotate270FlipNone); if(radio1.Checked==true &&checkBox1;.Checked ==true ) PictureBox1.Image.RotateFlip(RotateFlipType.Rotate90FlipX); if (radio2.Checked == true && checkBox1.Checked == true) PictureBox1.Image.RotateFlip(RotateFlipType.Rotate180FlipX); if (radio3.Checked == true && checkBox1.Checked == true) PictureBox1.Image.RotateFlip(RotateFlipType.Rotate270FlipX); if (radio1.Checked == true && checkBox2.Checked == true) PictureBox1.Image.RotateFlip(RotateFlipType.Rotate90FlipY);

    2012-12-13
    4
  • c#做的简易计算器

    计算器的基本操作都有,自己课下联系做的 部分代码: private void button11_Click(object sender, EventArgs e) { text1.Text = text1.Text + "0"; } private void button1_Click(object sender, EventArgs e) { text1.Text = text1.Text + "1"; } private void button2_Click(object sender, EventArgs e) { text1.Text = text1.Text + "2"; } private void button3_Click(object sender, EventArgs e) { text1.Text = text1.Text + "3"; } private void button4_Click(object sender, EventArgs e) { text1.Text = text1.Text + "4"; } private void button5_Click(object sender, EventArgs e) { text1.Text = text1.Text + "5"; } private void button6_Click(object sender, EventArgs e) { text1.Text = text1.Text + "6"; } private void button7_Click(object sender, EventArgs e) { text1.Text = text1.Text + "7"; } private void button8_Click(object sender, EventArgs e) { text1.Text = text1.Text + "8"; } private void button9_Click(object sender, EventArgs e) { text1.Text = text1.Text + "9"; }

    2012-12-13
    10
img
dangxiangyang

关注 私信