コード例 #1
0
        private void button_Click(object sender, EventArgs e)
        {
            int index = Parent.Controls.IndexOf(this);

            EmoneyShopForm eshop = (EmoneyShopForm)ParentForm;

            eshop.InitWndByStep(index);
        }
コード例 #2
0
        private void button_Click(object sender, EventArgs e)
        {
            //打开输出目录
            EmoneyShopForm eshop = (EmoneyShopForm)ParentForm;

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

            MessageBox.Show("已导出成功!ini文件复制到客户端后用DataCovert加密即可。");
        }
コード例 #3
0
ファイル: UserControl_EnterId.cs プロジェクト: zomi0/MoyuTool
        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();
                }
            }
        }
コード例 #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();
            }
        }
コード例 #5
0
ファイル: UserControl_EnterId.cs プロジェクト: zomi0/MoyuTool
        private void dateTimePicker_endtime_ValueChanged(object sender, EventArgs e)
        {
            EmoneyShopForm eshop = (EmoneyShopForm)ParentForm;

            eshop.endtimeflag = true;
        }
コード例 #6
0
ファイル: Form1.cs プロジェクト: zomi0/MoyuTool
 private void EmoneyShop_button_Click(object sender, EventArgs e)
 {
     FormEmoneyShop.EmoneyShopForm emoneyShopForm = new FormEmoneyShop.EmoneyShopForm();
     emoneyShopForm.Show();
 }