Ejemplo n.º 1
0
        private void generalToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //opt.SelectedTab(1);
            //opt.SetBounds(0, 0, opt.Width, opt.Height);

            gwForm = new GagetWindow(opt, 1);
            gwForm.OnCloseGW += GwForm_OnCloseGW;
            gwForm.CloseGW += GwForm_CloseGW;

            gwForm.Show();

            //GagetWindow GW = new GagetWindow(opt,1);
            //GW.OnCloseGW += GW_OnCloseGW;
            //GW.CloseGW += GW_CloseGW;

            //GW.Show();

            //opt.SelectedTab(1);
            //opt.SetBounds(50, 50, opt.Size.Width, opt.Size.Height);
            ////Font ff = new Font("Arial", 8, FontStyle.Bold);
            ////opt.lblBtnX_Font(ff);
            //this.ParentForm.Controls.Add(opt);
            ////opt.SetlblBtnUpDown("↑"); //alt + 24
            //opt.CloseOptions += Opt_CloseOptions;
            //opt.OnCloseOptions += Opt_OnCloseOptions;
            //opt.UpWindow += Opt_UpWindow;
            //opt.DownWindow += Opt_DownWindow;
        }
Ejemplo n.º 2
0
        private void GwForm_Open(object sender, EventArgs e)
        {
            ToolStripItem MI = (ToolStripItem) sender;
            gwForm = new GagetWindow(MI.Text);
            gwForm.Location = new Point(8, 28);
            gwForm.MdiParent = this.ParentForm;

            gwForm.OnCloseGW += GwForm_OnCloseGW;
            gwForm.CloseGW += GwForm_CloseGW;
            gwForm.UpGW += GwForm_UpGW;

            gwForm.Show();
        }
Ejemplo n.º 3
0
        private void newPlayerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            gwForm = new GagetWindow();
            gwForm.Location = new Point(8, 28);
            gwForm.MdiParent = this.ParentForm;
            gwForm.OnCloseGW += GwForm_OnCloseGW;
            gwForm.CloseGW += GwForm_CloseGW;
            gwForm.UpGW += GwForm_UpGW;

            gwForm.Show();
        }
Ejemplo n.º 4
0
        private void Opt_UpWindow(object sender, EventArgs e)
        {
            //ParentForm.Controls.Remove(opt);
            GagetWindow GW = new GagetWindow(opt);

            GW.OnCloseGW += GwForm_OnCloseGW;
            GW.CloseGW += GwForm_CloseGW;

            GW.Show();
        }
Ejemplo n.º 5
0
 private void GwForm_UpGW(object sender, EventArgs e)
 {
     //GagetWindow gg = (GagetWindow)sender;
     GagetWindow GW = new GagetWindow();//gg.UControl);
     GW.OnCloseGW += GwForm_OnCloseGW;
     GW.CloseGW += GwForm_CloseGW;
 }