Example #1
0
        private void ToolTypeItemClicked(object sender, ToolItemEventArgs e)
        {
            var item = e.Item;

            if (item == toolNext)
            {
                SendType = DocumentSendType.Next;
            }
            else if (item == toolReturn)
            {
                SendType = DocumentSendType.Return;
            }
            else if (item == toolComplete)
            {
                SendType = DocumentSendType.Complete;
            }
            else if (item == toolForward)
            {
                SendType = DocumentSendType.Forward;
            }
            else if (item == toolRecovery)
            {
                SendType = DocumentSendType.Recovery;
            }
        }
Example #2
0
        private void ToolNextItemClick(object sender, ToolItemEventArgs e)
        {
            var reference = e.Item.Tag as StageReference;

            SelectedStage = reference.ReferenceStage;
            SendType      = DocumentSendType.Next;
            toolType.Text = $"{Locale.Get("DocumentSender", DocumentSendType.Next.ToString())} ({reference.ReferenceStage})";
        }
Example #3
0
        public void Send(Stage stage, DBItem staff, DocumentSendType type)
        {
            groupBox.Items["Users"].Visible = false;
            //tools.Sensitive = false;
            SendType = type;
            var stageNode = InitNode(staff);

            Send();
        }