private void metroButton1_Click(object sender, EventArgs e) { log("Open newNotice form..."); newNotice nn = new newNotice(); nn.ShowDialog(); nn.Dispose(); //login(); }
private void reply_Click(object sender, EventArgs e) { newNotice nn = new newNotice(); nn.reply_id = notice_id; nn.reply_to = notice_name; if (attentions != null) { nn.attentions = attentions; } if (!string.IsNullOrEmpty(statusnet_conversation_id)) { nn.statusnet_conversation_id = statusnet_conversation_id; } nn.Text = "Replying to: " + "(" + notice_id + ")"; nn.ShowDialog(); nn.Dispose(); }