예제 #1
0
 void SaveButton_Click(object sender, EventArgs e)
 {
     this.Focus();
     this.BringToFront();
     Utils.BitmapOperate bo = new Utils.BitmapOperate();
     Point point = PointToScreen(ShotPanel.Location);
     this.Sig.Show();
     this.FileLink.Show();
     this.SaveOK.Show();
     string path = bo.SaveBitMap(point.X, point.Y, this.ShotPanel.Width, this.ShotPanel.Height, this.ChampionName.Tag.ToString());
     this.FileLink.Text = System.IO.Path.GetFileNameWithoutExtension(path);
     this.FileLink.Tag = path;
 }