Ejemplo n.º 1
0
        /// <summary>
        /// コマンド WebApiSet
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void uiMenuWebApiSet_Click(object sender, EventArgs e)
        {
            using (var box = new InputUrlBox())
            {
                box.Url = Settings.Default.WebApiUrl;

                if (box.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                {
                    Settings.Default.WebApiUrl = box.Url;
                    UpdateControlState();
                }
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        /// コマンド WebApiSet
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void uiMenuWebApiSet_Click(object sender, EventArgs e)
        {
            using (var box = new InputUrlBox())
            {
                box.Url = Settings.Default.WebApiUrl;

                if (box.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                {
                    Settings.Default.WebApiUrl = box.Url;
                    UpdateControlState();
                }
            }
        }