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

            RefreshBackups();

            ScreenshotList.SelectedIndex = 0;
            FormatList.SelectedIndex     = 0;
        }
Exemplo n.º 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();
 }