public StatsChartForm(Form CallingForm, List <string> series, List <int> points)
 {
     InventoryForm = CallingForm as InventoryForm;
     SeriesList    = series;
     PointsList    = points;
     InitializeComponent();
 }
        private void CharacterWindowButton_Click(object sender, EventArgs e) // Otwieranie InventoryForm
        {
            Character     Selected      = (Character)CharactersCombo.SelectedItem;
            InventoryForm InventoryForm = new InventoryForm(this, Selected, ItemsList);

            InventoryForm.ShowDialog();
        }
예제 #3
0
 public ItemsForm(Form CallingForm, List <Item> shop)
 {
     Tip                 = new ToolTip();
     InventoryForm       = CallingForm as InventoryForm;
     ItemsList           = shop;
     ListBind            = new BindingSource();
     ListBind.DataSource = ItemsList;
     InitializeComponent();
 }
예제 #4
0
 public ItemDetailsForm(Form CallingForm, Item item)
 {
     InventoryForm = CallingForm as InventoryForm;
     CurrentItem   = item;
     InitializeComponent();
 }