예제 #1
0
        private void btnGoTo_ButtonClick(object sender, EventArgs e)
        {
            FormCalendar form = new FormCalendar();

            form.Date = _date;
            form.ShowDialog();

            if (form.DialogResult == DialogResult.OK)
            {
                LoadAppointmentGrid(form.Date);
            }
        }
예제 #2
0
        public void openCalendar(ChromiumWebBrowser chrome, string linkCalendar, FormCalendar form)
        {
            CefSettings settings = new CefSettings();

            if (!Cef.IsInitialized)
            {
                Cef.Initialize(settings);
            }
            chrome = new ChromiumWebBrowser(linkCalendar);

            chrome.Load(linkCalendar);
            form.Controls.Add(chrome);
            chrome.Dock = DockStyle.Fill;
        }