예제 #1
0
 void btnSearch_Click(object sender, EventArgs e)
 {
     //GridView view;
     if (gridView1.RowCount == 0)
     {
         using (FrmReceiptDemand forms = new FrmReceiptDemand())
         {
             forms.ShowDialog();
         }
     }
     else
     {
         Common.setMessageBox(" There are some Receipt Transaction to be completed " + " Please Complete them before continue ", Program.ApplicationName, 3);
         return;
     }
 }
예제 #2
0
        public FrmReceiptDemand()
        {
            InitializeComponent();

            ToolStripEvent();

            publicStreetGroup = this;

            setImages();

            setDBComboBox();

            btnSearch.Click += btnSearch_Click;

            btnPrint.Click += btnPrint_Click;
        }