예제 #1
0
파일: Form1.cs 프로젝트: eraydura/Fintech
        private void button2_Click(object sender, EventArgs e)
        {
            if (comboBox1.SelectedIndex == 0)
            {
                Netsis netsis = new Netsis(dataGridView1);
                netsis.netsis(dataGridView1);
            }
            if (comboBox1.SelectedIndex == 1)
            {
                UtilityClass uObject       = new UtilityClass();
                var          connection    = uObject.CreateOleDbConnection();
                var          mainDataTable = uObject.ExcelToDataTable(connection);
                var          lucaObject    = uObject.ClassSwitcherRelatedToColumnNumber(mainDataTable, dataGridView1, connection);
                mainDataTable = lucaObject.DataTableForNColumn();
                uObject.SetMainDataTableVariable(mainDataTable);
            }
            if (comboBox1.SelectedIndex == 2)
            {
                LogoAccountingFront logoAccounting = new LogoAccountingFront();
                logoAccounting.logoAccountingFront(dataGridView1);
            }
            if (comboBox1.SelectedIndex == 3)
            {
                LogoGeneral logoGeneral = new LogoGeneral(dataGridView1);
            }
            GC.Collect();

            label3.Text = "Firma Adı : " + variables.FirmaAdi;
        }
예제 #2
0
        private void button8_Click(object sender, EventArgs e)
        {
            if (radioButton4.Checked)
            {
                DataGridView datagrid = new DataGridView();
                Netsis       netsis   = new Netsis(datagrid);
                netsis.netsis(datagrid);
            }
            else
            {
            }
            SorunluFis sorunlufis = new SorunluFis();

            sorunlufis.Show();
        }