private void RefreshButton_Click(object sender, EventArgs e) { RefreshBackups(); ScreenshotList.SelectedIndex = 0; ViewerMainForm.ApplyModeDelegate(ScreenshotBox, CaptureBackups[ScreenshotList.SelectedIndex]); Refresh(); }
private void ScreenshotList_SelectedIndexChanged(object sender, EventArgs e) { if (ScreenshotList.SelectedIndex >= 0) { ViewerMainForm.ApplyModeDelegate(ScreenshotBox, CaptureBackups[ScreenshotList.SelectedIndex]); Refresh(); } }
public ToolboxForm(ViewerMainForm Main) { InitializeComponent(); main = Main; IncrementNumeric.Increment = 0.1m; IncrementNumeric.Minimum = 0.1m; IncrementNumeric.Value = 1.0m; }
public ScreenshotForm(ViewerMainForm main) { InitializeComponent(); ViewerMainForm.InitializePictureBox(ScreenshotBox); Main = main; RefreshBackups(); ScreenshotList.SelectedIndex = 0; FormatList.SelectedIndex = 0; }
private void ViewerButton_Click(object sender, EventArgs e) { if (Viewer != null && Viewer.IsDisposed) { Viewer = null; } if (Viewer == null) { Viewer = new ViewerMainForm(USB) { Owner = this } } ; Viewer.Show(); }