mirror of
https://github.com/wmjordan/PDFPatcher.git
synced 2026-10-18 13:42:28 +08:00
f88a458efc
+增加展开折叠选中书签的命令 +增加笔记本键盘加减号增减书签页码的功能
32 lines
597 B
C#
32 lines
597 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
using PDFPatcher.Common;
|
|
|
|
namespace PDFPatcher.Functions
|
|
{
|
|
sealed partial class ZoomRateEntryForm : Form
|
|
{
|
|
internal string ZoomRate => _ZoomRateBox.Text;
|
|
|
|
public ZoomRateEntryForm() {
|
|
InitializeComponent();
|
|
this.OnFirstLoad(OnLoad);
|
|
}
|
|
|
|
void OnLoad() {
|
|
_ZoomRateBox.Select();
|
|
_ZoomRateBox.Focus();
|
|
}
|
|
|
|
void _OkButton_Click(Object source, EventArgs args) {
|
|
DialogResult = DialogResult.OK;
|
|
Close();
|
|
}
|
|
|
|
void _CancelButton_Click(Object source, EventArgs args) {
|
|
DialogResult = DialogResult.Cancel;
|
|
Close();
|
|
}
|
|
}
|
|
}
|