Advertisement
Guest User

Untitled

a guest
Sep 13th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.90 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9.  
  10. @@namespace Auto_Alch
  11. {
  12.     public partial class AlchProgress : Form
  13.     {
  14.  
  15.         public static AlchProgress _dlg = new AlchProgress();
  16.        
  17.         public AlchProgress()
  18.         {
  19.             InitializeComponent();
  20.            
  21.         }
  22.  
  23.         public static void ShowProgress(int alchsLeft, int alchsDone)
  24.         {                                    
  25.                 _dlg.txtAlchsLeft.Text = Convert.ToString(alchsLeft);
  26.                 _dlg.txtAlchsDone.Text = Convert.ToString(alchsDone);
  27.                 _dlg.Show();  
  28.         }
  29.  
  30.         public void btnStopAlch_Click(object sender, EventArgs e)
  31.         {
  32.             _dlg.Close();
  33.            
  34.            
  35.            
  36.         }
  37.     }
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement