Ejemplo n.º 1
0
        private void mephobiaButton1_Click(object sender, EventArgs e)
        {
            FrmEditR frm = new FrmEditR();

            frm.Real += form2_Real;
            frm.ShowDialog();
        }
Ejemplo n.º 2
0
        private void mephobiaButton2_Click(object sender, EventArgs e)
        {
            try
            {
                FrmEditR form2 = new FrmEditR(listBox1.SelectedItem.ToString(),
                                              ConfigDao.RealmlistAddressDataList[listBox1.SelectedItem.ToString()],
                                              ConfigDao.RealmlistPathDataList[listBox1.SelectedItem.ToString()],
                                              ConfigDao.WoWExePathDataList[listBox1.SelectedItem.ToString()]);
                form2.Real += form2_Real;
                form2.ShowDialog();

                /*
                 * LoadXMLToListbox();
                 * listBox1.Refresh();
                 * listBox1.ResetText();*/
            }
            catch (NullReferenceException)
            {
                MessageBox.Show("No server selected!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }