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()); }
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()); } }
private void tutupKeTrayToolStripMenuItem_Click(object sender, EventArgs e) { Pengaturan.Tulis("TutupKeTray", tutupKeTrayToolStripMenuItem.Checked.ToString()); }
private void SetURIHookSetBersihkanToolStripMenuItem_Click(object sender, EventArgs e) { Pengaturan.Tulis("SetURIHookSetBersih", SetURIHookSetBersihkanToolStripMenuItem.Checked.ToString()); }
private void periksaStatusOtomatisToolStripMenuItem_Click(object sender, EventArgs e) { Pengaturan.Tulis("AutoCekWebhook", periksaStatusOtomatisToolStripMenuItem.Checked.ToString()); }
private void bersihkanPendingCountOtomatisToolStripMenuItem_Click(object sender, EventArgs e) { Pengaturan.Tulis("AutoCleanPendingUpdate", bersihkanPendingCountOtomatisToolStripMenuItem.Checked.ToString()); }