예제 #1
0
 private void RefreshButton_Click(object sender, EventArgs e)
 {
     RefreshBackups();
     ScreenshotList.SelectedIndex = 0;
     ViewerMainForm.ApplyModeDelegate(ScreenshotBox, CaptureBackups[ScreenshotList.SelectedIndex]);
     Refresh();
 }
예제 #2
0
 private void ScreenshotList_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (ScreenshotList.SelectedIndex >= 0)
     {
         ViewerMainForm.ApplyModeDelegate(ScreenshotBox, CaptureBackups[ScreenshotList.SelectedIndex]);
         Refresh();
     }
 }
예제 #3
0
 public ToolboxForm(ViewerMainForm Main)
 {
     InitializeComponent();
     main = Main;
     IncrementNumeric.Increment = 0.1m;
     IncrementNumeric.Minimum   = 0.1m;
     IncrementNumeric.Value     = 1.0m;
 }
예제 #4
0
        public ScreenshotForm(ViewerMainForm main)
        {
            InitializeComponent();
            ViewerMainForm.InitializePictureBox(ScreenshotBox);
            Main = main;

            RefreshBackups();

            ScreenshotList.SelectedIndex = 0;
            FormatList.SelectedIndex     = 0;
        }
예제 #5
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();
 }