コード例 #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());
 }
コード例 #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());
     }
 }
コード例 #3
0
 private void tutupKeTrayToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Pengaturan.Tulis("TutupKeTray", tutupKeTrayToolStripMenuItem.Checked.ToString());
 }
コード例 #4
0
 private void SetURIHookSetBersihkanToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Pengaturan.Tulis("SetURIHookSetBersih", SetURIHookSetBersihkanToolStripMenuItem.Checked.ToString());
 }
コード例 #5
0
 private void periksaStatusOtomatisToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Pengaturan.Tulis("AutoCekWebhook", periksaStatusOtomatisToolStripMenuItem.Checked.ToString());
 }
コード例 #6
0
 private void bersihkanPendingCountOtomatisToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Pengaturan.Tulis("AutoCleanPendingUpdate", bersihkanPendingCountOtomatisToolStripMenuItem.Checked.ToString());
 }