Esempio n. 1
0
        public void MethodGetAllData(  )
        {
            var             lengthMass = getQuantityDirectoryFile.GetQuantityDataFile( ) - 1;
            LogicGetAccount account    = new LogicGetAccount();

            try
            {
                for (int i = 0; i < data.Length; i++)
                {
                    account [i] = (AccountForm <int>)deserializerClass.Deserializ(constantClassData.FileNameBinary);
                }
                deserializerClass.itteration = 0;
                AccountMainForm accountMainForm = new AccountMainForm(account.data, lengthMass);
                accountMainForm.Show( );
            }
            catch (System.Exception ex)
            {
                notificationForm.ShowTextNotification
                    ("Ошибка дессериализации объектов!",
                    ex.ToString( ),
                    Color.Red,
                    Color.Green);
            }
        }
Esempio n. 2
0
        public void MethodGetNoData()
        {
            AccountMainForm accountMainForm = new AccountMainForm();

            accountMainForm.Show();
        }