Ejemplo n.º 1
0
        private void button_Click(object sender, EventArgs e)
        {
            int index = Parent.Controls.IndexOf(this);

            EmoneyShopForm eshop = (EmoneyShopForm)ParentForm;

            eshop.InitWndByStep(index);
        }
Ejemplo n.º 2
0
        private void button_Click(object sender, EventArgs e)
        {
            //打开输出目录
            EmoneyShopForm eshop = (EmoneyShopForm)ParentForm;

            System.Diagnostics.Process.Start(eshop.Targetroot);

            MessageBox.Show("已导出成功!ini文件复制到客户端后用DataCovert加密即可。");
        }
Ejemplo n.º 3
0
        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();
                }
            }
        }
Ejemplo n.º 4
0
        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();
            }
        }
Ejemplo n.º 5
0
        private void dateTimePicker_endtime_ValueChanged(object sender, EventArgs e)
        {
            EmoneyShopForm eshop = (EmoneyShopForm)ParentForm;

            eshop.endtimeflag = true;
        }
Ejemplo n.º 6
0
 private void EmoneyShop_button_Click(object sender, EventArgs e)
 {
     FormEmoneyShop.EmoneyShopForm emoneyShopForm = new FormEmoneyShop.EmoneyShopForm();
     emoneyShopForm.Show();
 }