private void RunPollBar_Load(object sender, EventArgs e) { var p = PositionsSaver.Get("BAR:" + _optionsName); if (p != Point.Empty) { Location = p; } }
private void RunRoll_Load(object sender, EventArgs e) { var p = PositionsSaver.Get("GIVEAWAY:" + _optionsName); if (p != Point.Empty) { Location = p; } }
private void RunPollBar_FormClosing(object sender, FormClosingEventArgs e) { PositionsSaver.Put("BAR:" + _optionsName, Location); }
private void RunRoll_FormClosing(object sender, FormClosingEventArgs e) { PositionsSaver.Put("GIVEAWAY:" + _optionsName, Location); _drawingTick.Stop(); }