- 매수 기능 추가

This commit is contained in:
2016-12-09 09:51:00 +09:00
parent 958f523b9c
commit 034c061a1b
12 changed files with 482 additions and 20 deletions

42
ModelessPopup.cs Normal file
View File

@@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace NewsCrawler
{
public partial class ModelessPopup : Form
{
NewsForm m_Owner = null;
CodeList.CODE_VALUE m_Code;
public ModelessPopup(NewsForm Owner)
{
m_Owner = Owner;
InitializeComponent();
}
public void SetMessage(string strMsg, CodeList.CODE_VALUE Code)
{
m_Code = Code;
label1.Text = strMsg;
}
private void btnYes_Click(object sender, EventArgs e)
{
m_Owner.OnManualItemBuy(m_Code);
this.Close();
}
private void btnCancel_Click(object sender, EventArgs e)
{
this.Close();
}
}
}