Esempio n. 1
0
 private void FrmAwal_LocationChanged(object sender, EventArgs e)
 {
     Pengaturan.Tulis("WinLocX", Location.X.ToString());
     Pengaturan.Tulis("WinLocY", Location.Y.ToString());
     Pengaturan.Tulis("WinHeight", Height.ToString());
     Pengaturan.Tulis("WinWidth", Width.ToString());
 }
Esempio n. 2
0
 private void LoadBot()
 {
     if (!string.IsNullOrEmpty(CmbBots.Text))
     {
         TbxToken.Text      = SBots.GetBots(CmbBots.Text.Trim())[0].Token;
         TbxUri.Text        = SBots.GetBots(CmbBots.Text.Trim())[0].UriClean;
         TbxUriDefault.Text = SBots.GetBots(CmbBots.Text.Trim())[0].UriCurrent;
         Pengaturan.Tulis("BotTerpilih", CmbBots.SelectedIndex.ToString());
     }
 }
Esempio n. 3
0
 private void tutupKeTrayToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Pengaturan.Tulis("TutupKeTray", tutupKeTrayToolStripMenuItem.Checked.ToString());
 }
Esempio n. 4
0
 private void SetURIHookSetBersihkanToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Pengaturan.Tulis("SetURIHookSetBersih", SetURIHookSetBersihkanToolStripMenuItem.Checked.ToString());
 }
Esempio n. 5
0
 private void periksaStatusOtomatisToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Pengaturan.Tulis("AutoCekWebhook", periksaStatusOtomatisToolStripMenuItem.Checked.ToString());
 }
Esempio n. 6
0
 private void bersihkanPendingCountOtomatisToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Pengaturan.Tulis("AutoCleanPendingUpdate", bersihkanPendingCountOtomatisToolStripMenuItem.Checked.ToString());
 }