Example #1
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            if (!DBiFace.IsDBAvailable())
            {
                return;
            }
// ReSharper disable once UnusedVariable
            var v = new WaitWindow.Window(this,
                                          handler => DBiFace.AccDB.Retriever.GetFinishWindow += handler,
                                          handler => DBiFace.AccDB.Retriever.GetFinishWindow += handler,
                                          700);

            if (radioCharname.Checked)
            {
                DBiFace.AccDB.Retriever.GetMetasByName(textBox1.Text);
            }

            if (radioAccID.Checked)
            {
                DBiFace.AccDB.Retriever.GetAccountChars(textBox1.Text, checkSearchDeleted.Checked);
            }

            if (radioCharCode.Checked)
            {
                DBiFace.AccDB.Retriever.GetMetasByCharID(textBox1.Text);
            }
            if (radioIP.Checked)
            {
                DBiFace.AccDB.Retriever.GetAccountsByIP(textBox1.Text);
            }
        }
Example #2
0
        private void buttonFLRescan_Click(object sender, EventArgs e)
        {
// ReSharper disable once UnusedVariable
            var v = new WaitWindow.Window(this,
                                          handler => Universe.DoneLoading += handler,
                                          handler => Universe.DoneLoading += handler,
                                          1000);

            Universe.Parse(Properties.Settings.Default.FLPath, _log, true);
        }
Example #3
0
        private void button2_Click(object sender, EventArgs e)
        {
            if (comboSearchItem.SelectedValue == null)
            {
                return;
            }

            if (DBiFace.AccDB == null)
            {
                return;
            }
// ReSharper disable once UnusedVariable
            var v = new WaitWindow.Window(this,
                                          handler => DBiFace.AccDB.Retriever.GetFinishWindow += handler,
                                          handler => DBiFace.AccDB.Retriever.GetFinishWindow += handler,
                                          1200);

            DBiFace.AccDB.Retriever.GetMetasByItem((uint)comboSearchItem.SelectedValue);
        }
Example #4
0
        private void buttonSearchLocation_Click(object sender, EventArgs e)
        {
            if (DBiFace.AccDB == null)
            {
                return;
            }
            // ReSharper disable once UnusedVariable
            var v = new WaitWindow.Window(this,
                                          handler => DBiFace.AccDB.Retriever.GetFinishWindow += handler,
                                          handler => DBiFace.AccDB.Retriever.GetFinishWindow += handler,
                                          1200);

            if (radioSearchSystem.Checked)
            {
                DBiFace.AccDB.Retriever.GetMetasBySystem((string)comboSearchLocation.SelectedValue);
            }

            if (radioSearchBase.Checked)
            {
                DBiFace.AccDB.Retriever.GetMetasByBase((string)comboSearchLocation.SelectedValue);
            }
        }
Example #5
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            if (!DBiFace.IsDBAvailable()) return;
            // ReSharper disable once UnusedVariable
            var v = new WaitWindow.Window(this,
            handler => DBiFace.AccDB.Retriever.GetFinishWindow += handler,
            handler => DBiFace.AccDB.Retriever.GetFinishWindow += handler,
            700);

            if (radioCharname.Checked)
                DBiFace.AccDB.Retriever.GetMetasByName(textBox1.Text);

            if (radioAccID.Checked)
                DBiFace.AccDB.Retriever.GetAccountChars(textBox1.Text,checkSearchDeleted.Checked);

            if (radioCharCode.Checked)
                DBiFace.AccDB.Retriever.GetMetasByCharID(textBox1.Text);
            if (radioIP.Checked)
                DBiFace.AccDB.Retriever.GetAccountsByIP(textBox1.Text);
        }
Example #6
0
        private void buttonSearchLocation_Click(object sender, EventArgs e)
        {
            if (DBiFace.AccDB == null) return;
            // ReSharper disable once UnusedVariable
            var v = new WaitWindow.Window(this,
            handler => DBiFace.AccDB.Retriever.GetFinishWindow += handler,
            handler => DBiFace.AccDB.Retriever.GetFinishWindow += handler,
            1200);

            if (radioSearchSystem.Checked)
                DBiFace.AccDB.Retriever.GetMetasBySystem((string)comboSearchLocation.SelectedValue);

            if (radioSearchBase.Checked)
                DBiFace.AccDB.Retriever.GetMetasByBase((string)comboSearchLocation.SelectedValue);
        }
Example #7
0
        private void button2_Click(object sender, EventArgs e)
        {
            if (comboSearchItem.SelectedValue == null) return;

            if (DBiFace.AccDB == null) return;
            // ReSharper disable once UnusedVariable
            var v = new WaitWindow.Window(this,
            handler => DBiFace.AccDB.Retriever.GetFinishWindow += handler,
            handler => DBiFace.AccDB.Retriever.GetFinishWindow += handler,
            1200);
            DBiFace.AccDB.Retriever.GetMetasByItem((uint)comboSearchItem.SelectedValue);
        }
Example #8
0
 private void buttonFLRescan_Click(object sender, EventArgs e)
 {
     // ReSharper disable once UnusedVariable
     var v = new WaitWindow.Window(this,
     handler => Universe.DoneLoading += handler,
     handler => Universe.DoneLoading += handler,
     1000);
     Universe.Parse(Properties.Settings.Default.FLPath, _log,true);
 }