메인화면의 compidx 와 username 을 . 전역 변수 PUB.user 로 이동
This commit is contained in:
@@ -20,7 +20,7 @@ namespace UniMarc
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
compidx = main.com_idx;
|
||||
compidx = PUB.user.CompanyIdx;
|
||||
}
|
||||
|
||||
private void Part_time_Load(object sender, EventArgs e)
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace UniMarc
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
compidx = main.com_idx;
|
||||
compidx = PUB.user.CompanyIdx;
|
||||
}
|
||||
private void Purchase_Aggregation_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace UniMarc
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
compidx = main.com_idx;
|
||||
compidx = PUB.user.CompanyIdx;
|
||||
}
|
||||
public Purchase_Book(Purchase_Aggregation _pa)
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace UniMarc
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
compidx = main.com_idx;
|
||||
compidx = PUB.user.CompanyIdx;
|
||||
}
|
||||
private void Remit_reg_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace UniMarc
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
compidx = main.com_idx;
|
||||
compidx = PUB.user.CompanyIdx;
|
||||
}
|
||||
private void Remit_reg2_Load(object sender, EventArgs e)
|
||||
{
|
||||
@@ -88,8 +88,8 @@ namespace UniMarc
|
||||
"bank_num", "bank_name", "send_money", "etc", "payment",
|
||||
"reg_man" };
|
||||
string[] input_data = { compidx, date, tb_purchase.Text, tb_bank.Text, tb_bank_code.Text,
|
||||
tb_bank_num.Text, tb_bank_boss.Text, tb_send_money.Text, tb_etc.Text, "False",
|
||||
main.User };
|
||||
tb_bank_num.Text, tb_bank_boss.Text, tb_send_money.Text, tb_etc.Text, "False",
|
||||
PUB.user.UserName };
|
||||
string Incmd = db.DB_INSERT("Remit_reg", input_table, input_data);
|
||||
db.DB_Send_CMD_reVoid(Incmd);
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace UniMarc
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
compidx = main.com_idx;
|
||||
compidx = PUB.user.CompanyIdx;
|
||||
}
|
||||
private void Sales_Book_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace UniMarc
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
compidx = main.com_idx;
|
||||
compidx = PUB.user.CompanyIdx;
|
||||
}
|
||||
private void Sales_Deposit_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace UniMarc
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
compidx = main.com_idx;
|
||||
compidx = PUB.user.CompanyIdx;
|
||||
}
|
||||
private void Sales_In_Pay_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace UniMarc
|
||||
private void Sales_Input_Load(object sender, EventArgs e)
|
||||
{
|
||||
db.DBcon();
|
||||
compidx = main.com_idx;
|
||||
compidx = PUB.user.CompanyIdx;
|
||||
}
|
||||
private void btn_Add_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace UniMarc
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
compidx = main.com_idx;
|
||||
compidx = PUB.user.CompanyIdx;
|
||||
}
|
||||
private void Sales_Book_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user