Exemplo n.º 1
0
        /// <summary>
        /// Edit time zone information
        /// </summary>
        /// <param name="sender">The sender of the event</param>
        /// <param name="e">The event arguments</param>
        private void btnChgTimeZone_Click(object sender, EventArgs e)
        {
            using (TimeZoneListDlg dlg = new TimeZoneListDlg())
            {
                dlg.CurrentCalendar = vCal;
                dlg.Modified        = wasModified;
                dlg.ShowDialog();

                if (wasModified != dlg.Modified)
                {
                    wasModified = true;
                    LoadGridWithItems(false);
                }
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Edit time zone information
        /// </summary>
        /// <param name="sender">The sender of the event</param>
        /// <param name="e">The event arguments</param>
        private void btnChgTimeZone_Click(object sender, EventArgs e)
        {
            using(TimeZoneListDlg dlg = new TimeZoneListDlg())
            {
                dlg.CurrentCalendar = vCal;
                dlg.Modified = wasModified;
                dlg.ShowDialog();

                if(wasModified != dlg.Modified)
                {
                    wasModified = true;
                    LoadGridWithItems(false);
                }
            }
        }