void Posted(Status status) { //this.Enabled = true; foreach (Control et in this.Controls) { et.Enabled = true; } this.Cursor = Cursors.Default; if ((status.Code != 201) || (!cbClose.Checked)) { notice = new notify(); notice.showMsg(status); notice.ShowDialog(this); } if ((status.Code == 201) && (cbClose.Checked)) { this.Close(); } //MessageBox.Show(this, Msg, "tumblr Communications - WinTumblr", MessageBoxButtons.OK, MessageBoxIcon.Information); }
void Posted(Status status) { btnValidate.Enabled = true; this.Cursor = Cursors.Default; notice = new notify(); notice.showMsg(status); //notice.showAuthenticate(status.Msg); notice.ShowDialog(this); }