コード例 #1
0
        //显示操作窗口
        private void SendUrl(String titleText, String showInfo)
        {
            Info_MsgBox msgbox = new Info_MsgBox();

            // msgbox.x = this.Location.X + 100;
            //  msgbox.y = this.Location.Y - 130;
            msgbox.title.Text                  = titleText;
            msgbox.infotext.Text               = showInfo;
            msgbox.pictureBox3.Visible         = false;
            msgbox.infotext.Visible            = false;
            msgbox.pictureBox1.BackColor       = Color.FromArgb(23, 23, 23);
            msgbox.pictureBox2.BackColor       = Color.FromArgb(23, 23, 23);
            msgbox.pictureBox4.BackColor       = Color.FromArgb(23, 23, 23);
            msgbox.title.BackColor             = Color.FromArgb(23, 23, 23);
            msgbox.pictureBox4.Visible         = true;
            msgbox.skinTextBox1.BackColor      = Color.FromArgb(23, 23, 23);
            msgbox.skinTextBox1.Visible        = true;
            msgbox.pictureBox5.BackColor       = Color.FromArgb(23, 23, 23);
            msgbox.pictureBox5.Visible         = true;
            msgbox.skinLabel1.BackColor        = Color.FromArgb(23, 23, 23);
            msgbox.skinLabel1.BorderColor      = Color.FromArgb(23, 23, 23);
            Window_Client.Info_MsgBox.username = username;
            Window_Client.Info_MsgBox.password = password;
            msgbox.skinProgressBar1.BackColor  = Color.FromArgb(23, 23, 23);
            msgbox.skinProgressBar1.TrackBack  = Color.FromArgb(23, 23, 23);
            msgbox.skinProgressBar1.Border     = Color.FromArgb(23, 23, 23);
            msgbox.Disposed += new EventHandler(msgbox_Disposed);
            msgbox.Show();
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: corerman/Youtube-Video-Sync
 private void Info_MessageBox(String titleText,String showInfo)
 {
     Info_MsgBox msgbox = new Info_MsgBox();
     msgbox.x = this.Location.X + 53;
     msgbox.y = this.Location.Y - 130;
     msgbox.title.Text = titleText;
     msgbox.infotext.Text = showInfo;
     msgbox.ShowDialog();
 }
コード例 #3
0
ファイル: Form1.cs プロジェクト: ag2-debug/Youtube-Video-Sync
        private void Info_MessageBox(String titleText, String showInfo)
        {
            Info_MsgBox msgbox = new Info_MsgBox();

            msgbox.x             = this.Location.X + 53;
            msgbox.y             = this.Location.Y - 130;
            msgbox.title.Text    = titleText;
            msgbox.infotext.Text = showInfo;
            msgbox.ShowDialog();
        }
コード例 #4
0
 //显示操作窗口
 private void SendUrl(String titleText, String showInfo)
 {
     Info_MsgBox msgbox = new Info_MsgBox();
        // msgbox.x = this.Location.X + 100;
       //  msgbox.y = this.Location.Y - 130;
     msgbox.title.Text = titleText;
     msgbox.infotext.Text = showInfo;
     msgbox.pictureBox3.Visible = false;
     msgbox.infotext.Visible = false;
     msgbox.pictureBox1.BackColor = Color.FromArgb(23, 23, 23);
     msgbox.pictureBox2.BackColor = Color.FromArgb(23, 23, 23);
     msgbox.pictureBox4.BackColor = Color.FromArgb(23, 23, 23);
     msgbox.title.BackColor = Color.FromArgb(23, 23, 23);
     msgbox.pictureBox4.Visible = true;
     msgbox.skinTextBox1.BackColor = Color.FromArgb(23, 23, 23);
     msgbox.skinTextBox1.Visible = true;
     msgbox.pictureBox5.BackColor = Color.FromArgb(23, 23, 23);
     msgbox.pictureBox5.Visible = true;
     msgbox.skinLabel1.BackColor = Color.FromArgb(23, 23, 23);
     msgbox.skinLabel1.BorderColor = Color.FromArgb(23, 23, 23);
     Window_Client.Info_MsgBox.username = username;
     Window_Client.Info_MsgBox.password = password;
     msgbox.skinProgressBar1.BackColor = Color.FromArgb(23, 23, 23);
     msgbox.skinProgressBar1.TrackBack = Color.FromArgb(23, 23, 23);
     msgbox.skinProgressBar1.Border = Color.FromArgb(23, 23, 23);
     msgbox.Disposed += new EventHandler(msgbox_Disposed);
     msgbox.Show();
 }