Пример #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);
 }