Exemplo 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);
            }
        }
Exemplo n.º 2
0
        private void account_equipments_btn_Click(object sender, EventArgs e)
        {
            AccountMainForm accountForm = new AccountMainForm();

            accountForm.ShowDialog();
        }
Exemplo n.º 3
0
        public void MethodGetNoData()
        {
            AccountMainForm accountMainForm = new AccountMainForm();

            accountMainForm.Show();
        }