Пример #1
0
 public AddForm(int multiverseid, Form MainWinIn)
 {
     MainWin = MainWinIn as MainWindow;
     InitializeComponent();
     multiverseID = multiverseid;
     CardInfoBGW.RunWorkerAsync();
 }
Пример #2
0
 public SettingsWin(Form MainWinIn)
 {
     MainWin = MainWinIn as MainWindow;
     InitializeComponent();
     DatabasePath.Text = Properties.Settings.Default.DatabaseLocation;
     MyDBPath.Text = Properties.Settings.Default.OwnedDatabase;
 }
Пример #3
0
 public WantToRemove(string Name, string multiverseID, Form mainwinin)
 {
     InitializeComponent();
     this.TopMost = true;
     MultiverseID = multiverseID;
     MainWin = mainwinin as MainWindow;
     Ask.Text = "Are you sure you want to remove " + Name + " from your list of owned cards?";
 }
Пример #4
0
 public AddToDoubleFrm(string[] DoubleCard, int stdAmount, int foilAmount, Form mainwinin)
 {
     MainWin = mainwinin as MainWindow;
     Card = DoubleCard;
     StdAmount = stdAmount;
     FoilAmount = foilAmount;
     InitializeComponent();
     YouHaveDouble.Text = "You already have the card " + DoubleCard[1] + " from expansion " + DoubleCard[2] + " listed in your owned cards. It currently states you have " + DoubleCard[3] + " standard versions of the card, and " + DoubleCard[4] + " foil versions of the card. \nWould you like to add the entered amount to the amount already listed?";
 }
Пример #5
0
 public EditOwnedCardFrm(string multiverseid, string name, string expansion, string stdAmount, string foilAmount, Form mainwinin)
 {
     MainWin = mainwinin as MainWindow;
     MultiverseID = multiverseid;
     InitializeComponent();
     this.TopMost = true;
     CardName.Text = name;
     CardExpansion.Text = expansion;
     StdAmount.Text = stdAmount;
     FoilAmount.Text = foilAmount;
 }