Exemple #1
0
        private void ShowAboutBox()
        {
            PopupMessageBox msgBox = new PopupMessageBox();

            msgBox.Cursor        = Cursors.Hand;
            msgBox.BoxType       = "About";
            msgBox.FColor        = Color.White;
            msgBox.BColor        = Color.DeepSkyBlue;
            msgBox.Main_Location = Location;
            msgBox.Show();
            SetRibbonPanel();
        }
Exemple #2
0
        private void SendMessageBox(string txt)
        {
            PopupMessageBox msgBox = new PopupMessageBox();

            //msgBox.UseButtons = "YN";
            msgBox.FColor    = Color.White;
            msgBox.BColor    = Color.Orange;
            msgBox.LabelText = Phrases.GetPhrase("PAGE2");
            if (msgBox.ShowDialog() == DialogResult.Yes)
            {
            }
            else
            {
            }
            msgBox.Dispose();
        }
Exemple #3
0
        private void ExitApplication()
        {
            PopupMessageBox msgBox = new PopupMessageBox();

            msgBox.UseButtons = "YN";
            msgBox.FColor     = Color.White;
            msgBox.BColor     = Color.Orange;
            msgBox.LabelText  = Phrases.GetPhrase("YNQUIT");
            if (msgBox.ShowDialog() == DialogResult.Yes)
            {
                Application.Exit();
            }
            else
            {
                SetRibbonPanel();
            }
            msgBox.Dispose();
        }