예제 #1
0
        private void tileItem7_ItemClick(object sender, TileItemEventArgs e)
        {
            var upstock = new UpdateStock();

            if (dtup.Rows.Count > 0)
            {
                upstock.dtup = dtup;
            }
            upstock.serverip = "www.udon-it.com";
            upstock.ShowDialog();
        }
예제 #2
0
        private void refreshItem()
        {
            //tileItem7
            dtup = UpdateStock.UploadItem("www.udon-it.com");

            if (dtup.Rows.Count > 0)
            {
                _update = dtup.Rows.Count;
            }
            else
            {
                _update = 0;
            }
            //if (dt.Rows.Count.ToString().Length > 3)
            //    tileItem7.AppearanceItem.Normal.Font.Size -= 10;
            badgele.Text = string.Format("อัพเดต {0}", _update);
        }