本文整理匯總了C#中BO.GetBoxes方法的典型用法代碼示例。如果您正苦於以下問題:C# BO.GetBoxes方法的具體用法?C# BO.GetBoxes怎麽用?C# BO.GetBoxes使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類BO
的用法示例。
在下文中一共展示了BO.GetBoxes方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: ResetFormPostUnpack
private void ResetFormPostUnpack(BO.ImageUnpacker unpacker)
{
if (unpacker != null)
{
this.Boxes = unpacker.GetBoxes();
}
else
{
this.Boxes = new List<Rectangle>();
}
this.MainPanel.Refresh();
this.CheckForUnpackFinishTimer.Stop();
this.ImageClipperAndAnimatorTimer.Stop();
this.MainPanel.BackgroundImage = null;
this.OptionsPanel.Enabled = true;
this.ZoomPanel.Visible = this.unpackers.Count == 1;
this.HyperModeUnpackingLabel.Visible = false;
this.HyperModeUnpacking0Label.Visible = false;
this.HyperModeUnpacking1Label.Visible = false;
this.Offset = new Point(0, 0);
this.Text = String.Format(STR_FORM_TITLE, ForkandBeard.Logic.Names.GetApplicationMajorVersion(), "");
this.LoadingImage = false;
if (this.unpackers.Count > 1 || this.unpackers.Count == 0)
{
this.DragAndDropLabel.Visible = true;
this.MainPanel.BackColor = Color.FromArgb(224, 224, 224);
this.SetOverlayText(new List<string>(), new List<string>());
}
else
{
this.SetFullImageOverlayText();
}
this.MainPanel.Refresh();
}