示例#1
0
        private void Button1_Click(object sender, EventArgs e)
        {
            ShiftDemo demo = new ShiftDemo();

            demo.label1.Text = textBox2.Text;
            shiftWM.Init(demo, textBox1.Text, null);
        }
示例#2
0
        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);
        }
示例#3
0
        void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (IsEdited())
            {
                MessageBox.Show("yay it works");
            }
            var f = new FileOpener();

            ShiftWM.Init(f, "testing", null);
        }
示例#4
0
 void button1_Click(object sender, EventArgs e)
 {
     ColorType = 1;
     ShiftWM.Init(new SelectColor(), "Select a color", Resources.iconColourPicker_fw);
 }
示例#5
0
 void button2_Click(object sender, EventArgs e)
 => ShiftWM.Init(new Shifter(), "Shifter", Resources.iconShifter);
示例#6
0
 private void breakOutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ShiftWM.Init(new Apps.Breakout(), "Breakout", null);
 }
示例#7
0
 private void textPadToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ShiftWM.Init(new Apps.TextPad(), "TextPad", Properties.Resources.iconTextPad);
 }
示例#8
0
 private void fileSkimmerToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ShiftWM.Init(new Apps.FileSkimmer(), "FileSkimmer", Properties.Resources.iconFileSkimmer);
 }
示例#9
0
 private void terminalToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ShiftWM.Init(new Apps.Terminal(), "Terminal", Properties.Resources.iconTerminal);
 }
示例#10
0
        private void fileSkimmerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var fs = new FileSkimmer();

            ShiftWM.Init(fs, "File Skimmer", Resources.iconFileSkimmer);
        }
示例#11
0
        private void textPadToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var t = new TextPad();

            ShiftWM.Init(t, "TextPad", Resources.iconTextPad);
        }
示例#12
0
        private void terminalToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var t = new Apps.Terminal();

            ShiftWM.Init(t, "Terminal", Resources.iconTerminal, false);
        }
示例#13
0
 private void shifterToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Apps.ShifterStuff.Shifter app = new Apps.ShifterStuff.Shifter();
     ShiftWM.Init(app, "Shifter", null);
 }