Example #1
0
        private void Initialize()
        {
            InventoryManager = new PersonalInventoryManager(Month, Year)
            {
                CurrentFactoryID = CurrentFactoryID,
                CurrentPersonID  = CurrentPersonID
            };
            InventoryManager.Initialize();
            //InventoryManager.GetGGG();
            Parameters         = new WriteOffParameters();
            StoreDG.DataSource = InventoryManager.StoreList;

            SubGroupsDataGrid.DataSource = InventoryManager.SubGroupsList;
            GroupsDataGrid.DataSource    = InventoryManager.GroupsList;
            StoreGridSettings();
            CheckStoreColumns(ref StoreDG);
        }
Example #2
0
 public WriteOffParametersMenu(Form tMainForm, ref WriteOffParameters tParameters)
 {
     MainForm   = tMainForm;
     Parameters = tParameters;
     InitializeComponent();
 }