예제 #1
0
        private void UpdateGia(object ob, EventArgs e)
        {
            bool kqUpdate = NhomGia.UpdateGia();

            if (!kqUpdate)
            {
                MessageBox.Show("Không cập nhật được giá thành!");
            }
            else
            {
                MessageBox.Show("Cập nhật thành công!");
            }
        }
예제 #2
0
파일: Coster.cs 프로젝트: nccong207/HTA
        private void UpdateGia(object ob, EventArgs e)
        {
            bool kqUpdate = NhomGia.UpdateGia();

            if (!kqUpdate)
            {
                string msg = "Không cập nhật được giá thành!";
                if (Config.GetValue("Language").ToString() == "1")
                {
                    msg = UIDictionary.Translate(msg);
                }
                XtraMessageBox.Show(msg);
            }
            else
            {
                string msg = "Cập nhật thành công!";
                if (Config.GetValue("Language").ToString() == "1")
                {
                    msg = UIDictionary.Translate(msg);
                }
                XtraMessageBox.Show(msg);
            }
        }