private void button_Click(object sender, EventArgs e) { int index = Parent.Controls.IndexOf(this); EmoneyShopForm eshop = (EmoneyShopForm)ParentForm; eshop.InitWndByStep(index); }
private void button_Click(object sender, EventArgs e) { //打开输出目录 EmoneyShopForm eshop = (EmoneyShopForm)ParentForm; System.Diagnostics.Process.Start(eshop.Targetroot); MessageBox.Show("已导出成功!ini文件复制到客户端后用DataCovert加密即可。"); }
private void textBox_goods_Validated(object sender, EventArgs e) { if (textBox_goods.TextLength != 0 && steps > 0) { steps -= 1; if (steps == 0) { EmoneyShopForm eshop = (EmoneyShopForm)ParentForm; eshop.NextStep(); } } }
private void button_Click(object sender, EventArgs e) { if (folderBrowserDialog1.ShowDialog() == DialogResult.OK) { //shop文件路径 string shopini = folderBrowserDialog1.SelectedPath + "\\ini\\newshop.ini"; if (!File.Exists(shopini)) { MessageBox.Show("文件不存在。"); return; } EmoneyShopForm eshop = (EmoneyShopForm)ParentForm; //生成客户端配置 eshop.CreateNewShopFile(shopini); eshop.NextStep(); } }
private void dateTimePicker_endtime_ValueChanged(object sender, EventArgs e) { EmoneyShopForm eshop = (EmoneyShopForm)ParentForm; eshop.endtimeflag = true; }
private void EmoneyShop_button_Click(object sender, EventArgs e) { FormEmoneyShop.EmoneyShopForm emoneyShopForm = new FormEmoneyShop.EmoneyShopForm(); emoneyShopForm.Show(); }