示例#1
0
 private void file_path_Click(object sender, EventArgs e)
 {
     OpenFile_Dialog.Title = "R6 GameSettings.ini 파일을 열어주십시오";
     //서버 바꿀 파일 선택함
     if (OpenFile_Dialog.ShowDialog() == DialogResult.OK)
     {
         uri        = (OpenFile_Dialog.FileName);
         SelectFile = true;
     }
 }
 private void OpenImage_Button_Click(object sender, EventArgs e)
 {
     OpenFile_Dialog.FileName = "";
     if (OpenFile_Dialog.ShowDialog() == DialogResult.OK)
     {
         SourceImage            = new Bitmap(OpenFile_Dialog.FileName);
         Image_PictureBox.Image = SourceImage;
         Image_PictureBox.Controls.Clear();
         PointScaler = new PointScaler(Image_PictureBox.Image.Size, Image_PictureBox.Size);
     }
 }