private void Button1_Click(object sender, EventArgs e) { ShiftDemo demo = new ShiftDemo(); demo.label1.Text = textBox2.Text; shiftWM.Init(demo, textBox1.Text, null); }
void Button1_Click(object sender, EventArgs e) { var demo = new ShiftDemo(); ShiftWM.Init(demo, textBox1.Text, null); ShiftWM.StartInfoboxSession(textBox1.Text, textBox2.Text, InfoboxTemplate.ButtonType.Ok); }
void newToolStripMenuItem_Click(object sender, EventArgs e) { if (IsEdited()) { MessageBox.Show("yay it works"); } var f = new FileOpener(); ShiftWM.Init(f, "testing", null); }
void button1_Click(object sender, EventArgs e) { ColorType = 1; ShiftWM.Init(new SelectColor(), "Select a color", Resources.iconColourPicker_fw); }
void button2_Click(object sender, EventArgs e) => ShiftWM.Init(new Shifter(), "Shifter", Resources.iconShifter);
private void breakOutToolStripMenuItem_Click(object sender, EventArgs e) { ShiftWM.Init(new Apps.Breakout(), "Breakout", null); }
private void textPadToolStripMenuItem_Click(object sender, EventArgs e) { ShiftWM.Init(new Apps.TextPad(), "TextPad", Properties.Resources.iconTextPad); }
private void fileSkimmerToolStripMenuItem_Click(object sender, EventArgs e) { ShiftWM.Init(new Apps.FileSkimmer(), "FileSkimmer", Properties.Resources.iconFileSkimmer); }
private void terminalToolStripMenuItem_Click(object sender, EventArgs e) { ShiftWM.Init(new Apps.Terminal(), "Terminal", Properties.Resources.iconTerminal); }
private void fileSkimmerToolStripMenuItem_Click(object sender, EventArgs e) { var fs = new FileSkimmer(); ShiftWM.Init(fs, "File Skimmer", Resources.iconFileSkimmer); }
private void textPadToolStripMenuItem_Click(object sender, EventArgs e) { var t = new TextPad(); ShiftWM.Init(t, "TextPad", Resources.iconTextPad); }
private void terminalToolStripMenuItem_Click(object sender, EventArgs e) { var t = new Apps.Terminal(); ShiftWM.Init(t, "Terminal", Resources.iconTerminal, false); }
private void shifterToolStripMenuItem_Click(object sender, EventArgs e) { Apps.ShifterStuff.Shifter app = new Apps.ShifterStuff.Shifter(); ShiftWM.Init(app, "Shifter", null); }