Example #1
0
        /// <summary>
        /// DB 설정
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void txtSQL_Setting_Click(object sender, Function.form.usrEventArgs e)
        {
            try
            {
                Function.form.Db.DBSetting con = new Function.form.Db.DBSetting(vari.conn);

                con.DbType_Changable = false;

                if (con.ShowDialog(this) != DialogResult.OK)
                {
                    return;
                }

                //변경됨
                vari.conn = con.sql;

                vari.DB_Setting_Save();

                SetMessage(false, "MS-Sql DB 설정이 변경/저장 되었습니다.", true);
            }
            catch (Exception ex)
            {
                ProcException(ex, "txtSQL_Setting_Click", true);
            }
        }
Example #2
0
 /// <summary>
 /// 어드레스 타입이 변경 되면 주소를 조회환다.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void txtAddType_Text_Changed(object sender, Function.form.usrEventArgs e)
 {
     if (_addType == txtAddType.Text)
     {
         return;
     }
     AddTable_Save();
     _addType = txtAddType.Text;
     addTable_Load();
 }
Example #3
0
        private void inpToolMng_Click(object sender, Function.form.usrEventArgs e)
        {
            try
            {
                popToolMng frm = new popToolMng();
                frm.ShowDialog();

                //inpStationID.Text
            }
            catch (Exception ex)
            {
                ProcException(ex, "inpToolMng_Click", true);
            }
        }
Example #4
0
 private void inpPicSizeMode_Text_Changed(object sender, Function.form.usrEventArgs e)
 {
     pnlImage.BackgroundImageLayout = (ImageLayout)Fnc.enumItem2Object(new ImageLayout(), inpPicSizeMode.Text);
 }