Beispiel #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            this.Hide();
            frmCalendar frm = new frmCalendar();

            frm.ShowDialog();
            this.Show();
        }
 // カレンダ画面起動処理
 private void niTsumugi_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     //フォーム(frm)のインスタンスを作成
     //frmをモードレスで表示する
     if (frm == null)
     {
         frm = new frmCalendar();
         frm.Show();
     }
 }
Beispiel #3
0
 private void mnuCalendar_Click(object sender, EventArgs e)
 {
     try
     {
         var frm = new frmCalendar();
         frm.ShowDialog(this);
     }
     catch (Exception ex)
     {
         WebErrorLog.ErrorInstence.StartErrorLog(ex);
     }
 }
Beispiel #4
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();

            // 会社領域を選択します
            Model.frmComSelect frm = new frmComSelect();
            frm.ShowDialog();
            if (global.pblComNo == global.NON_SELECT)
            {
                this.Show();
                return;
            }

            frmCalendar frmc = new frmCalendar(global.pblComNo, global.pblComName);

            frmc.ShowDialog();
            this.Show();
        }
Beispiel #5
0
        private void BtnCalendar_Click_1(object sender, EventArgs e)
        {
            PnlNav.Height         = BtnCalendar.Height;
            PnlNav.Top            = BtnCalendar.Top;
            PnlNav.Left           = BtnCalendar.Left;
            BtnCalendar.BackColor = Color.FromArgb(46, 51, 73);

            lblTitle.Text = "Calendar";
            this.PnlFormLoader.Controls.Clear();
            frmCalendar FrmDashboard_Vrb = new frmCalendar()
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            FrmDashboard_Vrb.FormBorderStyle = FormBorderStyle.None;
            this.PnlFormLoader.Controls.Add(FrmDashboard_Vrb);
            FrmDashboard_Vrb.Show();
        }