Beispiel #1
0
 private void xrLabel1_PreviewDoubleClick(object sender, PreviewMouseEventArgs e)
 {
     var myResult = InputDialog.Show("Please enter the modified text:", "Please Enter New Text:", e.Brick.Text);
     if (myResult.Result == System.Windows.Forms.DialogResult.Cancel)
         return;
     //((XRLabel)sender).Tag = i;
     i = 0;
     values.Add(new MC(Convert.ToInt32(e.Brick.Value), myResult.Submission));
     this.CreateDocument();
 }
 void clearLabel_PreviewMouseMove(object sender, PreviewMouseEventArgs e)
 {
     SetHandCursor(e);
 }
        private void lbl_PreviewMouseDown(object sender, PreviewMouseEventArgs e)
        {
            XRLabel clickedCell = sender as XRLabel;

            ClickedItem = (HelpSortItem)sortItems.FirstOrDefault(x => x.HeaderCell == clickedCell);
        }
Beispiel #4
0
 private void xrTable1_PreviewClick(object sender, PreviewMouseEventArgs e)
 {
     //MessageBox.Show("Row Clicked!");
 }
Beispiel #5
0
 private void xrLabel4_PreviewClick(object sender, PreviewMouseEventArgs e)
 {
     var stin = e.Brick.Value;
 }
Beispiel #6
0
 void projectNameCell_PreviewClick(object sender, PreviewMouseEventArgs e)
 {
     //var overviewItem = (ProjectOverview)e.Brick.Value;
     //OnNameCellClicked(new DataEventArgs<ProjectOverview>(overviewItem));
 }
        void projectNameCell_PreviewClick(object sender, PreviewMouseEventArgs e)
        {
            var overviewItem = (OpportunityOverview)e.Brick.Value;

            OnNameCellClicked(new EventArgs <OpportunityOverview>(overviewItem));
        }
Beispiel #8
0
 private void xrTableCell6_PreviewClick(object sender, PreviewMouseEventArgs e)
 {
     //baocaotonkho bctk = new baocaotonkho();
     //bctk.loadbctkthdtndnbcnhangtieudung(ngay);
 }
Beispiel #9
0
        private void xrTableCell21_PreviewClick(object sender, PreviewMouseEventArgs e)
        {
            search search = new search();

            search.searchform(e.Brick.Text, thang, nam, userid);
        }
Beispiel #10
0
 private void xrPictureBox1_PreviewClick(object sender, PreviewMouseEventArgs e)
 {
 }
Beispiel #11
0
 private void xrTableCell15_PreviewDoubleClick(object sender, PreviewMouseEventArgs e)
 {
 }
Beispiel #12
0
 private void quantity_PreviewClick(object sender, PreviewMouseEventArgs e)
 {
     Cobros.FormBuscarCreditoPorCliente modal = new Cobros.FormBuscarCreditoPorCliente();
     modal.texto_inciail = e.Brick.Text;
     modal.ShowDialog();
 }
Beispiel #13
0
 void xrLabel10_PreviewClick(object sender, PreviewMouseEventArgs e)
 {
 }
Beispiel #14
0
 protected override void OnPreviewClick(PreviewMouseEventArgs e)
 {
     base.OnPreviewClick(e);
 }
 void clearLabel_PreviewMouseDown(object sender, PreviewMouseEventArgs e)
 {
     ClearAll(null);
 }
        private void xrLabel1_PreviewClick(object sender, PreviewMouseEventArgs e)
        {
            DataRowView dataRow = e.Brick.Value as DataRowView;

            MessageBox.Show(dataRow.Row["ShipCountry"].ToString() + ": " + e.Brick.Text);
        }
 private static void SetHandCursor(PreviewMouseEventArgs e)
 {
     e.PreviewControl.Cursor = Cursors.Hand;
 }
Beispiel #18
0
 private void detailTable_PreviewClick(object sender, PreviewMouseEventArgs e)
 {
     //DataRowView dataRow = e.Brick.Value as DataRowView;
     MessageBox.Show(GetCurrentColumnValue("numero_cutoa").ToString());
 }
Beispiel #19
0
 private void xrLabel1_PreviewMouseMove(object sender, PreviewMouseEventArgs e)
 {
     Cursor.Current = Cursors.Hand;
 }
 private void xrLabel2_PreviewDoubleClick(object sender, PreviewMouseEventArgs e)
 {
     MessageBox.Show(e.Brick.Text);
 }
 private void xrTableCell2_PreviewMouseMove(object sender, PreviewMouseEventArgs e)
 {
     e.PreviewControl.Cursor = Cursors.Hand;
 }
Beispiel #22
0
        private void xrTableCell25_PreviewClick(object sender, PreviewMouseEventArgs e)
        {
            baocaocongno131 bccn = new baocaocongno131();

            bccn.loadbccnvotndnphatsinh(tungay1, denngay1, "tsbtbccnvkhthphieu", kho1, e.Brick.Text);
        }
Beispiel #23
0
        private void SampleCalendar_PreviewMouseUp(object sender, PreviewMouseEventArgs e)
        {
            if (e.Button != MouseButtons.Right)
                return;

            Point clientPoint = new Point(e.X, e.Y);
            CalendarHitTestResult hitTestResult = SampleCalendar.HitTest(clientPoint);

            if (hitTestResult == null)
                return;

            HitTestInfoButton.Text = "Item Type: " + hitTestResult.ItemType +
                ((hitTestResult.ItemType == CalendarHitTestItemType.DayOfWeek) ? "; Day of week: " + hitTestResult.DayOfWeek :
                "; Date: " + hitTestResult.Date.ToShortDateString());

            Ui.ContextMenu.ShowContextMenu(CalendarHitTestContextMenu,
                SampleCalendar.PointToScreen(clientPoint));
        }
Beispiel #24
0
 void LocalXtraReport_PreviewClick(object sender, PreviewMouseEventArgs e)
 {
     this.PrintingSystem.ShowMarginsWarning = false;
     Fill();
 }