Exemplo n.º 1
0
        private void MoneyKeeperMainForm_Load(object sender, EventArgs e)
        {
            Constants.ScaleForm(this, Constants.SCALE_X, Constants.SCALE_Y);

            MKG = new MoneyKeeperGeneral();
            MKG.Load(Constants.ORDERS_INFO_PATH,
                     Constants.NAMES_INFO_PATH,
                     Constants.CLIENTS_INFO_PATH);
        }
Exemplo n.º 2
0
        public AddNominationForm(MoneyKeeperGeneral MKG, bool AddingMode)
        {
            this.MKG        = MKG;
            this.addingMode = AddingMode;

            InitializeComponent();

            if (!addingMode)
            {
                this.Text        = "Удаление наименования";
                ReadyButton.Text = "Удалить товар";
            }
        }
Exemplo n.º 3
0
        public RemoveActionWindow(MoneyKeeperGeneral MKG, bool IsAction)
        {
            this.MKG      = MKG;
            this.IsAction = IsAction;

            InitializeComponent();

            if (!IsAction)
            {
                IDLabel.Text     = "ID заказа:";
                ReadyButton.Text = "Удалить заказ!";
            }
        }
Exemplo n.º 4
0
        public AddClientForm(MoneyKeeperGeneral MKG, bool AddingMode)
        {
            this.MKG        = MKG;
            this.addingMode = AddingMode;

            InitializeComponent();

            if (!addingMode)
            {
                this.Text        = "Удаление клиента";
                ReadyButton.Text = "Удалить клиента";
            }
        }
Exemplo n.º 5
0
 public ActionViewerForm(MoneyKeeperGeneral MKG)
 {
     this.MKG      = MKG;
     PredicateList = new List <OrderTable.ActionFits>();
     InitializeComponent();
 }
Exemplo n.º 6
0
 public AddActionWindow(MoneyKeeperGeneral MKG)
 {
     this.MKG = MKG;
     InitializeComponent();
 }