Пример #1
0
        private void 查看ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Row Row = FpSpread.ActiveSheet.ActiveRow;

            if (Row != null && Row.Tag is String)
            {
                String[]       Tokens = Row.Tag.ToString().Split(',');
                InvalidProcess note   = new InvalidProcess(Tokens[0], userType);
                note.ShowDialog();
            }
        }
Пример #2
0
        private void 原因分析ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Row Row = spread_invalide.ActiveSheet.ActiveRow;

            if (Row != null && Row.Tag is String)
            {
                String[] Tokens = Row.Tag.ToString().Split(',');
                Int32    t      = 0;
                if (userType.IndexOf("监理") > 0)
                {
                    t = 1;
                }
                InvalidProcess ip = new InvalidProcess(Tokens[0], t);
                ip.ShowDialog();
            }
        }