Пример #1
0
 public static void ShowIt(GameWindow window)
 {
     FormScreenMark form = new FormScreenMark();
     form.Window = window;
     form.btnUpdateScreen_Click(form, null);
     SimpleCallback sc = new SimpleCallback(form.L2Window_ScreenshotUpdate);
     form.Window.ProgressBindings.ScreenshotUpdate += sc;
     form.Window.ProgressBindings.RefreshScreenshot();
     form.updateWhoList();
     form.ShowDialog();
     window.ProgressBindings.ScreenshotUpdate -= sc;
 }
Пример #2
0
        public static void ShowIt(GameWindow window)
        {
            FormScreenMark form = new FormScreenMark();

            form.Window = window;
            form.btnUpdateScreen_Click(form, null);
            SimpleCallback sc = new SimpleCallback(form.L2Window_ScreenshotUpdate);

            form.Window.ProgressBindings.ScreenshotUpdate += sc;
            form.Window.ProgressBindings.RefreshScreenshot();
            form.updateWhoList();
            form.ShowDialog();
            window.ProgressBindings.ScreenshotUpdate -= sc;
        }
Пример #3
0
 private void button2_Click_1(object sender, EventArgs e)
 {
     FormScreenMark.ShowIt(window);
     btnSave.PerformClick();
 }