CortexAI 1
CortexAI
Test5410 1
Test5410
kaptanmikro1 1
kaptanmikro1
bList 1
bList
[DEV]AB 1
[DEV]AB
R 1
Roksam
farkmt2official 1
farkmt2official
emirhanHCL 1
emirhanHCL
Hikaye Ekle

[ Python ] - ONAYLI TICARET KABUL SISTEMI

  • Konuyu başlatan Konuyu başlatan ONURSTEEL
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 53
  • Görüntüleme Görüntüleme 8K
Sadece Geri Alanamaz Herşeyi Teslim Etmek Üzeresin Gözükmesi Sebebi İKİSİNİDE TEXT1 OLARAK KOYMASI ŞU ŞEKİLDE DEĞİŞTİRİN

Kod:
def AcceptExchange(self):
		import uiCommon
		questionDialog = uiCommon.TicONAY()
		questionDialog.SetText1(localeInfo.YAZI1)
		questionDialog.SetText2(localeInfo.YAZI2)
		questionDialog.SetAcceptEvent(ui.__mem_func__(self.Evet))
		questionDialog.SetCancelEvent(ui.__mem_func__(self.Hayir))
		questionDialog.Open()
		self.questionDialog = questionDialog


	def Evet(self):
		self.questionDialog.Close()
		net.SendExchangeAcceptPacket()
		self.AcceptButton.Disable()


	def Hayir(self):
		self.questionDialog.Close()
 
Son düzenleme:
Gözden kaçmış :D
Sadece Geri Alanamaz Herşeyi Teslim Etmek Üzeresin Gözükmesi Sebebi İKİSİNİDE TEXT1 OLARAK KOYMASI ŞU ŞEKİLDE DEĞİŞTİRİN

Kod:
def AcceptExchange(self):
        import uiCommon
        questionDialog = uiCommon.TicONAY()
        questionDialog.SetText1(localeInfo.YAZI1)
        questionDialog.SetText2(localeInfo.YAZI2)
        questionDialog.SetAcceptEvent(ui.__mem_func__(self.Evet))
        questionDialog.SetCancelEvent(ui.__mem_func__(self.Hayir))
        questionDialog.Open()
        self.questionDialog = questionDialog


    def Evet(self):
        self.questionDialog.Close()
        net.SendExchangeAcceptPacket()
        self.AcceptButton.Disable()


    def Hayir(self):
        self.questionDialog.Close()
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst