Exemplo n.º 1
0
        /// <summary>
        /// switch on MakeInvoice tab and clear it
        /// </summary>
        private void NewInvoiceToolStripMenuItem_Click(object sender, EventArgs e)
        {
#if DEBSYMB
#else
            MakeInvoicePage inv = AllTabs.TabPages[0] as MakeInvoicePage;
            AllTabs.SelectedIndex = 0;
            AllTabs.SelectedTab   = AllTabs.TabPages[0];
            inv.Button1_Click(sender, e);
#endif
        }
Exemplo n.º 2
0
        private void SearchBox_TextChanged(object sender, EventArgs e)
        {
            switch (searchCondBox.SelectedIndex)
            {
            case 0:
                searchBox.Text = "";
                break;

            case 3:
                MakeInvoicePage.OnlyDecimalCheckerStatic(sender, e);
                break;
            }
        }
Exemplo n.º 3
0
        //tmp button for testing MakeInvoicePage.
        private void Button1_Click(object sender, EventArgs e)
        {
            MakeInvoicePage mkf = new MakeInvoicePage();

            mkf.Show();
        }
Exemplo n.º 4
0
 /// <summary>
 /// check entered value for float format
 /// </summary>
 private void OperationPriceBox_TextChanged(object sender, EventArgs e)
 {
     MakeInvoicePage.OnlyFloatCheckerStatic(sender, e);
 }