private void button12_Click(object sender, EventArgs e) { Form form = new FT.Windows.Forms.LoginForm(); if (form.ShowDialog() == DialogResult.OK) { FT.Windows.Forms.BaseMainForm form1 = new BaseMainForm(); form1.GetStatusStrip().Visible = false; //form.LoadPluginDebug(path); form1.Show(); } }
private void button5_Click(object sender, EventArgs e) { FT.Windows.Forms.BaseMainForm form = new BaseMainForm(); string path = FT.Commons.Tools.ReflectHelper.GetStartUpPath("plugins1\\FT.Lottery.dll"); Console.WriteLine("the path is->"+path); form.GetStatusStrip().Visible = false; //form.LoadPluginDebug(path); form.Show(); }